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 : 3188321 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 (4297778) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4297778) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854612 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4297778'] with mtr_portfolio_ids : ['29854612'] and first list_photo_ids : [] new path : /proc/3188321/ Name: python3 Umask: 0002 State: R (running) Tgid: 3188321 Ngid: 0 Pid: 3188321 PPid: 3188320 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3188321 NSpid: 3188321 NSpgid: 3186973 NSsid: 3186973 VmPeak: 1113368 kB VmSize: 1113368 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 106236 kB VmRSS: 106236 kB RssAnon: 66312 kB RssFile: 39924 kB RssShmem: 0 kB VmData: 872096 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 624 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: 41 nonvoluntary_ctxt_switches: 96 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3188321', 'Ngid': '0', 'Pid': '3188321', 'PPid': '3188320', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3188321', 'NSpid': '3188321', 'NSpgid': '3186973', 'NSsid': '3186973', 'VmPeak': '1113368 kB', 'VmSize': '1113368 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '106236 kB', 'VmRSS': '106236 kB', 'RssAnon': '66312 kB', 'RssFile': '39924 kB', 'RssShmem': '0 kB', 'VmData': '872096 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '624 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': '41', 'nonvoluntary_ctxt_switches': '96'} ('datou_batch_current', '3188321', '1113368', '0', '1113368', '872096', '106236', b'', 'marlene', '4297778') 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 (29854612) 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 (4297778 ) ) 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 (29854612) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1401881596, 'portfolio_id': 29854612}, {'photo_id': 1401881572, 'portfolio_id': 29854612}, {'photo_id': 1401881569, 'portfolio_id': 29854612}, {'photo_id': 1401881535, 'portfolio_id': 29854612}, {'photo_id': 1401881533, 'portfolio_id': 29854612}, {'photo_id': 1401881531, 'portfolio_id': 29854612}, {'photo_id': 1401881516, 'portfolio_id': 29854612}, {'photo_id': 1401881488, 'portfolio_id': 29854612}, {'photo_id': 1401881485, 'portfolio_id': 29854612}, {'photo_id': 1401881484, 'portfolio_id': 29854612}, {'photo_id': 1401881483, 'portfolio_id': 29854612}, {'photo_id': 1401881481, 'portfolio_id': 29854612}, {'photo_id': 1401881465, 'portfolio_id': 29854612}, {'photo_id': 1401881463, 'portfolio_id': 29854612}, {'photo_id': 1401881461, 'portfolio_id': 29854612}, {'photo_id': 1401880372, 'portfolio_id': 29854612}, {'photo_id': 1401880370, 'portfolio_id': 29854612}, {'photo_id': 1401880368, 'portfolio_id': 29854612}, {'photo_id': 1401880167, 'portfolio_id': 29854612}, {'photo_id': 1401880163, 'portfolio_id': 29854612}, {'photo_id': 1401880141, 'portfolio_id': 29854612}, {'photo_id': 1401880123, 'portfolio_id': 29854612}, {'photo_id': 1401880106, 'portfolio_id': 29854612}, {'photo_id': 1401879739, 'portfolio_id': 29854612}, {'photo_id': 1401879706, 'portfolio_id': 29854612}, {'photo_id': 1401879533, 'portfolio_id': 29854612}, {'photo_id': 1401879407, 'portfolio_id': 29854612}, {'photo_id': 1401879405, 'portfolio_id': 29854612}, {'photo_id': 1401879403, 'portfolio_id': 29854612}] map_portfolio_id_photo_id: {29854612: [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403]} ##### 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.018923521041870117 #### 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 Thu Jan 1 05:48:59 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29854612) 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 : 29854612 get user id for portfolio 29854612 get sub ptf for main ptf 29854612, type 3726 and hashtags ['mal_croppe', 'Carton_brun', 'environnement', 'Teint_Dans_La_Masse', 'Carton_gris', 'metal', 'flou', 'plastique', 'cartonnette', 'autre_refus', 'kraft', 'papier'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29854612 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Carton_brun','environnement','Teint_Dans_La_Masse','Carton_gris','metal','flou','plastique','cartonnette','autre_refus','kraft','papier')) 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`=29854612 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Carton_brun','environnement','Teint_Dans_La_Masse','Carton_gris','metal','flou','plastique','cartonnette','autre_refus','kraft','papier')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 29854612, 'sub_port_id': 29854638, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419317, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}, 'flou': {'main_port_id': 29854612, 'sub_port_id': 29854639, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419318, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}, 'cartonnette': {'main_port_id': 29854612, 'sub_port_id': 29854640, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419319, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}, 'plastique': {'main_port_id': 29854612, 'sub_port_id': 29854641, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419320, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}, 'Carton_gris': {'main_port_id': 29854612, 'sub_port_id': 29854642, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419321, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}, 'environnement': {'main_port_id': 29854612, 'sub_port_id': 29854643, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419322, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}, 'autre_refus': {'main_port_id': 29854612, 'sub_port_id': 29854644, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419323, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}, 'Carton_brun': {'main_port_id': 29854612, 'sub_port_id': 29854645, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419324, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 29854612, 'sub_port_id': 29854646, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419325, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}, 'metal': {'main_port_id': 29854612, 'sub_port_id': 29854647, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419326, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}, 'mal_croppe': {'main_port_id': 29854612, 'sub_port_id': 29854648, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419327, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}, 'papier': {'main_port_id': 29854612, 'sub_port_id': 29854649, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419328, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854638 , 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=29854612 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 (29854638) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854639 , 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=29854612 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 (29854639) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854640 , 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=29854612 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 (29854640) result : ((1401881448,), (1401881555,), (1401881635,), (1401881636,), (1401881637,), (1401882000,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854641 , 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=29854612 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 (29854641) result : ((1401881452,), (1401881458,), (1401881459,), (1401881561,), (1401881562,), (1401881563,), (1401881564,), (1401881565,), (1401881567,), (1401881568,), (1401881645,), (1401881647,), (1401881649,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854642 , 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=29854612 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 (29854642) result : ((1401880406,), (1401881443,), (1401881444,), (1401881445,), (1401881446,), (1401881447,), (1401881455,), (1401881456,), (1401881457,), (1401881554,), (1401881604,), (1401885521,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854643 , 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=29854612 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 (29854643) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854644 , 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=29854612 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 (29854644) result : ((1401880405,), (1401881553,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854645 , 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=29854612 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 (29854645) result : ((1401880407,), (1401880408,), (1401881063,), (1401881064,), (1401881065,), (1401881066,), (1401881450,), (1401881557,), (1401881558,), (1401881605,), (1401881638,), (1401881639,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854646 , 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=29854612 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 (29854646) result : ((1401880404,), (1401881061,), (1401881062,), (1401881551,), (1401881552,), (1401881633,), (1401881634,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854647 , 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=29854612 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 (29854647) result : ((1401881651,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854648 , 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=29854612 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 (29854648) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29854649 , 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=29854612 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 (29854649) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29854612) result : ((1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29854612 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Carton_brun','environnement','Teint_Dans_La_Masse','Carton_gris','metal','flou','plastique','cartonnette','autre_refus','kraft','papier')) 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`=29854612 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Carton_brun','environnement','Teint_Dans_La_Masse','Carton_gris','metal','flou','plastique','cartonnette','autre_refus','kraft','papier')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 29854612, 'sub_port_id': 29854662, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419341, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}, 'flou': {'main_port_id': 29854612, 'sub_port_id': 29854663, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419342, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}, 'cartonnette': {'main_port_id': 29854612, 'sub_port_id': 29854664, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419343, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}, 'plastique': {'main_port_id': 29854612, 'sub_port_id': 29854665, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419344, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}, 'Carton_gris': {'main_port_id': 29854612, 'sub_port_id': 29854666, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419345, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}, 'environnement': {'main_port_id': 29854612, 'sub_port_id': 29854667, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419346, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}, 'autre_refus': {'main_port_id': 29854612, 'sub_port_id': 29854668, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419347, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}, 'Carton_brun': {'main_port_id': 29854612, 'sub_port_id': 29854669, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419348, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}, 'Teint_Dans_La_Masse': {'main_port_id': 29854612, 'sub_port_id': 29854670, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419349, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}, 'metal': {'main_port_id': 29854612, 'sub_port_id': 29854671, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419350, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}, 'mal_croppe': {'main_port_id': 29854612, 'sub_port_id': 29854672, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419351, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 17, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}, 'papier': {'main_port_id': 29854612, 'sub_port_id': 29854673, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20419352, 'last_updated_at': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 31, 12, 32, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 31, 12, 17, 33)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854662,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854638 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854663,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854639 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854664,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854640 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854665,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854641 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854666,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854642 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854667,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854643 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854668,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854644 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854669,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854645 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854670,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854646 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854671,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854647 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854672,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854648 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29854673,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29854649 lien utilise dans velours : https://marlene.fotonower.com/velours/29854662,29854663,29854664,29854665,29854666,29854667,29854668,29854669,29854670,29854671,29854672,29854673?tags=kraft,flou,cartonnette,plastique,Carton_gris,environnement,autre_refus,Carton_brun,Teint_Dans_La_Masse,metal,mal_croppe,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29854612]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403] map_info['map_portfolio_photo'] : {29854612: [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403]} final : False mtd_id 4302 list_pids : [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403] Looping around the photos to save general results len do output : 1 /29854612. 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, '4297778') ('4302', '29854612', '1401881596', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881572', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881569', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881535', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881533', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881531', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881516', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881488', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881485', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881484', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881483', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881481', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881465', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881463', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881461', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880372', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880370', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880368', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880167', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880163', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880141', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880123', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880106', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879739', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879706', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879533', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879407', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879405', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879403', None, None, None, None, None, '4297778') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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, '29854612', "{'kraft': 29854638, 'flou': 29854639, 'cartonnette': 29854640, 'plastique': 29854641, 'Carton_gris': 29854642, 'environnement': 29854643, 'autre_refus': 29854644, 'Carton_brun': 29854645, 'Teint_Dans_La_Masse': 29854646, 'metal': 29854647, 'mal_croppe': 29854648, 'papier': 29854649}", None, None, None, None, '4297778'), ('4302', '29854612', '1401881596', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881572', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881569', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881535', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881533', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881531', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881516', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881488', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881485', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881484', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881483', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881481', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881465', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881463', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881461', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880372', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880370', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880368', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880167', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880163', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880141', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880123', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880106', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879739', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879706', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879533', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879407', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879405', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879403', None, None, None, None, None, '4297778')] time used for this insertion : 0.019756078720092773 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7847347259521484 time spend to save output : 0.020145416259765625 total time spend for step 1 : 1.804880142211914 step2:final Thu Jan 1 05:49:00 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29854612) 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 29854612 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1401879407,1401879405,1401879403,1401879533,1401879739,1401879706,1401880167,1401880163,1401880141,1401880123,1401880106,1401880372,1401880370,1401880368,1401881465,1401881463,1401881461,1401881488,1401881485,1401881484,1401881483,1401881481,1401881516,1401881535,1401881533,1401881531,1401881572,1401881569,1401881596); 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([29854612]) Inside saveOutput : final : False verbose : True original output for save of step final : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} new output for save of step final : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403] map_info['map_portfolio_photo'] : {29854612: [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403]} final : False mtd_id 4302 list_pids : [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403] Looping around the photos to save general results len do output : 29 /1401881596.Didn't retrieve data . /1401881572.Didn't retrieve data . /1401881569.Didn't retrieve data . /1401881535.Didn't retrieve data . /1401881533.Didn't retrieve data . /1401881531.Didn't retrieve data . /1401881516.Didn't retrieve data . /1401881488.Didn't retrieve data . /1401881485.Didn't retrieve data . /1401881484.Didn't retrieve data . /1401881483.Didn't retrieve data . /1401881481.Didn't retrieve data . /1401881465.Didn't retrieve data . /1401881463.Didn't retrieve data . /1401881461.Didn't retrieve data . /1401880372.Didn't retrieve data . /1401880370.Didn't retrieve data . /1401880368.Didn't retrieve data . /1401880167.Didn't retrieve data . /1401880163.Didn't retrieve data . /1401880141.Didn't retrieve data . /1401880123.Didn't retrieve data . /1401880106.Didn't retrieve data . /1401879739.Didn't retrieve data . /1401879706.Didn't retrieve data . /1401879533.Didn't retrieve data . /1401879407.Didn't retrieve data . /1401879405.Didn't retrieve data . /1401879403.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, '4297778') ('4302', '29854612', '1401881596', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881572', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881569', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881535', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881533', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881531', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881516', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881488', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881485', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881484', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881483', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881481', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881465', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881463', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881461', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880372', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880370', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880368', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880167', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880163', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880141', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880123', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880106', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879739', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879706', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879533', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879407', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879405', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879403', None, None, None, None, None, '4297778') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 87 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', '29854612', '1401881596', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881572', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881569', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881535', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881533', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881531', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881516', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881488', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881485', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881484', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881483', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881481', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881465', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881463', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401881461', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401880372', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401880370', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401880368', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401880167', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401880163', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401880141', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401880123', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401880106', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401879739', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401879706', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401879533', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401879407', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401879405', '0.08612830588174948', None, None, None, None, '4297778'), ('4302', '29854612', '1401879403', '0.08612830588174948', None, None, None, None, '4297778')] time used for this insertion : 0.019985437393188477 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08006596565246582 time spend to save output : 0.021167993545532227 total time spend for step 2 : 0.10123395919799805 step3:velours_tree Thu Jan 1 05:49:00 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29854612: [{'kraft': 29854638, 'flou': 29854639, 'cartonnette': 29854640, 'plastique': 29854641, 'Carton_gris': 29854642, 'environnement': 29854643, 'autre_refus': 29854644, 'Carton_brun': 29854645, 'Teint_Dans_La_Masse': 29854646, 'metal': 29854647, 'mal_croppe': 29854648, 'papier': 29854649}]} input_args_next_step : {29854612: ()} output_args : {29854612: [{'kraft': 29854638, 'flou': 29854639, 'cartonnette': 29854640, 'plastique': 29854641, 'Carton_gris': 29854642, 'environnement': 29854643, 'autre_refus': 29854644, 'Carton_brun': 29854645, 'Teint_Dans_La_Masse': 29854646, 'metal': 29854647, 'mal_croppe': 29854648, 'papier': 29854649}]} args : 29854612 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 : ({'kraft': 29854638, 'flou': 29854639, 'cartonnette': 29854640, 'plastique': 29854641, 'Carton_gris': 29854642, 'environnement': 29854643, 'autre_refus': 29854644, 'Carton_brun': 29854645, 'Teint_Dans_La_Masse': 29854646, 'metal': 29854647, 'mal_croppe': 29854648, 'papier': 29854649},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29854612) 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([29854612]) 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.24528264999389648 time spend to save output : 4.1961669921875e-05 total time spend for step 3 : 0.24532461166381836 step4:send_mail_cod Thu Jan 1 05:49:01 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} input_args_next_step : {1401881596: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881596 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881572 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881569 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881535 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881533 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881531 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881516 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881488 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881485 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881484 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881483 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881481 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881465 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881463 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401881461 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401880372 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401880370 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401880368 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401880167 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401880163 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401880141 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401880123 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401880106 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401879739 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401879706 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401879533 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401879407 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401879405 depend.output_id : 0 input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ()} output_args : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',)} args : 1401879403 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 : {29854612: [{'kraft': 29854638, 'flou': 29854639, 'cartonnette': 29854640, 'plastique': 29854641, 'Carton_gris': 29854642, 'environnement': 29854643, 'autre_refus': 29854644, 'Carton_brun': 29854645, 'Teint_Dans_La_Masse': 29854646, 'metal': 29854647, 'mal_croppe': 29854648, 'papier': 29854649}]} input_args_next_step : {1401881596: ('0.08612830588174948',), 1401881572: ('0.08612830588174948',), 1401881569: ('0.08612830588174948',), 1401881535: ('0.08612830588174948',), 1401881533: ('0.08612830588174948',), 1401881531: ('0.08612830588174948',), 1401881516: ('0.08612830588174948',), 1401881488: ('0.08612830588174948',), 1401881485: ('0.08612830588174948',), 1401881484: ('0.08612830588174948',), 1401881483: ('0.08612830588174948',), 1401881481: ('0.08612830588174948',), 1401881465: ('0.08612830588174948',), 1401881463: ('0.08612830588174948',), 1401881461: ('0.08612830588174948',), 1401880372: ('0.08612830588174948',), 1401880370: ('0.08612830588174948',), 1401880368: ('0.08612830588174948',), 1401880167: ('0.08612830588174948',), 1401880163: ('0.08612830588174948',), 1401880141: ('0.08612830588174948',), 1401880123: ('0.08612830588174948',), 1401880106: ('0.08612830588174948',), 1401879739: ('0.08612830588174948',), 1401879706: ('0.08612830588174948',), 1401879533: ('0.08612830588174948',), 1401879407: ('0.08612830588174948',), 1401879405: ('0.08612830588174948',), 1401879403: ('0.08612830588174948',), 29854612: ()} output_args : {29854612: [{'kraft': 29854638, 'flou': 29854639, 'cartonnette': 29854640, 'plastique': 29854641, 'Carton_gris': 29854642, 'environnement': 29854643, 'autre_refus': 29854644, 'Carton_brun': 29854645, 'Teint_Dans_La_Masse': 29854646, 'metal': 29854647, 'mal_croppe': 29854648, 'papier': 29854649}]} args : 29854612 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 :30, first value : ('0.08612830588174948',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29854612) 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 (1401881596,1401881572,1401881569,1401881535,1401881533,1401881531,1401881516,1401881488,1401881485,1401881484,1401881483,1401881481,1401881465,1401881463,1401881461,1401880372,1401880370,1401880368,1401880167,1401880163,1401880141,1401880123,1401880106,1401879739,1401879706,1401879533,1401879407,1401879405,1401879403) Found this number of photos: 29 ##### Call download_photos : nb_thread : 5 begin to download photo : 1401879403 begin to download photo : 1401880106 begin to download photo : 1401880370 begin to download photo : 1401881483 begin to download photo : 1401881533 download finish for photo 1401881483 begin to download photo : 1401881484 download finish for photo 1401879403 begin to download photo : 1401879405 download finish for photo 1401880106 begin to download photo : 1401880123 download finish for photo 1401881533 begin to download photo : 1401881535 download finish for photo 1401880370 begin to download photo : 1401880372 download finish for photo 1401881484 begin to download photo : 1401881485 download finish for photo 1401881535 begin to download photo : 1401881569 download finish for photo 1401879405 begin to download photo : 1401879407 download finish for photo 1401880123 begin to download photo : 1401880141 download finish for photo 1401880372 begin to download photo : 1401881461 download finish for photo 1401881569 begin to download photo : 1401881572 download finish for photo 1401881485 begin to download photo : 1401881488 download finish for photo 1401880141 begin to download photo : 1401880163 download finish for photo 1401879407 begin to download photo : 1401879533 download finish for photo 1401881461 begin to download photo : 1401881463 download finish for photo 1401881572 begin to download photo : 1401881596 download finish for photo 1401879533 begin to download photo : 1401879706 download finish for photo 1401880163 begin to download photo : 1401880167 download finish for photo 1401881488 begin to download photo : 1401881516 download finish for photo 1401881463 begin to download photo : 1401881465 download finish for photo 1401881596 download finish for photo 1401879706 begin to download photo : 1401879739 download finish for photo 1401880167 begin to download photo : 1401880368 download finish for photo 1401881516 begin to download photo : 1401881531 download finish for photo 1401881465 begin to download photo : 1401881481 download finish for photo 1401880368 download finish for photo 1401881531 download finish for photo 1401881481 download finish for photo 1401879739 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette298546381767242942/ imagette298546391767242942/ length of list_filenames : 29 ; length of list_pids : 29 ; length of list_args : 29 results_Auto_P29854612_01-01-2026_05_49_02.pdf 29854638 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=29854638 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette298546381767242942 29854639 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=29854639 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette298546391767242942 29854640 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=29854640 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401881448: '1767180305_3147745_1401880106_88d0085da70c76dcb48bfa5aa68ae032_rle_crop_4086875548_0.png', 1401881555: '1767180566_3160426_1401881484_00c35453ebbbe9cb191e2fb4d61ff312_rle_crop_4086877291_0.png', 1401881635: '1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879271_0.png', 1401881636: '1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879266_0.png', 1401881637: '1767180746_3169585_1401881531_a593fd78bb7b9a4c2aeca2ae3f1ed1e5_rle_crop_4086879289_0.png', 1401882000: '1767180905_3175634_1401881569_5d514b083aa3b8d62d8aee9c58d4865d_rle_crop_4086879608_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ad0be79b4816bde92e613c9baf76bb5_21104456.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a51d09093a804e79be00927ff293fa5_35575495.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52b0bf39c18109ef265a80ad76509120_78773063.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8eebbe97b0a520966af15c51f504f60_341424.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97d649d005c43addd21da9c5a0800f8f_53438717.png change filename to text .imagette298546401767242942/ imagette298546401767242942/1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879271_0.png.png imagette298546401767242942/1767180746_3169585_1401881531_a593fd78bb7b9a4c2aeca2ae3f1ed1e5_rle_crop_4086879289_0.png.png imagette298546401767242942/1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879266_0.png.png imagette298546401767242942/1767180566_3160426_1401881484_00c35453ebbbe9cb191e2fb4d61ff312_rle_crop_4086877291_0.png.png imagette298546401767242942/1767180305_3147745_1401880106_88d0085da70c76dcb48bfa5aa68ae032_rle_crop_4086875548_0.png.png imagette298546401767242942/1767180905_3175634_1401881569_5d514b083aa3b8d62d8aee9c58d4865d_rle_crop_4086879608_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a297170f4ea1d5e74d912d06f251d04_51611168.png imagette298546401767242942 29854641 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=29854641 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401881452: '1767180305_3147745_1401880141_e2e585014ed3bf939bb7e920a0293b71_rle_crop_4086875526_0.png', 1401881458: '1767180325_3148225_1401880167_bc6f27efad3959d589512f2b6c4103aa_rle_crop_4086875839_0.png', 1401881459: '1767180325_3148225_1401880167_bc6f27efad3959d589512f2b6c4103aa_rle_crop_4086875831_0.png', 1401881561: '1767180566_3160426_1401881516_dbf8c93a9f11e93761f481f3a37857ae_rle_crop_4086877284_0.png', 1401881562: '1767180566_3160426_1401881516_dbf8c93a9f11e93761f481f3a37857ae_rle_crop_4086877282_0.png', 1401881563: '1767180566_3160426_1401881484_00c35453ebbbe9cb191e2fb4d61ff312_rle_crop_4086877295_0.png', 1401881564: '1767180566_3160426_1401881483_9c7a02a541e109103bcfffcd0323e6ef_rle_crop_4086877300_0.png', 1401881565: '1767180566_3160426_1401881483_9c7a02a541e109103bcfffcd0323e6ef_rle_crop_4086877306_0.png', 1401881567: '1767180566_3160426_1401881481_339a4874539bccc1573f165d992fb702_rle_crop_4086877321_0.png', 1401881568: '1767180566_3160426_1401881481_339a4874539bccc1573f165d992fb702_rle_crop_4086877322_0.png', 1401881645: '1767180746_3169585_1401881572_559954723ae5b8a9e96f8df16fa2b2c4_rle_crop_4086879253_0.png', 1401881647: '1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879272_0.png', 1401881649: '1767180746_3169585_1401881531_a593fd78bb7b9a4c2aeca2ae3f1ed1e5_rle_crop_4086879287_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b72b3d78671be81c42963066a4c6e56b_81621382.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17c99df0b78e4f3f3962749754493f71_96993765.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f678ed5cc6d1704bbac3d78aba79d07_13592239.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0fec17642608b25676203a83c3ffce4_56386558.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e6d2cf604c6df31127a6b61f3531bed_41251179.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1cf4fb48482461014d2ab2a1fdf7bf5_9857416.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ccc52de080ee88277ac17b17862b2c02_58468048.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a37ca73f58a33e125999b72d527ec3f5_52097146.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f55dbf69833b9085a61fafd03f23031a_76420483.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c8d909cfe388cad4572bc3a21766d3a_3817153.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ebd983bc425aad867b0b33a12068d32_86918272.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75685f68a9892ad086cbeafa6855f00c_43528569.png change filename to text .imagette298546411767242943/ imagette298546411767242943/1767180566_3160426_1401881516_dbf8c93a9f11e93761f481f3a37857ae_rle_crop_4086877284_0.png.png imagette298546411767242943/1767180305_3147745_1401880141_e2e585014ed3bf939bb7e920a0293b71_rle_crop_4086875526_0.png.png imagette298546411767242943/1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879272_0.png.png imagette298546411767242943/1767180325_3148225_1401880167_bc6f27efad3959d589512f2b6c4103aa_rle_crop_4086875831_0.png.png imagette298546411767242943/1767180566_3160426_1401881481_339a4874539bccc1573f165d992fb702_rle_crop_4086877322_0.png.png imagette298546411767242943/1767180746_3169585_1401881531_a593fd78bb7b9a4c2aeca2ae3f1ed1e5_rle_crop_4086879287_0.png.png imagette298546411767242943/1767180566_3160426_1401881481_339a4874539bccc1573f165d992fb702_rle_crop_4086877321_0.png.png imagette298546411767242943/1767180746_3169585_1401881572_559954723ae5b8a9e96f8df16fa2b2c4_rle_crop_4086879253_0.png.png imagette298546411767242943/1767180325_3148225_1401880167_bc6f27efad3959d589512f2b6c4103aa_rle_crop_4086875839_0.png.png imagette298546411767242943/1767180566_3160426_1401881484_00c35453ebbbe9cb191e2fb4d61ff312_rle_crop_4086877295_0.png.png imagette298546411767242943/1767180566_3160426_1401881516_dbf8c93a9f11e93761f481f3a37857ae_rle_crop_4086877282_0.png.png imagette298546411767242943/1767180566_3160426_1401881483_9c7a02a541e109103bcfffcd0323e6ef_rle_crop_4086877306_0.png.png imagette298546411767242943/1767180566_3160426_1401881483_9c7a02a541e109103bcfffcd0323e6ef_rle_crop_4086877300_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d00aa5d6cea5db75a7ccffe367118d26_27135340.png imagette298546411767242943 29854644 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=29854644 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401880405: '1767180066_3134477_1401879407_b7108feae3a5491c82f710f27c43fe57_rle_crop_4086875138_0.png', 1401881553: '1767180566_3160426_1401881483_9c7a02a541e109103bcfffcd0323e6ef_rle_crop_4086877305_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d02081e3f6bde5ef4283cc8b38105f4b_5137035.png change filename to text .imagette298546441767242944/ imagette298546441767242944/1767180066_3134477_1401879407_b7108feae3a5491c82f710f27c43fe57_rle_crop_4086875138_0.png.png imagette298546441767242944/1767180566_3160426_1401881483_9c7a02a541e109103bcfffcd0323e6ef_rle_crop_4086877305_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85e1a5492fc2911a59f45a14d7fc8b5e_32577410.png imagette298546441767242944 29854647 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=29854647 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401881651: '1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879268_0.png'} change filename to text .imagette298546471767242944/ imagette298546471767242944/1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879268_0.png.png imagette298546481767242944/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44957f1703caf7af79f52867122c1a98_52589202.png imagette298546471767242944 29854648 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=29854648 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette298546481767242944 29854642 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=29854642 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401880406: '1767180066_3134477_1401879407_b7108feae3a5491c82f710f27c43fe57_rle_crop_4086875139_0.png', 1401881443: '1767180305_3147745_1401880163_8ea0c3b9749b551258bcb490f8a3b964_rle_crop_4086875510_0.png', 1401881444: '1767180305_3147745_1401880141_e2e585014ed3bf939bb7e920a0293b71_rle_crop_4086875524_0.png', 1401881445: '1767180305_3147745_1401880123_2e645fbaa88b1ba88439ef288feca298_rle_crop_4086875532_0.png', 1401881446: '1767180305_3147745_1401880123_2e645fbaa88b1ba88439ef288feca298_rle_crop_4086875535_0.png', 1401881447: '1767180305_3147745_1401880123_2e645fbaa88b1ba88439ef288feca298_rle_crop_4086875534_0.png', 1401881455: '1767180325_3148225_1401880167_bc6f27efad3959d589512f2b6c4103aa_rle_crop_4086875837_0.png', 1401881456: '1767180325_3148225_1401879706_5ed31d74feab5adf5b8559891fa8a126_rle_crop_4086875858_0.png', 1401881457: '1767180325_3148225_1401879706_5ed31d74feab5adf5b8559891fa8a126_rle_crop_4086875855_0.png', 1401881554: '1767180566_3160426_1401881516_dbf8c93a9f11e93761f481f3a37857ae_rle_crop_4086877276_0.png', 1401881604: '1767180666_3165783_1401881465_195c9e589f94a45660002131569279f4_rle_crop_4086877697_0.png', 1401885521: '1767182467_3231245_1401881488_8279efdadd9fcd17b0e17fd7b2d319b6_rle_crop_4086916151_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31a7adb345e4cd59659dc1d3b2fb187a_31965878.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ee3c4af1bf1681b816e92d6f190d8ae_69835392.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c6d7c869d19237c2f185a3058c23588_27340031.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7d9fa3df9fbec550a9991095e7c01e0_86605808.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd6890a0a6029f698b24b55b022a43b1_28887526.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86236dfd9ab105da35d59233d44afff1_24255200.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c623f672dfa7ea454d85d3a91910a6e7_69779457.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/131ca841e985c664443f14eb78c3ce58_33733001.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c9fd284246eb10adcbf3b953c100ea3_46613258.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2f62f9e49e2357982e3ff3fe4f93137_63235156.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/135bfb57da0b6384697d72484376370c_57000691.png change filename to text .imagette298546421767242944/ imagette298546421767242944/1767180325_3148225_1401879706_5ed31d74feab5adf5b8559891fa8a126_rle_crop_4086875858_0.png.png imagette298546421767242944/1767180566_3160426_1401881516_dbf8c93a9f11e93761f481f3a37857ae_rle_crop_4086877276_0.png.png imagette298546421767242944/1767180305_3147745_1401880123_2e645fbaa88b1ba88439ef288feca298_rle_crop_4086875532_0.png.png imagette298546421767242944/1767182467_3231245_1401881488_8279efdadd9fcd17b0e17fd7b2d319b6_rle_crop_4086916151_0.png.png imagette298546421767242944/1767180305_3147745_1401880141_e2e585014ed3bf939bb7e920a0293b71_rle_crop_4086875524_0.png.png imagette298546421767242944/1767180305_3147745_1401880123_2e645fbaa88b1ba88439ef288feca298_rle_crop_4086875534_0.png.png imagette298546421767242944/1767180666_3165783_1401881465_195c9e589f94a45660002131569279f4_rle_crop_4086877697_0.png.png imagette298546421767242944/1767180325_3148225_1401879706_5ed31d74feab5adf5b8559891fa8a126_rle_crop_4086875855_0.png.png imagette298546421767242944/1767180325_3148225_1401880167_bc6f27efad3959d589512f2b6c4103aa_rle_crop_4086875837_0.png.png imagette298546421767242944/1767180305_3147745_1401880123_2e645fbaa88b1ba88439ef288feca298_rle_crop_4086875535_0.png.png imagette298546421767242944/1767180305_3147745_1401880163_8ea0c3b9749b551258bcb490f8a3b964_rle_crop_4086875510_0.png.png imagette298546421767242944/1767180066_3134477_1401879407_b7108feae3a5491c82f710f27c43fe57_rle_crop_4086875139_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2024173970eba04b83b7da7f39754a0_86823867.png imagette298546421767242944 29854645 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=29854645 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401880407: '1767180066_3134477_1401879403_77b89a2a2e4efe1976520cfe68ac88a2_rle_crop_4086875164_0.png', 1401880408: '1767180066_3134477_1401879403_77b89a2a2e4efe1976520cfe68ac88a2_rle_crop_4086875160_0.png', 1401881063: '1767180187_3142223_1401880370_a8d6e81b0ecd658b7fe900dd7cfc1ac1_rle_crop_4086875324_0.png', 1401881064: '1767180187_3142223_1401880370_a8d6e81b0ecd658b7fe900dd7cfc1ac1_rle_crop_4086875326_0.png', 1401881065: '1767180187_3142223_1401880368_9849cc8297a1bb1ccaa877e1469b2011_rle_crop_4086875342_0.png', 1401881066: '1767180187_3142223_1401880368_9849cc8297a1bb1ccaa877e1469b2011_rle_crop_4086875344_0.png', 1401881450: '1767180305_3147745_1401880106_88d0085da70c76dcb48bfa5aa68ae032_rle_crop_4086875546_0.png', 1401881557: '1767180566_3160426_1401881516_dbf8c93a9f11e93761f481f3a37857ae_rle_crop_4086877281_0.png', 1401881558: '1767180566_3160426_1401881483_9c7a02a541e109103bcfffcd0323e6ef_rle_crop_4086877304_0.png', 1401881605: '1767180666_3165783_1401881465_195c9e589f94a45660002131569279f4_rle_crop_4086877702_0.png', 1401881638: '1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879267_0.png', 1401881639: '1767180746_3169585_1401881531_a593fd78bb7b9a4c2aeca2ae3f1ed1e5_rle_crop_4086879290_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/960143d06bc904b9cbf42a37bfbfc73a_70364498.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5ff089068d25af34fcdda0193c8191d_23962884.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4a7b30875df07e91fbacebf20f8bdf7_30598051.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f09e79b5263afc5062b9ea222268c3c8_84022860.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90be634f24cc7513caeec0c641545538_4227863.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83fc705500942c2ba00ecdf447448cf6_51087693.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7679804c922715eeb151c2735b1ef0c0_22302766.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e0527e35097b33cf3e4cfbc3256457e_52914625.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/864e76d8036ea2f6ad8406368236e797_54630910.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a75a17e316d632bc4aad6c82dd97d76_9293132.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f4a3b1ae435472c8e7ea87be3a6212a_88415981.png change filename to text .imagette298546451767242945/ imagette298546451767242945/1767180666_3165783_1401881465_195c9e589f94a45660002131569279f4_rle_crop_4086877702_0.png.png imagette298546451767242945/1767180566_3160426_1401881483_9c7a02a541e109103bcfffcd0323e6ef_rle_crop_4086877304_0.png.png imagette298546451767242945/1767180746_3169585_1401881531_a593fd78bb7b9a4c2aeca2ae3f1ed1e5_rle_crop_4086879290_0.png.png imagette298546451767242945/1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879267_0.png.png imagette298546451767242945/1767180187_3142223_1401880368_9849cc8297a1bb1ccaa877e1469b2011_rle_crop_4086875344_0.png.png imagette298546451767242945/1767180066_3134477_1401879403_77b89a2a2e4efe1976520cfe68ac88a2_rle_crop_4086875164_0.png.png imagette298546451767242945/1767180187_3142223_1401880370_a8d6e81b0ecd658b7fe900dd7cfc1ac1_rle_crop_4086875326_0.png.png imagette298546451767242945/1767180187_3142223_1401880368_9849cc8297a1bb1ccaa877e1469b2011_rle_crop_4086875342_0.png.png imagette298546451767242945/1767180187_3142223_1401880370_a8d6e81b0ecd658b7fe900dd7cfc1ac1_rle_crop_4086875324_0.png.png imagette298546451767242945/1767180066_3134477_1401879403_77b89a2a2e4efe1976520cfe68ac88a2_rle_crop_4086875160_0.png.png imagette298546451767242945/1767180305_3147745_1401880106_88d0085da70c76dcb48bfa5aa68ae032_rle_crop_4086875546_0.png.png imagette298546451767242945/1767180566_3160426_1401881516_dbf8c93a9f11e93761f481f3a37857ae_rle_crop_4086877281_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b6423a4dd92693d65148405c1c12d6a_8186219.png imagette298546451767242945 29854646 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=29854646 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401880404: '1767180066_3134477_1401879403_77b89a2a2e4efe1976520cfe68ac88a2_rle_crop_4086875162_0.png', 1401881061: '1767180187_3142223_1401880368_9849cc8297a1bb1ccaa877e1469b2011_rle_crop_4086875339_0.png', 1401881062: '1767180187_3142223_1401880368_9849cc8297a1bb1ccaa877e1469b2011_rle_crop_4086875334_0.png', 1401881551: '1767180566_3160426_1401881516_dbf8c93a9f11e93761f481f3a37857ae_rle_crop_4086877278_0.png', 1401881552: '1767180566_3160426_1401881481_339a4874539bccc1573f165d992fb702_rle_crop_4086877312_0.png', 1401881633: '1767180746_3169585_1401881572_559954723ae5b8a9e96f8df16fa2b2c4_rle_crop_4086879246_0.png', 1401881634: '1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879270_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25debd5dc920b127ddc0bd3f0883f939_58647242.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17e96213b59edf72dbc7d2f470bc4205_40254906.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1643bd4064719163fd881be83733c39e_89185126.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f94a69c34cc18179a309d534db9a789d_98921447.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8402bb14e930af87027facf5eb0c77b_74611928.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7e9e97779bce947c4a8fba78541016c_94960950.png change filename to text .imagette298546461767242947/ imagette298546461767242947/1767180566_3160426_1401881481_339a4874539bccc1573f165d992fb702_rle_crop_4086877312_0.png.png imagette298546461767242947/1767180746_3169585_1401881533_985880f0e91069ad8c814b2320ed8d53_rle_crop_4086879270_0.png.png imagette298546461767242947/1767180187_3142223_1401880368_9849cc8297a1bb1ccaa877e1469b2011_rle_crop_4086875334_0.png.png imagette298546461767242947/1767180746_3169585_1401881572_559954723ae5b8a9e96f8df16fa2b2c4_rle_crop_4086879246_0.png.png imagette298546461767242947/1767180187_3142223_1401880368_9849cc8297a1bb1ccaa877e1469b2011_rle_crop_4086875339_0.png.png imagette298546461767242947/1767180066_3134477_1401879403_77b89a2a2e4efe1976520cfe68ac88a2_rle_crop_4086875162_0.png.png imagette298546461767242947/1767180566_3160426_1401881516_dbf8c93a9f11e93761f481f3a37857ae_rle_crop_4086877278_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1735e753c2296cea445e2d1713b19598_72549703.png imagette298546461767242947 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29854612 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29854662,29854663,29854664,29854665,29854666,29854667,29854668,29854669,29854670,29854671,29854672,29854673?tags=kraft,flou,cartonnette,plastique,Carton_gris,environnement,autre_refus,Carton_brun,Teint_Dans_La_Masse,metal,mal_croppe,papier your option no_mail is active, we will not send the real mail to your client args[1401881596] : ('0.08612830588174948',) no score found for photo 1401881596 We are sending mail with results at report@fotonower.com args[1401881572] : ('0.08612830588174948',) no score found for photo 1401881572 We are sending mail with results at report@fotonower.com args[1401881569] : ('0.08612830588174948',) no score found for photo 1401881569 We are sending mail with results at report@fotonower.com args[1401881535] : ('0.08612830588174948',) no score found for photo 1401881535 We are sending mail with results at report@fotonower.com args[1401881533] : ('0.08612830588174948',) no score found for photo 1401881533 We are sending mail with results at report@fotonower.com args[1401881531] : ('0.08612830588174948',) no score found for photo 1401881531 We are sending mail with results at report@fotonower.com args[1401881516] : ('0.08612830588174948',) no score found for photo 1401881516 We are sending mail with results at report@fotonower.com args[1401881488] : ('0.08612830588174948',) no score found for photo 1401881488 We are sending mail with results at report@fotonower.com args[1401881485] : ('0.08612830588174948',) no score found for photo 1401881485 We are sending mail with results at report@fotonower.com args[1401881484] : ('0.08612830588174948',) no score found for photo 1401881484 We are sending mail with results at report@fotonower.com args[1401881483] : ('0.08612830588174948',) no score found for photo 1401881483 We are sending mail with results at report@fotonower.com args[1401881481] : ('0.08612830588174948',) no score found for photo 1401881481 We are sending mail with results at report@fotonower.com args[1401881465] : ('0.08612830588174948',) no score found for photo 1401881465 We are sending mail with results at report@fotonower.com args[1401881463] : ('0.08612830588174948',) no score found for photo 1401881463 We are sending mail with results at report@fotonower.com args[1401881461] : ('0.08612830588174948',) no score found for photo 1401881461 We are sending mail with results at report@fotonower.com args[1401880372] : ('0.08612830588174948',) no score found for photo 1401880372 We are sending mail with results at report@fotonower.com args[1401880370] : ('0.08612830588174948',) no score found for photo 1401880370 We are sending mail with results at report@fotonower.com args[1401880368] : ('0.08612830588174948',) no score found for photo 1401880368 We are sending mail with results at report@fotonower.com args[1401880167] : ('0.08612830588174948',) no score found for photo 1401880167 We are sending mail with results at report@fotonower.com args[1401880163] : ('0.08612830588174948',) no score found for photo 1401880163 We are sending mail with results at report@fotonower.com args[1401880141] : ('0.08612830588174948',) no score found for photo 1401880141 We are sending mail with results at report@fotonower.com args[1401880123] : ('0.08612830588174948',) no score found for photo 1401880123 We are sending mail with results at report@fotonower.com args[1401880106] : ('0.08612830588174948',) no score found for photo 1401880106 We are sending mail with results at report@fotonower.com args[1401879739] : ('0.08612830588174948',) no score found for photo 1401879739 We are sending mail with results at report@fotonower.com args[1401879706] : ('0.08612830588174948',) no score found for photo 1401879706 We are sending mail with results at report@fotonower.com args[1401879533] : ('0.08612830588174948',) no score found for photo 1401879533 We are sending mail with results at report@fotonower.com args[1401879407] : ('0.08612830588174948',) no score found for photo 1401879407 We are sending mail with results at report@fotonower.com args[1401879405] : ('0.08612830588174948',) no score found for photo 1401879405 We are sending mail with results at report@fotonower.com args[1401879403] : ('0.08612830588174948',) no score found for photo 1401879403 We are sending mail with results at report@fotonower.com refus_total : 0.08612830588174948 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=29854612 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_P29854612_01-01-2026_05_49_02.pdf results_Auto_P29854612_01-01-2026_05_49_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29854612_01-01-2026_05_49_02.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','29854612','results_Auto_P29854612_01-01-2026_05_49_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29854612_01-01-2026_05_49_02.pdf','pdf','','0.37','0.08612830588174948') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29854612]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403] map_info['map_portfolio_photo'] : {29854612: [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403]} final : False mtd_id 4302 list_pids : [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403] 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, '4297778') ('4302', '29854612', '1401881596', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881572', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881569', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881535', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881533', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881531', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881516', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881488', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881485', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881484', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881483', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881481', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881465', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881463', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881461', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880372', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880370', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880368', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880167', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880163', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880141', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880123', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880106', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879739', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879706', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879533', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879407', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879405', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879403', None, None, None, None, None, '4297778') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 29 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', '29854612', '1401881596', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881572', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881569', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881535', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881533', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881531', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881516', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881488', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881485', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881484', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881483', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881481', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881465', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881463', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881461', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880372', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880370', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880368', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880167', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880163', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880141', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880123', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880106', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879739', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879706', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879533', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879407', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879405', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879403', None, None, None, None, None, '4297778')] time used for this insertion : 0.018463134765625 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.563674926757812 time spend to save output : 0.01879715919494629 total time spend for step 4 : 8.582472085952759 step5:split_time_score Thu Jan 1 05:49:09 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['29854612'] 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 : [('29854612',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29854612) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1401881533: {'path': 'temp/1767242941_3188321_1401881533_985880f0e91069ad8c814b2320ed8d53.jpg', 'extension': 'jpg'}, 1401881535: {'path': 'temp/1767242941_3188321_1401881535_a9b45cc86e295cc5370184e3b154c45e.jpg', 'extension': 'jpg'}, 1401881569: {'path': 'temp/1767242941_3188321_1401881569_5d514b083aa3b8d62d8aee9c58d4865d.jpg', 'extension': 'jpg'}, 1401881572: {'path': 'temp/1767242941_3188321_1401881572_559954723ae5b8a9e96f8df16fa2b2c4.jpg', 'extension': 'jpg'}, 1401881596: {'path': 'temp/1767242941_3188321_1401881596_2393c69ef626e68c49ac41ef6fe8502f.jpg', 'extension': 'jpg'}, 1401880106: {'path': 'temp/1767242941_3188321_1401880106_88d0085da70c76dcb48bfa5aa68ae032.jpg', 'extension': 'jpg'}, 1401880123: {'path': 'temp/1767242941_3188321_1401880123_2e645fbaa88b1ba88439ef288feca298.jpg', 'extension': 'jpg'}, 1401880141: {'path': 'temp/1767242941_3188321_1401880141_e2e585014ed3bf939bb7e920a0293b71.jpg', 'extension': 'jpg'}, 1401880163: {'path': 'temp/1767242941_3188321_1401880163_8ea0c3b9749b551258bcb490f8a3b964.jpg', 'extension': 'jpg'}, 1401880167: {'path': 'temp/1767242941_3188321_1401880167_bc6f27efad3959d589512f2b6c4103aa.jpg', 'extension': 'jpg'}, 1401880368: {'path': 'temp/1767242941_3188321_1401880368_9849cc8297a1bb1ccaa877e1469b2011.jpg', 'extension': 'jpg'}, 1401881483: {'path': 'temp/1767242941_3188321_1401881483_9c7a02a541e109103bcfffcd0323e6ef.jpg', 'extension': 'jpg'}, 1401881484: {'path': 'temp/1767242941_3188321_1401881484_00c35453ebbbe9cb191e2fb4d61ff312.jpg', 'extension': 'jpg'}, 1401881485: {'path': 'temp/1767242941_3188321_1401881485_9837b0863ac5dc8ec6d215e5ca000f8f.jpg', 'extension': 'jpg'}, 1401881488: {'path': 'temp/1767242941_3188321_1401881488_8279efdadd9fcd17b0e17fd7b2d319b6.jpg', 'extension': 'jpg'}, 1401881516: {'path': 'temp/1767242941_3188321_1401881516_dbf8c93a9f11e93761f481f3a37857ae.jpg', 'extension': 'jpg'}, 1401881531: {'path': 'temp/1767242941_3188321_1401881531_a593fd78bb7b9a4c2aeca2ae3f1ed1e5.jpg', 'extension': 'jpg'}, 1401880370: {'path': 'temp/1767242941_3188321_1401880370_a8d6e81b0ecd658b7fe900dd7cfc1ac1.jpg', 'extension': 'jpg'}, 1401880372: {'path': 'temp/1767242941_3188321_1401880372_3a65c0ced104f50f4c2c8f1d27a0fd41.jpg', 'extension': 'jpg'}, 1401881461: {'path': 'temp/1767242941_3188321_1401881461_bdf8a457aceaa119293234b10ab5bb1b.jpg', 'extension': 'jpg'}, 1401881463: {'path': 'temp/1767242941_3188321_1401881463_2fe64f171bd494fc338524438a5b457b.jpg', 'extension': 'jpg'}, 1401881465: {'path': 'temp/1767242941_3188321_1401881465_195c9e589f94a45660002131569279f4.jpg', 'extension': 'jpg'}, 1401881481: {'path': 'temp/1767242941_3188321_1401881481_339a4874539bccc1573f165d992fb702.jpg', 'extension': 'jpg'}, 1401879403: {'path': 'temp/1767242941_3188321_1401879403_77b89a2a2e4efe1976520cfe68ac88a2.jpg', 'extension': 'jpg'}, 1401879405: {'path': 'temp/1767242941_3188321_1401879405_11cdb6c4a5d755b96e4f88cd908369ac.jpg', 'extension': 'jpg'}, 1401879407: {'path': 'temp/1767242941_3188321_1401879407_b7108feae3a5491c82f710f27c43fe57.jpg', 'extension': 'jpg'}, 1401879533: {'path': 'temp/1767242941_3188321_1401879533_22cf63a4a70afc31d0edb9a0913fa7e9.jpg', 'extension': 'jpg'}, 1401879706: {'path': 'temp/1767242941_3188321_1401879706_5ed31d74feab5adf5b8559891fa8a126.jpg', 'extension': 'jpg'}, 1401879739: {'path': 'temp/1767242941_3188321_1401879739_7a45c9d3a06ef8688214413c92faa810.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 = 29854612; (('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 = 29854612 group by h (('12', 29),) 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=29854612 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 (29854612) 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 (29854612) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31122025 29854612 Nombre de photos uploadées : 29 / 23040 (0%) 31122025 29854612 Nombre de photos taguées (types de déchets): 0 / 29 (0%) 31122025 29854612 Nombre de photos taguées (volume) : 0 / 29 (0%) [{'photo_id': 1401879407, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7108feae3a5491c82f710f27c43fe57.jpg', 'username': None, 'uploaded_at': 1767179767, 'text': 'image_31122025_12_15_03_010149m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1401879405, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11cdb6c4a5d755b96e4f88cd908369ac.jpg', 'username': None, 'uploaded_at': 1767179767, 'text': 'image_31122025_12_15_13_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1401879403, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77b89a2a2e4efe1976520cfe68ac88a2.jpg', 'username': None, 'uploaded_at': 1767179767, 'text': 'image_31122025_12_15_44_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1401879533, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22cf63a4a70afc31d0edb9a0913fa7e9.jpg', 'username': None, 'uploaded_at': 1767179827, 'text': 'image_31122025_12_15_53_009128m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012850761413574219 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29854612, '2025-12-31' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-12-31' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2816377,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23658251762390137 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= 2816377 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29831337, 'dashboard_result_id': 18925528, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29831337_01-01-2026_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29831343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29831344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29831345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29831346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29831347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29831348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29831349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29831350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29831351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29831352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29831353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29831354, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29832073, 'dashboard_result_id': 18925529, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832073_01-01-2026_05_35_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29832079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29832080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29832081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29832082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29832083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29832084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29832085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29832086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29832087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29832088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29832089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29832090, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29832543, 'dashboard_result_id': 18925530, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832543_01-01-2026_05_35_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29832546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29832547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29832548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29832549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29832550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29832551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29832552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29832553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29832554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29832555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29832556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29832557, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29832896, 'dashboard_result_id': 18925531, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832896_01-01-2026_05_35_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29832903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29832904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29832905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29832906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29832907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29832908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29832909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29832910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29832911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29832912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29832913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29832914, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29833935, 'dashboard_result_id': 18925532, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29833935_01-01-2026_05_36_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29833938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29833939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29833940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29833941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29833942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29833943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29833944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29833945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29833946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29833947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29833948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29833949, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29834250, 'dashboard_result_id': 18925533, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29834250_01-01-2026_05_36_12.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29834256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29834257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29834258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29834259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29834260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29834261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29834262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29834263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29834264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29834265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29834266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29834267, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29834686, 'dashboard_result_id': 18925534, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29834686_01-01-2026_05_36_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29834694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29834695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29834696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29834697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29834698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29834699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29834700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29834701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29834702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29834703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29834704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29834705, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29835254, 'dashboard_result_id': 18925535, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29835254_01-01-2026_05_37_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29835263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29835264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29835265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29835266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29835267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29835268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29835269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29835270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29835271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29835272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29835273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29835274, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29835728, 'dashboard_result_id': 18925536, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29835728_01-01-2026_05_37_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29835737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29835738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29835739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29835740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29835741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29835742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29835743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29835744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29835745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29835746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29835747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29835748, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29836084, 'dashboard_result_id': 18925537, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29836084_01-01-2026_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29836109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29836110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29836111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29836112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29836113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29836114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29836115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29836116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29836117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29836118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29836119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29836120, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29836539, 'dashboard_result_id': 18925538, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29836539_01-01-2026_05_38_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29836570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29836571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29836572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29836573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29836574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29836575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29836576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29836577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29836578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29836579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29836580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29836581, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29837182, 'dashboard_result_id': 18925539, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29837182_01-01-2026_05_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29837190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29837191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29837192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29837193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29837194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29837195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29837196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29837197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29837198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29837199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29837200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29837201, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29837626, 'dashboard_result_id': 18925540, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29837626_01-01-2026_05_39_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29837651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29837652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29837653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29837654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29837655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29837656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29837657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29837658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29837659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29837660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29837661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29837662, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29838181, 'dashboard_result_id': 18925541, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29838181_01-01-2026_05_39_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29838185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29838186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29838187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29838188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29838189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29838190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29838191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29838192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29838193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29838194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29838195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29838196, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29838521, 'dashboard_result_id': 18925542, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29838521_01-01-2026_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29838539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29838540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29838541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29838542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29838543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29838544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29838545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29838546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29838547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29838548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29838549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29838550, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29839390, 'dashboard_result_id': 18925543, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29839390_01-01-2026_05_40_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29839397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29839398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29839399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29839400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29839401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29839402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29839403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29839404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29839405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29839406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29839407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29839408, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29839712, 'dashboard_result_id': 18925544, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29839712_01-01-2026_05_40_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29839719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29839720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29839721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29839722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29839723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29839724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29839725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29839726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29839727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29839728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29839729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29839730, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29840063, 'dashboard_result_id': 18925545, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840063_01-01-2026_05_40_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29840067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29840068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29840069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29840070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29840071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29840072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29840073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29840074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29840075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29840076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29840077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29840078, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29840581, 'dashboard_result_id': 18925546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840581_01-01-2026_05_41_11.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29840583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29840584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29840585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29840586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29840587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29840588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29840589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29840590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29840591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29840592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29840593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29840594, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29840703, 'dashboard_result_id': 18925547, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840703_01-01-2026_05_41_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29840707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29840708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29840709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29840710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29840711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29840712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29840713, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29840714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29840715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29840716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29840717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29840718, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29841224, 'dashboard_result_id': 18925548, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29841224_01-01-2026_05_41_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29841249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29841250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29841251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29841252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29841253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29841254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29841255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29841256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29841257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29841258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29841259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29841260, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29841597, 'dashboard_result_id': 18925549, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29841597_01-01-2026_05_42_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29841606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29841607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29841608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29841609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29841610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29841611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29841612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29841613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29841614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29841615, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29841616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29841617, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29842110, 'dashboard_result_id': 18925550, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29842110_01-01-2026_05_42_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29842119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29842120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29842121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29842122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29842123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29842124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29842125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29842126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29842127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29842128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29842129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29842130, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29842540, 'dashboard_result_id': 18925551, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29842540_01-01-2026_05_43_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29842562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29842563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29842564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29842566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29842567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29842568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29842569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29842570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29842571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29842572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29842573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29842574, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29843226, 'dashboard_result_id': 18925552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29843226_01-01-2026_05_43_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29843253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29843254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29843255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29843256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29843257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29843258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29843259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29843260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29843261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29843262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29843263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29843264, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29844120, 'dashboard_result_id': 18925553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29844120_01-01-2026_05_43_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29844126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29844127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29844128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29844129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29844130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29844131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29844132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29844133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29844134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29844135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29844136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29844137, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29844841, 'dashboard_result_id': 18925554, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29844841_01-01-2026_05_43_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29844848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29844849, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29844850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29844851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29844852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29844853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29844854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29844855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29844856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29844857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29844858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29844859, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29845495, 'dashboard_result_id': 18925555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29845495_01-01-2026_05_44_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29845512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29845513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29845514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29845515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29845516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29845517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29845518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29845519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29845520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29845521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29845522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29845523, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29846179, 'dashboard_result_id': 18925556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29846179_01-01-2026_05_45_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29846222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29846223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29846224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29846225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29846226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29846227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29846228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29846229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29846230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29846231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29846232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29846233, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29846883, 'dashboard_result_id': 18925557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29846883_01-01-2026_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29846917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29846918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29846919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29846920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29846921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29846922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29846923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29846924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29846925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29846926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29846927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29846928, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29847507, 'dashboard_result_id': 18925558, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29847507_01-01-2026_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29847538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29847539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29847540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29847541, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29847542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29847543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29847545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29847546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29847547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29847548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29847549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29847550, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29848971, 'dashboard_result_id': 18925559, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29848971_01-01-2026_05_45_41.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29848984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29848986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29848987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29848988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29848989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29848990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29848991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29848992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29848993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29848994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29848995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29848996, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29849456, 'dashboard_result_id': 18925560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29849456_01-01-2026_05_46_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29849463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29849464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29849465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29849466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29849467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29849468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29849469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29849470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29849471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29849472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29849473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29849474, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29849875, 'dashboard_result_id': 18925561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29849875_01-01-2026_05_46_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29849886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29849887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29849888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29849889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29849890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29849891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29849892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29849893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29849894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29849895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29849896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29849897, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29851401, 'dashboard_result_id': 18925562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29851401_01-01-2026_05_46_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29851406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29851407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29851408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29851409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29851410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29851411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29851412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29851413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29851414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29851415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29851416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29851417, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29851895, 'dashboard_result_id': 18925563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29851895_01-01-2026_05_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29851983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29851984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29851985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29851986, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29851987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29851988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29851989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29851990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29851991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29851992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29851993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29851994, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29852520, 'dashboard_result_id': 18925564, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29852520_01-01-2026_05_47_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29852524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29852525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29852526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29852527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29852528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29852529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29852530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29852531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29852532, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29852533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29852534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29852535, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29853067, 'dashboard_result_id': 18925565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29853067_01-01-2026_05_47_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29853084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29853086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29853087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29853088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29853089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29853090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29853091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29853092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29853093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29853094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29853095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29853096, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29853583, 'dashboard_result_id': 18925566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29853583_01-01-2026_05_48_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29853590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29853591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29853592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29853593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29853594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29853595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29853596, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29853597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29853598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29853599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29853600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29853601, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29854241, 'dashboard_result_id': 18925567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29854241_01-01-2026_05_48_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29854243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29854244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29854245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29854246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29854247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29854248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29854249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29854250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29854251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29854252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29854253, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29854254, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29854612, 'dashboard_result_id': 18925568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29854612_31-12-2025_12_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29854638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29854639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29854640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29854641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29854642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29854643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29854644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29854645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29854646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29854647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29854648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29854649, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29855154, 'dashboard_result_id': 18925569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29855154_31-12-2025_13_13_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29855179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29855180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29855181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29855182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29855183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29855184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29855185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29855186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29855187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29855188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29855189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29855190, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29855814, 'dashboard_result_id': 18925570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29855814_31-12-2025_13_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29855817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29855818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29855819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29855820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29855821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29855822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29855823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29855824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29855825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29855826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29855827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29855828, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29856251, 'dashboard_result_id': 18925571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29856251_31-12-2025_13_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29856300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29856301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29856302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29856303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29856304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29856305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29856306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29856307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29856308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29856309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29856310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29856311, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29856681, 'dashboard_result_id': 18925572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29856681_31-12-2025_14_02_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29856685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29856686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29856687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29856688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29856689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29856690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29856691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29856692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29856693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29856694, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29856695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29856696, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29857121, 'dashboard_result_id': 18925573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29857121_31-12-2025_14_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29857153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29857154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29857155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29857156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29857157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29857158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29857159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29857160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29857161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29857162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29857163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29857164, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29857767, 'dashboard_result_id': 18925574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29857767_31-12-2025_14_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29857791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29857792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29857793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29857794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29857795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29857796, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29857797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29857798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29857799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29857800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29857801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29857802, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29858167, 'dashboard_result_id': 18925575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29858167_31-12-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29858206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29858207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29858208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29858209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29858210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29858211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29858212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29858213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29858214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29858215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29858216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29858218, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29858583, 'dashboard_result_id': 18925576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29858583_31-12-2025_15_05_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29858592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29858593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29858594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29858595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29858596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29858597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29858598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29858599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29858600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29858601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29858602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29858603, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29859086, 'dashboard_result_id': 18925577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29859086_31-12-2025_15_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29859090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29859091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29859092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29859093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29859094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29859095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29859096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29859097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29859098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29859099, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29859100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29859101, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29859629, 'dashboard_result_id': 18925578, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29859629_31-12-2025_15_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29859655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29859656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29859657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29859658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29859659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29859660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29859661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29859662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29859663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29859664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29859665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29859666, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29860095, 'dashboard_result_id': 18925579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860095_31-12-2025_15_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29860113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29860114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29860116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29860117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29860118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29860119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29860120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29860121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29860122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29860123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29860124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29860125, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29860622, 'dashboard_result_id': 18925580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860622_31-12-2025_16_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29860630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29860631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29860632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29860633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29860634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29860635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29860636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29860637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29860638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29860639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29860640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29860641, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29860940, 'dashboard_result_id': 18925581, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860940_31-12-2025_16_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29860975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29860976, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29860977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29860978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29860979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29860980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29860981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29860982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29860983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29860984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29860985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29860986, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29861479, 'dashboard_result_id': 18925582, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29861479_31-12-2025_16_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29861505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29861506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29861507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29861508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29861509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29861510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29861511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29861512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29861513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29861514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29861515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29861516, 'pht': 3726}}"}, {'dashboat_entry_day': 2816377, 'dashboard_run_id': 2830102, 'mtr_portfolio_id': 29862013, 'dashboard_result_id': 18925583, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29862013_31-12-2025_20_59_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29862056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29862057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29862058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29862059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29862060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29862061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29862062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29862063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29862064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29862065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29862066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29862067, '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 = 29831337 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': 4297738, 'mtr_portfolio_id': 29831337, 'created_at': datetime.datetime(2026, 1, 1, 5, 34, 28), 'result': '0.04679346831741459', 'result_long': None, 'result_double': None}] Qualite : 0.04679346831741459 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29831337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29831337_01-01-2026_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29831337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29831337_01-01-2026_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29831343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29831344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29831345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29831346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29831347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29831348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29831349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29831350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29831351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29831352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29831353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29831354, 'pht': 3726}}" where mtr_portfolio_id = 29831337 and dashboard_run_id = 2830102 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`=29831337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925528, 0.04679346831741459, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29831337_01-01-2026_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29831343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29831344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29831345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29831346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29831347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29831348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29831349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29831350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29831351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29831352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29831353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29831354, '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 = 29832073 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': 4297739, 'mtr_portfolio_id': 29832073, 'created_at': datetime.datetime(2026, 1, 1, 5, 35, 1), 'result': '0.061106564721917105', 'result_long': None, 'result_double': None}] Qualite : 0.061106564721917105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29832073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832073_01-01-2026_05_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29832073 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832073_01-01-2026_05_35_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29832079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29832080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29832081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29832082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29832083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29832084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29832085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29832086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29832087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29832088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29832089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29832090, 'pht': 3726}}" where mtr_portfolio_id = 29832073 and dashboard_run_id = 2830102 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`=29832073 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925529, 0.061106564721917105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832073_01-01-2026_05_35_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29832079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29832080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29832081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29832082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29832083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29832084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29832085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29832086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29832087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29832088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29832089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29832090, '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 = 29832543 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': 4297740, 'mtr_portfolio_id': 29832543, 'created_at': datetime.datetime(2026, 1, 1, 5, 35, 27), 'result': '0.05888474008660328', 'result_long': None, 'result_double': None}] Qualite : 0.05888474008660328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29832543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832543_01-01-2026_05_35_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29832543 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832543_01-01-2026_05_35_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29832546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29832547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29832548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29832549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29832550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29832551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29832552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29832553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29832554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29832555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29832556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29832557, 'pht': 3726}}" where mtr_portfolio_id = 29832543 and dashboard_run_id = 2830102 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`=29832543 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925530, 0.05888474008660328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832543_01-01-2026_05_35_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29832546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29832547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29832548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29832549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29832550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29832551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29832552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29832553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29832554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29832555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29832556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29832557, '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 = 29832896 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': 4297741, 'mtr_portfolio_id': 29832896, 'created_at': datetime.datetime(2026, 1, 1, 5, 35, 30), 'result': '0.07329693927573656', 'result_long': None, 'result_double': None}] Qualite : 0.07329693927573656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29832896 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832896_01-01-2026_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29832896 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832896_01-01-2026_05_35_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29832903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29832904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29832905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29832906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29832907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29832908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29832909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29832910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29832911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29832912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29832913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29832914, 'pht': 3726}}" where mtr_portfolio_id = 29832896 and dashboard_run_id = 2830102 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`=29832896 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925531, 0.07329693927573656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29832896_01-01-2026_05_35_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29832903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29832904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29832905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29832906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29832907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29832908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29832909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29832910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29832911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29832912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29832913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29832914, '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 = 29833935 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': 4297742, 'mtr_portfolio_id': 29833935, 'created_at': datetime.datetime(2026, 1, 1, 5, 35, 58), 'result': '0.059661365543779744', 'result_long': None, 'result_double': None}] Qualite : 0.059661365543779744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29833935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29833935_01-01-2026_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29833935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29833935_01-01-2026_05_36_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29833938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29833939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29833940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29833941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29833942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29833943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29833944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29833945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29833946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29833947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29833948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29833949, 'pht': 3726}}" where mtr_portfolio_id = 29833935 and dashboard_run_id = 2830102 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`=29833935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925532, 0.059661365543779744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29833935_01-01-2026_05_36_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29833938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29833939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29833940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29833941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29833942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29833943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29833944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29833945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29833946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29833947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29833948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29833949, '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 = 29834250 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': 4297743, 'mtr_portfolio_id': 29834250, 'created_at': datetime.datetime(2026, 1, 1, 5, 36, 9), 'result': '0.06313558316031297', 'result_long': None, 'result_double': None}] Qualite : 0.06313558316031297 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29834250 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29834250_01-01-2026_05_36_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29834250 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29834250_01-01-2026_05_36_12.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29834256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29834257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29834258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29834259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29834260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29834261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29834262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29834263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29834264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29834265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29834266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29834267, 'pht': 3726}}" where mtr_portfolio_id = 29834250 and dashboard_run_id = 2830102 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`=29834250 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925533, 0.06313558316031297, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29834250_01-01-2026_05_36_12.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29834256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29834257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29834258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29834259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29834260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29834261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29834262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29834263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29834264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29834265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29834266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29834267, '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 = 29834686 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': 4297744, 'mtr_portfolio_id': 29834686, 'created_at': datetime.datetime(2026, 1, 1, 5, 36, 30), 'result': '0.04637423885004646', 'result_long': None, 'result_double': None}] Qualite : 0.04637423885004646 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29834686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29834686_01-01-2026_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29834686 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29834686_01-01-2026_05_36_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29834694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29834695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29834696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29834697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29834698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29834699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29834700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29834701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29834702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29834703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29834704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29834705, 'pht': 3726}}" where mtr_portfolio_id = 29834686 and dashboard_run_id = 2830102 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`=29834686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925534, 0.04637423885004646, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29834686_01-01-2026_05_36_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29834694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29834695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29834696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29834697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29834698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29834699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29834700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29834701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29834702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29834703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29834704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29834705, '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 = 29835254 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': 4297745, 'mtr_portfolio_id': 29835254, 'created_at': datetime.datetime(2026, 1, 1, 5, 36, 58), 'result': '0.07039767318132652', 'result_long': None, 'result_double': None}] Qualite : 0.07039767318132652 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29835254 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29835254_01-01-2026_05_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29835254 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29835254_01-01-2026_05_37_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29835263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29835264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29835265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29835266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29835267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29835268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29835269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29835270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29835271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29835272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29835273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29835274, 'pht': 3726}}" where mtr_portfolio_id = 29835254 and dashboard_run_id = 2830102 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`=29835254 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925535, 0.07039767318132652, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29835254_01-01-2026_05_37_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29835263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29835264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29835265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29835266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29835267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29835268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29835269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29835270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29835271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29835272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29835273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29835274, '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 = 29835728 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': 4297746, 'mtr_portfolio_id': 29835728, 'created_at': datetime.datetime(2026, 1, 1, 5, 37, 26), 'result': '0.07138635771027449', 'result_long': None, 'result_double': None}] Qualite : 0.07138635771027449 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29835728 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29835728_01-01-2026_05_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29835728 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29835728_01-01-2026_05_37_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29835737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29835738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29835739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29835740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29835741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29835742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29835743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29835744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29835745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29835746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29835747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29835748, 'pht': 3726}}" where mtr_portfolio_id = 29835728 and dashboard_run_id = 2830102 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`=29835728 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925536, 0.07138635771027449, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29835728_01-01-2026_05_37_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29835737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29835738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29835739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29835740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29835741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29835742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29835743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29835744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29835745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29835746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29835747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29835748, '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 = 29836084 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': 4297747, 'mtr_portfolio_id': 29836084, 'created_at': datetime.datetime(2026, 1, 1, 5, 37, 28), 'result': '0.05074529266337655', 'result_long': None, 'result_double': None}] Qualite : 0.05074529266337655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29836084 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29836084_01-01-2026_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29836084 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29836084_01-01-2026_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29836109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29836110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29836111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29836112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29836113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29836114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29836115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29836116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29836117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29836118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29836119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29836120, 'pht': 3726}}" where mtr_portfolio_id = 29836084 and dashboard_run_id = 2830102 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`=29836084 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925537, 0.05074529266337655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29836084_01-01-2026_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29836109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29836110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29836111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29836112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29836113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29836114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29836115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29836116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29836117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29836118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29836119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29836120, '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 = 29836539 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': 4297748, 'mtr_portfolio_id': 29836539, 'created_at': datetime.datetime(2026, 1, 1, 5, 37, 59), 'result': '0.04930114426165745', 'result_long': None, 'result_double': None}] Qualite : 0.04930114426165745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29836539 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29836539_01-01-2026_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29836539 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29836539_01-01-2026_05_38_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29836570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29836571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29836572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29836573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29836574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29836575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29836576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29836577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29836578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29836579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29836580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29836581, 'pht': 3726}}" where mtr_portfolio_id = 29836539 and dashboard_run_id = 2830102 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`=29836539 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925538, 0.04930114426165745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29836539_01-01-2026_05_38_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29836570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29836571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29836572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29836573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29836574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29836575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29836576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29836577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29836578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29836579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29836580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29836581, '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 = 29837182 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': 4297749, 'mtr_portfolio_id': 29837182, 'created_at': datetime.datetime(2026, 1, 1, 5, 38, 29), 'result': '0.051937477125074794', 'result_long': None, 'result_double': None}] Qualite : 0.051937477125074794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29837182 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29837182_01-01-2026_05_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29837182 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29837182_01-01-2026_05_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29837190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29837191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29837192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29837193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29837194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29837195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29837196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29837197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29837198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29837199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29837200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29837201, 'pht': 3726}}" where mtr_portfolio_id = 29837182 and dashboard_run_id = 2830102 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`=29837182 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925539, 0.051937477125074794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29837182_01-01-2026_05_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29837190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29837191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29837192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29837193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29837194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29837195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29837196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29837197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29837198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29837199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29837200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29837201, '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 = 29837626 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': 4297750, 'mtr_portfolio_id': 29837626, 'created_at': datetime.datetime(2026, 1, 1, 5, 39), 'result': '0.0485556309076363', 'result_long': None, 'result_double': None}] Qualite : 0.0485556309076363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29837626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29837626_01-01-2026_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29837626 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29837626_01-01-2026_05_39_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29837651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29837652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29837653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29837654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29837655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29837656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29837657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29837658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29837659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29837660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29837661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29837662, 'pht': 3726}}" where mtr_portfolio_id = 29837626 and dashboard_run_id = 2830102 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`=29837626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925540, 0.0485556309076363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29837626_01-01-2026_05_39_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29837651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29837652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29837653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29837654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29837655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29837656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29837657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29837658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29837659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29837660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29837661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29837662, '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 = 29838181 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': 4297751, 'mtr_portfolio_id': 29838181, 'created_at': datetime.datetime(2026, 1, 1, 5, 39, 31), 'result': '0.04230929562389999', 'result_long': None, 'result_double': None}] Qualite : 0.04230929562389999 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29838181 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29838181_01-01-2026_05_39_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29838181 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29838181_01-01-2026_05_39_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29838185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29838186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29838187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29838188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29838189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29838190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29838191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29838192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29838193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29838194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29838195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29838196, 'pht': 3726}}" where mtr_portfolio_id = 29838181 and dashboard_run_id = 2830102 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`=29838181 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925541, 0.04230929562389999, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29838181_01-01-2026_05_39_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29838185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29838186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29838187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29838188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29838189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29838190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29838191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29838192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29838193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29838194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29838195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29838196, '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 = 29838521 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': 4297752, 'mtr_portfolio_id': 29838521, 'created_at': datetime.datetime(2026, 1, 1, 5, 39, 29), 'result': '0.03361620373569556', 'result_long': None, 'result_double': None}] Qualite : 0.03361620373569556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29838521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29838521_01-01-2026_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29838521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29838521_01-01-2026_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29838539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29838540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29838541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29838542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29838543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29838544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29838545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29838546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29838547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29838548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29838549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29838550, 'pht': 3726}}" where mtr_portfolio_id = 29838521 and dashboard_run_id = 2830102 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`=29838521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925542, 0.03361620373569556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29838521_01-01-2026_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29838539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29838540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29838541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29838542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29838543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29838544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29838545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29838546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29838547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29838548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29838549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29838550, '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 = 29839390 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': 4297753, 'mtr_portfolio_id': 29839390, 'created_at': datetime.datetime(2026, 1, 1, 5, 39, 58), 'result': '0.05101099983516462', 'result_long': None, 'result_double': None}] Qualite : 0.05101099983516462 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29839390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29839390_01-01-2026_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29839390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29839390_01-01-2026_05_40_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29839397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29839398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29839399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29839400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29839401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29839402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29839403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29839404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29839405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29839406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29839407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29839408, 'pht': 3726}}" where mtr_portfolio_id = 29839390 and dashboard_run_id = 2830102 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`=29839390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925543, 0.05101099983516462, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29839390_01-01-2026_05_40_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29839397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29839398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29839399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29839400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29839401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29839402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29839403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29839404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29839405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29839406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29839407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29839408, '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 = 29839712 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': 4297754, 'mtr_portfolio_id': 29839712, 'created_at': datetime.datetime(2026, 1, 1, 5, 40, 29), 'result': '0.057521687047368944', 'result_long': None, 'result_double': None}] Qualite : 0.057521687047368944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29839712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29839712_01-01-2026_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29839712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29839712_01-01-2026_05_40_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29839719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29839720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29839721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29839722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29839723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29839724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29839725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29839726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29839727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29839728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29839729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29839730, 'pht': 3726}}" where mtr_portfolio_id = 29839712 and dashboard_run_id = 2830102 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`=29839712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925544, 0.057521687047368944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29839712_01-01-2026_05_40_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29839719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29839720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29839721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29839722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29839723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29839724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29839725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29839726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29839727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29839728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29839729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29839730, '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 = 29840063 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': 4297755, 'mtr_portfolio_id': 29840063, 'created_at': datetime.datetime(2026, 1, 1, 5, 40, 39), 'result': '0.056751284111252416', 'result_long': None, 'result_double': None}] Qualite : 0.056751284111252416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29840063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840063_01-01-2026_05_40_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29840063 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840063_01-01-2026_05_40_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29840067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29840068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29840069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29840070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29840071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29840072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29840073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29840074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29840075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29840076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29840077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29840078, 'pht': 3726}}" where mtr_portfolio_id = 29840063 and dashboard_run_id = 2830102 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`=29840063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925545, 0.056751284111252416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840063_01-01-2026_05_40_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29840067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29840068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29840069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29840070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29840071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29840072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29840073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29840074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29840075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29840076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29840077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29840078, '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 = 29840581 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': 4297756, 'mtr_portfolio_id': 29840581, 'created_at': datetime.datetime(2026, 1, 1, 5, 41, 7), 'result': '0.05085906137831819', 'result_long': None, 'result_double': None}] Qualite : 0.05085906137831819 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29840581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840581_01-01-2026_05_41_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29840581 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840581_01-01-2026_05_41_11.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29840583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29840584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29840585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29840586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29840587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29840588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29840589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29840590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29840591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29840592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29840593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29840594, 'pht': 3726}}" where mtr_portfolio_id = 29840581 and dashboard_run_id = 2830102 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`=29840581 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925546, 0.05085906137831819, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840581_01-01-2026_05_41_11.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29840583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29840584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29840585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29840586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29840587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29840588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29840589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29840590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29840591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29840592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29840593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29840594, '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 = 29840703 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': 4297757, 'mtr_portfolio_id': 29840703, 'created_at': datetime.datetime(2026, 1, 1, 5, 41, 31), 'result': '0.04836332744782612', 'result_long': None, 'result_double': None}] Qualite : 0.04836332744782612 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29840703 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840703_01-01-2026_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29840703 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840703_01-01-2026_05_41_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29840707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29840708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29840709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29840710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29840711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29840712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29840713, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29840714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29840715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29840716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29840717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29840718, 'pht': 3726}}" where mtr_portfolio_id = 29840703 and dashboard_run_id = 2830102 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`=29840703 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925547, 0.04836332744782612, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29840703_01-01-2026_05_41_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29840707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29840708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29840709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29840710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29840711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29840712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29840713, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29840714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29840715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29840716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29840717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29840718, '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 = 29841224 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': 4297758, 'mtr_portfolio_id': 29841224, 'created_at': datetime.datetime(2026, 1, 1, 5, 41, 30), 'result': '0.053597173383719755', 'result_long': None, 'result_double': None}] Qualite : 0.053597173383719755 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29841224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29841224_01-01-2026_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29841224 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29841224_01-01-2026_05_41_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29841249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29841250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29841251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29841252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29841253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29841254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29841255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29841256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29841257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29841258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29841259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29841260, 'pht': 3726}}" where mtr_portfolio_id = 29841224 and dashboard_run_id = 2830102 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`=29841224 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925548, 0.053597173383719755, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29841224_01-01-2026_05_41_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29841249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29841250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29841251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29841252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29841253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29841254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29841255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29841256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29841257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29841258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29841259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29841260, '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 = 29841597 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': 4297759, 'mtr_portfolio_id': 29841597, 'created_at': datetime.datetime(2026, 1, 1, 5, 42), 'result': '0.04866811790253079', 'result_long': None, 'result_double': None}] Qualite : 0.04866811790253079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29841597 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29841597_01-01-2026_05_42_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29841597 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29841597_01-01-2026_05_42_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29841606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29841607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29841608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29841609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29841610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29841611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29841612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29841613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29841614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29841615, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29841616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29841617, 'pht': 3726}}" where mtr_portfolio_id = 29841597 and dashboard_run_id = 2830102 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`=29841597 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925549, 0.04866811790253079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29841597_01-01-2026_05_42_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29841606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29841607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29841608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29841609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29841610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29841611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29841612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29841613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29841614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29841615, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29841616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29841617, '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 = 29842110 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': 4297760, 'mtr_portfolio_id': 29842110, 'created_at': datetime.datetime(2026, 1, 1, 5, 42, 28), 'result': '0.055592144275251935', 'result_long': None, 'result_double': None}] Qualite : 0.055592144275251935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29842110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29842110_01-01-2026_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29842110 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29842110_01-01-2026_05_42_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29842119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29842120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29842121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29842122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29842123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29842124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29842125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29842126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29842127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29842128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29842129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29842130, 'pht': 3726}}" where mtr_portfolio_id = 29842110 and dashboard_run_id = 2830102 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`=29842110 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925550, 0.055592144275251935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29842110_01-01-2026_05_42_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29842119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29842120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29842121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29842122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29842123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29842124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29842125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29842126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29842127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29842128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29842129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29842130, '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 = 29842540 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': 4297761, 'mtr_portfolio_id': 29842540, 'created_at': datetime.datetime(2026, 1, 1, 5, 42, 59), 'result': '0.0570771222508365', 'result_long': None, 'result_double': None}] Qualite : 0.0570771222508365 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29842540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29842540_01-01-2026_05_43_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29842540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29842540_01-01-2026_05_43_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29842562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29842563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29842564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29842566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29842567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29842568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29842569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29842570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29842571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29842572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29842573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29842574, 'pht': 3726}}" where mtr_portfolio_id = 29842540 and dashboard_run_id = 2830102 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`=29842540 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925551, 0.0570771222508365, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29842540_01-01-2026_05_43_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29842562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29842563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29842564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29842566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29842567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29842568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29842569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29842570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29842571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29842572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29842573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29842574, '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 = 29843226 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': 4297762, 'mtr_portfolio_id': 29843226, 'created_at': datetime.datetime(2026, 1, 1, 5, 43, 29), 'result': '0.050749918160100216', 'result_long': None, 'result_double': None}] Qualite : 0.050749918160100216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29843226 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29843226_01-01-2026_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29843226 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29843226_01-01-2026_05_43_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29843253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29843254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29843255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29843256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29843257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29843258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29843259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29843260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29843261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29843262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29843263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29843264, 'pht': 3726}}" where mtr_portfolio_id = 29843226 and dashboard_run_id = 2830102 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`=29843226 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925552, 0.050749918160100216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29843226_01-01-2026_05_43_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29843253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29843254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29843255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29843256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29843257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29843258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29843259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29843260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29843261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29843262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29843263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29843264, '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 = 29844120 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': 4297763, 'mtr_portfolio_id': 29844120, 'created_at': datetime.datetime(2026, 1, 1, 5, 43, 29), 'result': '0.055264264169258434', 'result_long': None, 'result_double': None}] Qualite : 0.055264264169258434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29844120 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29844120_01-01-2026_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29844120 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29844120_01-01-2026_05_43_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29844126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29844127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29844128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29844129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29844130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29844131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29844132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29844133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29844134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29844135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29844136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29844137, 'pht': 3726}}" where mtr_portfolio_id = 29844120 and dashboard_run_id = 2830102 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`=29844120 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925553, 0.055264264169258434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29844120_01-01-2026_05_43_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29844126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29844127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29844128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29844129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29844130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29844131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29844132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29844133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29844134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29844135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29844136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29844137, '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 = 29844841 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': 4297764, 'mtr_portfolio_id': 29844841, 'created_at': datetime.datetime(2026, 1, 1, 5, 43, 58), 'result': '0.027640450444543437', 'result_long': None, 'result_double': None}] Qualite : 0.027640450444543437 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29844841 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29844841_01-01-2026_05_43_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29844841 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29844841_01-01-2026_05_43_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29844848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29844849, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29844850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29844851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29844852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29844853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29844854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29844855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29844856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29844857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29844858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29844859, 'pht': 3726}}" where mtr_portfolio_id = 29844841 and dashboard_run_id = 2830102 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`=29844841 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925554, 0.027640450444543437, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29844841_01-01-2026_05_43_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29844848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29844849, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29844850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29844851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29844852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29844853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29844854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29844855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29844856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29844857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29844858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29844859, '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 = 29845495 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': 4297765, 'mtr_portfolio_id': 29845495, 'created_at': datetime.datetime(2026, 1, 1, 5, 44, 30), 'result': '0.040131887282834296', 'result_long': None, 'result_double': None}] Qualite : 0.040131887282834296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29845495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29845495_01-01-2026_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29845495 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29845495_01-01-2026_05_44_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29845512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29845513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29845514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29845515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29845516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29845517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29845518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29845519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29845520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29845521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29845522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29845523, 'pht': 3726}}" where mtr_portfolio_id = 29845495 and dashboard_run_id = 2830102 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`=29845495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925555, 0.040131887282834296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29845495_01-01-2026_05_44_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29845512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29845513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29845514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29845515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29845516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29845517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29845518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29845519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29845520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29845521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29845522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29845523, '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 = 29846179 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': 4297766, 'mtr_portfolio_id': 29846179, 'created_at': datetime.datetime(2026, 1, 1, 5, 44, 59), 'result': '0.05433548045703094', 'result_long': None, 'result_double': None}] Qualite : 0.05433548045703094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29846179 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29846179_01-01-2026_05_45_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29846179 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29846179_01-01-2026_05_45_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29846222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29846223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29846224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29846225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29846226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29846227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29846228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29846229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29846230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29846231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29846232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29846233, 'pht': 3726}}" where mtr_portfolio_id = 29846179 and dashboard_run_id = 2830102 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`=29846179 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925556, 0.05433548045703094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29846179_01-01-2026_05_45_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29846222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29846223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29846224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29846225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29846226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29846227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29846228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29846229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29846230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29846231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29846232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29846233, '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 = 29846883 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': 4297767, 'mtr_portfolio_id': 29846883, 'created_at': datetime.datetime(2026, 1, 1, 5, 45, 29), 'result': '0.037932718380001285', 'result_long': None, 'result_double': None}] Qualite : 0.037932718380001285 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29846883 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29846883_01-01-2026_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29846883 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29846883_01-01-2026_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29846917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29846918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29846919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29846920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29846921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29846922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29846923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29846924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29846925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29846926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29846927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29846928, 'pht': 3726}}" where mtr_portfolio_id = 29846883 and dashboard_run_id = 2830102 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`=29846883 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925557, 0.037932718380001285, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29846883_01-01-2026_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29846917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29846918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29846919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29846920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29846921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29846922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29846923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29846924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29846925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29846926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29846927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29846928, '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 = 29847507 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': 4297768, 'mtr_portfolio_id': 29847507, 'created_at': datetime.datetime(2026, 1, 1, 5, 45, 30), 'result': '0.07071300889455516', 'result_long': None, 'result_double': None}] Qualite : 0.07071300889455516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29847507 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29847507_01-01-2026_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29847507 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29847507_01-01-2026_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29847538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29847539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29847540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29847541, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29847542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29847543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29847545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29847546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29847547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29847548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29847549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29847550, 'pht': 3726}}" where mtr_portfolio_id = 29847507 and dashboard_run_id = 2830102 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`=29847507 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925558, 0.07071300889455516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29847507_01-01-2026_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29847538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29847539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29847540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29847541, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29847542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29847543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29847545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29847546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29847547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29847548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29847549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29847550, '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 = 29848971 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': 4297769, 'mtr_portfolio_id': 29848971, 'created_at': datetime.datetime(2026, 1, 1, 5, 45, 38), 'result': '0.044355083530337375', 'result_long': None, 'result_double': None}] Qualite : 0.044355083530337375 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29848971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29848971_01-01-2026_05_45_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29848971 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29848971_01-01-2026_05_45_41.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29848984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29848986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29848987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29848988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29848989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29848990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29848991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29848992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29848993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29848994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29848995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29848996, 'pht': 3726}}" where mtr_portfolio_id = 29848971 and dashboard_run_id = 2830102 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`=29848971 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925559, 0.044355083530337375, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29848971_01-01-2026_05_45_41.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29848984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29848986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29848987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29848988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29848989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29848990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29848991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29848992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29848993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29848994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29848995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29848996, '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 = 29849456 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': 4297770, 'mtr_portfolio_id': 29849456, 'created_at': datetime.datetime(2026, 1, 1, 5, 46, 1), 'result': '0.05200292819233118', 'result_long': None, 'result_double': None}] Qualite : 0.05200292819233118 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29849456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29849456_01-01-2026_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29849456 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29849456_01-01-2026_05_46_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29849463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29849464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29849465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29849466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29849467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29849468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29849469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29849470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29849471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29849472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29849473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29849474, 'pht': 3726}}" where mtr_portfolio_id = 29849456 and dashboard_run_id = 2830102 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`=29849456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925560, 0.05200292819233118, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29849456_01-01-2026_05_46_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29849463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29849464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29849465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29849466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29849467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29849468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29849469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29849470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29849471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29849472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29849473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29849474, '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 = 29849875 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': 4297771, 'mtr_portfolio_id': 29849875, 'created_at': datetime.datetime(2026, 1, 1, 5, 46, 12), 'result': '0.07081074694285419', 'result_long': None, 'result_double': None}] Qualite : 0.07081074694285419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29849875 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29849875_01-01-2026_05_46_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29849875 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29849875_01-01-2026_05_46_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29849886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29849887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29849888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29849889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29849890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29849891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29849892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29849893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29849894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29849895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29849896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29849897, 'pht': 3726}}" where mtr_portfolio_id = 29849875 and dashboard_run_id = 2830102 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`=29849875 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925561, 0.07081074694285419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29849875_01-01-2026_05_46_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29849886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29849887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29849888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29849889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29849890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29849891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29849892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29849893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29849894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29849895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29849896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29849897, '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 = 29851401 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': 4297772, 'mtr_portfolio_id': 29851401, 'created_at': datetime.datetime(2026, 1, 1, 5, 46, 29), 'result': '0.03547913581867403', 'result_long': None, 'result_double': None}] Qualite : 0.03547913581867403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29851401 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29851401_01-01-2026_05_46_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29851401 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29851401_01-01-2026_05_46_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29851406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29851407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29851408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29851409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29851410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29851411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29851412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29851413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29851414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29851415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29851416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29851417, 'pht': 3726}}" where mtr_portfolio_id = 29851401 and dashboard_run_id = 2830102 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`=29851401 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925562, 0.03547913581867403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29851401_01-01-2026_05_46_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29851406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29851407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29851408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29851409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29851410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29851411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29851412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29851413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29851414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29851415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29851416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29851417, '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 = 29851895 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': 4297773, 'mtr_portfolio_id': 29851895, 'created_at': datetime.datetime(2026, 1, 1, 5, 46, 57), 'result': '0.04751205561858836', 'result_long': None, 'result_double': None}] Qualite : 0.04751205561858836 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29851895 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29851895_01-01-2026_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29851895 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29851895_01-01-2026_05_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29851983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29851984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29851985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29851986, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29851987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29851988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29851989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29851990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29851991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29851992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29851993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29851994, 'pht': 3726}}" where mtr_portfolio_id = 29851895 and dashboard_run_id = 2830102 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`=29851895 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925563, 0.04751205561858836, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29851895_01-01-2026_05_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29851983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29851984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29851985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29851986, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29851987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29851988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29851989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29851990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29851991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29851992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29851993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29851994, '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 = 29852520 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': 4297774, 'mtr_portfolio_id': 29852520, 'created_at': datetime.datetime(2026, 1, 1, 5, 47, 27), 'result': '0.07087905516218171', 'result_long': None, 'result_double': None}] Qualite : 0.07087905516218171 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29852520 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29852520_01-01-2026_05_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29852520 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29852520_01-01-2026_05_47_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29852524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29852525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29852526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29852527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29852528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29852529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29852530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29852531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29852532, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29852533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29852534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29852535, 'pht': 3726}}" where mtr_portfolio_id = 29852520 and dashboard_run_id = 2830102 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`=29852520 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925564, 0.07087905516218171, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29852520_01-01-2026_05_47_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29852524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29852525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29852526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29852527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29852528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29852529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29852530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29852531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29852532, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29852533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29852534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29852535, '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 = 29853067 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': 4297775, 'mtr_portfolio_id': 29853067, 'created_at': datetime.datetime(2026, 1, 1, 5, 47, 29), 'result': '0.042827434862959014', 'result_long': None, 'result_double': None}] Qualite : 0.042827434862959014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29853067 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29853067_01-01-2026_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29853067 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29853067_01-01-2026_05_47_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29853084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29853086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29853087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29853088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29853089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29853090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29853091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29853092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29853093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29853094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29853095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29853096, 'pht': 3726}}" where mtr_portfolio_id = 29853067 and dashboard_run_id = 2830102 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`=29853067 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925565, 0.042827434862959014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29853067_01-01-2026_05_47_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29853084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29853086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29853087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29853088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29853089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29853090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29853091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29853092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29853093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29853094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29853095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29853096, '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 = 29853583 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': 4297776, 'mtr_portfolio_id': 29853583, 'created_at': datetime.datetime(2026, 1, 1, 5, 47, 59), 'result': '0.030827772984389674', 'result_long': None, 'result_double': None}] Qualite : 0.030827772984389674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29853583 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29853583_01-01-2026_05_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29853583 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29853583_01-01-2026_05_48_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29853590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29853591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29853592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29853593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29853594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29853595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29853596, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29853597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29853598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29853599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29853600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29853601, 'pht': 3726}}" where mtr_portfolio_id = 29853583 and dashboard_run_id = 2830102 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`=29853583 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925566, 0.030827772984389674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29853583_01-01-2026_05_48_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29853590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29853591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29853592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29853593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29853594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29853595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29853596, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29853597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29853598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29853599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29853600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29853601, '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 = 29854241 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': 4297777, 'mtr_portfolio_id': 29854241, 'created_at': datetime.datetime(2026, 1, 1, 5, 48, 29), 'result': '0.06796142756270669', 'result_long': None, 'result_double': None}] Qualite : 0.06796142756270669 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29854241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29854241_01-01-2026_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29854241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29854241_01-01-2026_05_48_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29854243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29854244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29854245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29854246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29854247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29854248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29854249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29854250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29854251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29854252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29854253, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29854254, 'pht': 3726}}" where mtr_portfolio_id = 29854241 and dashboard_run_id = 2830102 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`=29854241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925567, 0.06796142756270669, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29854241_01-01-2026_05_48_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29854243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29854244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29854245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29854246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29854247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29854248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29854249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29854250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29854251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29854252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29854253, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29854254, '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 = 29854612 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': 4297778, 'mtr_portfolio_id': 29854612, 'created_at': datetime.datetime(2026, 1, 1, 5, 49), 'result': '0.08612830588174948', 'result_long': None, 'result_double': None}] Qualite : 0.08612830588174948 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29854612 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29854612_01-01-2026_05_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29854612 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29854612_01-01-2026_05_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29854638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29854639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29854640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29854641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29854642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29854643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29854644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29854645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29854646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29854647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29854648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29854649, 'pht': 3726}}" where mtr_portfolio_id = 29854612 and dashboard_run_id = 2830102 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`=29854612 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925568, 0.08612830588174948, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29854612_01-01-2026_05_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29854638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29854639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29854640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29854641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29854642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29854643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29854644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29854645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29854646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29854647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29854648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29854649, '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 = 29855154 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': 4295380, 'mtr_portfolio_id': 29855154, 'created_at': datetime.datetime(2025, 12, 31, 13, 12, 59), 'result': '0.06855956912009152', 'result_long': None, 'result_double': None}] Qualite : 0.06855956912009152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29855154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29855154_31-12-2025_13_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29855154 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29855154_31-12-2025_13_13_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29855179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29855180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29855181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29855182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29855183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29855184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29855185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29855186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29855187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29855188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29855189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29855190, 'pht': 3726}}" where mtr_portfolio_id = 29855154 and dashboard_run_id = 2830102 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`=29855154 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925569, 0.06855956912009152, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29855154_31-12-2025_13_13_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29855179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29855180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29855181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29855182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29855183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29855184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29855185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29855186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29855187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29855188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29855189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29855190, '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 = 29855814 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': 4295488, 'mtr_portfolio_id': 29855814, 'created_at': datetime.datetime(2025, 12, 31, 13, 32, 59), 'result': '0.060640196440412464', 'result_long': None, 'result_double': None}] Qualite : 0.060640196440412464 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29855814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29855814_31-12-2025_13_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29855814 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29855814_31-12-2025_13_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29855817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29855818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29855819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29855820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29855821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29855822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29855823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29855824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29855825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29855826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29855827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29855828, 'pht': 3726}}" where mtr_portfolio_id = 29855814 and dashboard_run_id = 2830102 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`=29855814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925570, 0.060640196440412464, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29855814_31-12-2025_13_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29855817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29855818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29855819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29855820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29855821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29855822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29855823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29855824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29855825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29855826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29855827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29855828, '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 = 29856251 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': 4295536, 'mtr_portfolio_id': 29856251, 'created_at': datetime.datetime(2025, 12, 31, 13, 46, 59), 'result': '0.05095781536214268', 'result_long': None, 'result_double': None}] Qualite : 0.05095781536214268 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29856251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29856251_31-12-2025_13_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29856251 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29856251_31-12-2025_13_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29856300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29856301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29856302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29856303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29856304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29856305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29856306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29856307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29856308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29856309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29856310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29856311, 'pht': 3726}}" where mtr_portfolio_id = 29856251 and dashboard_run_id = 2830102 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`=29856251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925571, 0.05095781536214268, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29856251_31-12-2025_13_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29856300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29856301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29856302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29856303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29856304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29856305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29856306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29856307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29856308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29856309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29856310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29856311, '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 = 29856681 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': 4295582, 'mtr_portfolio_id': 29856681, 'created_at': datetime.datetime(2025, 12, 31, 14, 2, 56), 'result': '0.0491244241868886', 'result_long': None, 'result_double': None}] Qualite : 0.0491244241868886 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29856681 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29856681_31-12-2025_14_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29856681 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29856681_31-12-2025_14_02_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29856685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29856686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29856687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29856688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29856689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29856690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29856691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29856692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29856693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29856694, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29856695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29856696, 'pht': 3726}}" where mtr_portfolio_id = 29856681 and dashboard_run_id = 2830102 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`=29856681 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925572, 0.0491244241868886, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29856681_31-12-2025_14_02_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29856685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29856686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29856687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29856688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29856689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29856690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29856691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29856692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29856693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29856694, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29856695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29856696, '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 = 29857121 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': 4295649, 'mtr_portfolio_id': 29857121, 'created_at': datetime.datetime(2025, 12, 31, 14, 19), 'result': '0.03486864900059915', 'result_long': None, 'result_double': None}] Qualite : 0.03486864900059915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29857121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29857121_31-12-2025_14_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29857121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29857121_31-12-2025_14_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29857153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29857154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29857155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29857156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29857157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29857158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29857159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29857160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29857161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29857162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29857163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29857164, 'pht': 3726}}" where mtr_portfolio_id = 29857121 and dashboard_run_id = 2830102 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`=29857121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925573, 0.03486864900059915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29857121_31-12-2025_14_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29857153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29857154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29857155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29857156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29857157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29857158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29857159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29857160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29857161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29857162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29857163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29857164, '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 = 29857767 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': 4295726, 'mtr_portfolio_id': 29857767, 'created_at': datetime.datetime(2025, 12, 31, 14, 33), 'result': '0.0627386990460271', 'result_long': None, 'result_double': None}] Qualite : 0.0627386990460271 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29857767 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29857767_31-12-2025_14_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29857767 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29857767_31-12-2025_14_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29857791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29857792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29857793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29857794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29857795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29857796, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29857797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29857798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29857799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29857800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29857801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29857802, 'pht': 3726}}" where mtr_portfolio_id = 29857767 and dashboard_run_id = 2830102 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`=29857767 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925574, 0.0627386990460271, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29857767_31-12-2025_14_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29857791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29857792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29857793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29857794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29857795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29857796, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29857797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29857798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29857799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29857800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29857801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29857802, '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 = 29858167 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': 4295787, 'mtr_portfolio_id': 29858167, 'created_at': datetime.datetime(2025, 12, 31, 14, 46, 58), 'result': '0.06024234115355158', 'result_long': None, 'result_double': None}] Qualite : 0.06024234115355158 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29858167 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29858167_31-12-2025_14_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29858167 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29858167_31-12-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29858206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29858207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29858208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29858209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29858210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29858211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29858212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29858213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29858214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29858215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29858216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29858218, 'pht': 3726}}" where mtr_portfolio_id = 29858167 and dashboard_run_id = 2830102 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`=29858167 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925575, 0.06024234115355158, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29858167_31-12-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29858206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29858207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29858208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29858209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29858210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29858211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29858212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29858213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29858214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29858215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29858216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29858218, '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 = 29858583 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': 4295843, 'mtr_portfolio_id': 29858583, 'created_at': datetime.datetime(2025, 12, 31, 15, 5, 32), 'result': '0.07832446248893143', 'result_long': None, 'result_double': None}] Qualite : 0.07832446248893143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29858583 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29858583_31-12-2025_15_05_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29858583 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29858583_31-12-2025_15_05_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29858592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29858593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29858594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29858595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29858596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29858597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29858598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29858599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29858600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29858601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29858602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29858603, 'pht': 3726}}" where mtr_portfolio_id = 29858583 and dashboard_run_id = 2830102 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`=29858583 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925576, 0.07832446248893143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29858583_31-12-2025_15_05_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29858592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29858593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29858594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29858595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29858596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29858597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29858598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29858599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29858600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29858601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29858602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29858603, '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 = 29859086 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': 4295934, 'mtr_portfolio_id': 29859086, 'created_at': datetime.datetime(2025, 12, 31, 15, 17), 'result': '0.0823223498699341', 'result_long': None, 'result_double': None}] Qualite : 0.0823223498699341 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29859086 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29859086_31-12-2025_15_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29859086 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29859086_31-12-2025_15_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29859090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29859091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29859092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29859093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29859094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29859095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29859096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29859097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29859098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29859099, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29859100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29859101, 'pht': 3726}}" where mtr_portfolio_id = 29859086 and dashboard_run_id = 2830102 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`=29859086 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925577, 0.0823223498699341, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29859086_31-12-2025_15_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29859090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29859091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29859092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29859093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29859094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29859095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29859096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29859097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29859098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29859099, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29859100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29859101, '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 = 29859629 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': 4296002, 'mtr_portfolio_id': 29859629, 'created_at': datetime.datetime(2025, 12, 31, 15, 32, 58), 'result': '0.07072551506863305', 'result_long': None, 'result_double': None}] Qualite : 0.07072551506863305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29859629 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29859629_31-12-2025_15_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29859629 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29859629_31-12-2025_15_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29859655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29859656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29859657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29859658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29859659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29859660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29859661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29859662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29859663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29859664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29859665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29859666, 'pht': 3726}}" where mtr_portfolio_id = 29859629 and dashboard_run_id = 2830102 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`=29859629 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925578, 0.07072551506863305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29859629_31-12-2025_15_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29859655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29859656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29859657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29859658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29859659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29859660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29859661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29859662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29859663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29859664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29859665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29859666, '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 = 29860095 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': 4296064, 'mtr_portfolio_id': 29860095, 'created_at': datetime.datetime(2025, 12, 31, 15, 48, 58), 'result': '0.06892938394252016', 'result_long': None, 'result_double': None}] Qualite : 0.06892938394252016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29860095 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860095_31-12-2025_15_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29860095 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860095_31-12-2025_15_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29860113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29860114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29860116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29860117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29860118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29860119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29860120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29860121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29860122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29860123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29860124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29860125, 'pht': 3726}}" where mtr_portfolio_id = 29860095 and dashboard_run_id = 2830102 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`=29860095 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925579, 0.06892938394252016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860095_31-12-2025_15_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29860113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29860114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29860116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29860117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29860118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29860119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29860120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29860121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29860122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29860123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29860124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29860125, '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 = 29860622 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': 4296133, 'mtr_portfolio_id': 29860622, 'created_at': datetime.datetime(2025, 12, 31, 16, 2, 59), 'result': '0.05423649467186944', 'result_long': None, 'result_double': None}] Qualite : 0.05423649467186944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29860622 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860622_31-12-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29860622 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860622_31-12-2025_16_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29860630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29860631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29860632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29860633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29860634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29860635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29860636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29860637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29860638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29860639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29860640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29860641, 'pht': 3726}}" where mtr_portfolio_id = 29860622 and dashboard_run_id = 2830102 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`=29860622 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925580, 0.05423649467186944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860622_31-12-2025_16_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29860630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29860631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29860632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29860633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29860634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29860635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29860636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29860637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29860638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29860639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29860640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29860641, '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 = 29860940 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': 4296203, 'mtr_portfolio_id': 29860940, 'created_at': datetime.datetime(2025, 12, 31, 16, 16, 57), 'result': '0.06590810510120568', 'result_long': None, 'result_double': None}] Qualite : 0.06590810510120568 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29860940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860940_31-12-2025_16_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29860940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860940_31-12-2025_16_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29860975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29860976, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29860977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29860978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29860979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29860980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29860981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29860982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29860983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29860984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29860985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29860986, 'pht': 3726}}" where mtr_portfolio_id = 29860940 and dashboard_run_id = 2830102 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`=29860940 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925581, 0.06590810510120568, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29860940_31-12-2025_16_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29860975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29860976, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29860977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29860978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29860979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29860980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29860981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29860982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29860983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29860984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29860985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29860986, '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 = 29861479 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': 4296258, 'mtr_portfolio_id': 29861479, 'created_at': datetime.datetime(2025, 12, 31, 16, 32, 58), 'result': '0.04775759760188478', 'result_long': None, 'result_double': None}] Qualite : 0.04775759760188478 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29861479 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29861479_31-12-2025_16_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29861479 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29861479_31-12-2025_16_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29861505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29861506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29861507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29861508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29861509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29861510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29861511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29861512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29861513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29861514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29861515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29861516, 'pht': 3726}}" where mtr_portfolio_id = 29861479 and dashboard_run_id = 2830102 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`=29861479 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925582, 0.04775759760188478, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29861479_31-12-2025_16_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29861505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29861506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29861507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29861508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29861509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29861510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29861511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29861512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29861513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29861514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29861515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29861516, '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 = 29862013 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': 4296340, 'mtr_portfolio_id': 29862013, 'created_at': datetime.datetime(2025, 12, 31, 20, 59, 58), 'result': '0.048276726725053315', 'result_long': None, 'result_double': None}] Qualite : 0.048276726725053315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29862013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29862013_31-12-2025_20_59_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29862013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29862013_31-12-2025_20_59_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29862056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29862057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29862058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29862059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29862060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29862061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29862062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29862063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29862064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29862065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29862066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29862067, 'pht': 3726}}" where mtr_portfolio_id = 29862013 and dashboard_run_id = 2830102 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`=29862013 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18925583, 0.048276726725053315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29862013_31-12-2025_20_59_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29862056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29862057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29862058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29862059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29862060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29862061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29862062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29862063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29862064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29862065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29862066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29862067, '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 (29831337,29832073,29832543,29832896,29833935,29834250,29834686,29835254,29835728,29836084,29836539,29837182,29837626,29838181,29838521,29839390,29839712,29840063,29840581,29840703,29841224,29841597,29842110,29842540,29843226,29844120,29844841,29845495,29846179,29846883,29847507,29848971,29849456,29849875,29851401,29851895,29852520,29853067,29853583,29854241,29854612,29855154,29855814,29856251,29856681,29857121,29857767,29858167,29858583,29859086,29859629,29860095,29860622,29860940,29861479,29862013) result : ((1401800738,), (1401800779,), (1401800818,), (1401800857,), (1401801320,), (1401801377,), (1401801417,), (1401801452,), (1401801488,), (1401802080,), (1401802112,), (1401802149,), (1401802219,), (1401802273,), (1401802307,), (1401802494,), (1401802552,), (1401802627,), (1401802789,), (1401802823,), (1401802865,), (1401803140,), (1401803145,), (1401803165,), (1401803197,), (1401803814,), (1401803821,), (1401803825,), (1401803847,), (1401803892,), (1401804300,), (1401804333,), (1401804367,), (1401804398,), (1401804429,), (1401804432,), (1401804558,), (1401804589,), (1401804615,), (1401804623,), (1401804991,), (1401805024,), (1401805026,), (1401805034,), (1401805156,), (1401805166,), (1401805172,), (1401805175,), (1401805178,), (1401805182,), (1401805201,), (1401805204,), (1401805206,), (1401805209,), (1401805393,), (1401805397,), (1401805516,), (1401805517,), (1401805520,), (1401805526,), (1401805531,), (1401805553,), (1401805562,), (1401805569,), (1401805577,), (1401805580,), (1401805607,), (1401805613,), (1401805615,), (1401805618,), (1401805621,), (1401805668,), (1401805664,), (1401805666,), (1401805693,), (1401805695,), (1401805698,), (1401805701,), (1401805738,), (1401805740,), (1401805742,), (1401805745,), (1401805749,), (1401805767,), (1401805770,), (1401805775,), (1401805780,), (1401805784,), (1401805817,), (1401805819,), (1401805823,), (1401805826,), (1401805848,), (1401805851,), (1401805852,), (1401805854,), (1401805856,), (1401805887,), (1401805888,), (1401805891,), (1401805894,), (1401805916,), (1401805919,), (1401805922,), (1401805926,), (1401805928,), (1401805931,), (1401805936,), (1401805939,), (1401805955,), (1401805957,), (1401805959,), (1401805961,), (1401805986,), (1401805989,), (1401805991,), (1401805994,), (1401806035,), (1401806036,), (1401806037,), (1401806040,), (1401806045,), (1401806049,), (1401806063,), (1401806066,), (1401806069,), (1401806129,), (1401806131,), (1401806133,), (1401806135,), (1401806138,), (1401806141,), (1401806180,), (1401806181,), (1401806182,), (1401806185,), (1401806191,), (1401806218,), (1401806221,), (1401806224,), (1401806226,), (1401806228,), (1401806233,), (1401806215,), (1401806283,), (1401806433,), (1401806485,), (1401806515,), (1401806517,), (1401806584,), (1401806586,), (1401806589,), (1401806612,), (1401806614,), (1401806617,), (1401806621,), (1401806625,), (1401806629,), (1401806650,), (1401806653,), (1401806656,), (1401806659,), (1401806662,), (1401806666,), (1401806671,), (1401806675,), (1401806690,), (1401806700,), (1401806703,), (1401806705,), (1401806750,), (1401806752,), (1401806754,), (1401806758,), (1401806782,), (1401806784,), (1401806786,), (1401806790,), (1401806793,), (1401806799,), (1401806807,), (1401806820,), (1401806821,), (1401806823,), (1401806825,), (1401806853,), (1401806854,), (1401806855,), (1401806910,), (1401806897,), (1401806899,), (1401806901,), (1401806905,), (1401806909,), (1401806934,), (1401806936,), (1401806940,), (1401806943,), (1401806946,), (1401806949,), (1401806990,), (1401806992,), (1401806994,), (1401806997,), (1401807001,), (1401807021,), (1401807022,), (1401807048,), (1401807084,), (1401807119,), (1401807152,), (1401807284,), (1401807315,), (1401807445,), (1401807478,), (1401807819,), (1401807820,), (1401807830,), (1401807860,), (1401807894,), (1401808075,), (1401808082,), (1401808089,), (1401808116,), (1401808118,), (1401808120,), (1401808124,), (1401808127,), (1401808130,), (1401808148,), (1401808154,), (1401808156,), (1401808158,), (1401808161,), (1401808164,), (1401808188,), (1401808189,), (1401808190,), (1401808192,), (1401808195,), (1401808217,), (1401808219,), (1401808221,), (1401808251,), (1401808253,), (1401808255,), (1401808291,), (1401808299,), (1401808304,), (1401808307,), (1401808310,), (1401808348,), (1401808355,), (1401808357,), (1401808363,), (1401808364,), (1401808368,), (1401808379,), (1401808406,), (1401811854,), (1401811850,), (1401811882,), (1401811884,), (1401811885,), (1401811887,), (1401811918,), (1401811919,), (1401811922,), (1401811925,), (1401811943,), (1401811946,), (1401811948,), (1401811994,), (1401811996,), (1401811997,), (1401812017,), (1401812019,), (1401812022,), (1401812027,), (1401812031,), (1401812035,), (1401812052,), (1401812061,), (1401812063,), (1401812065,), (1401812091,), (1401812093,), (1401812096,), (1401812129,), (1401812130,), (1401812132,), (1401812154,), (1401812156,), (1401812158,), (1401812162,), (1401812166,), (1401812173,), (1401812181,), (1401812182,), (1401812191,), (1401812194,), (1401812227,), (1401812228,), (1401812230,), (1401812290,), (1401812277,), (1401812279,), (1401812281,), (1401812285,), (1401812308,), (1401812310,), (1401812312,), (1401812341,), (1401812344,), (1401812346,), (1401812371,), (1401812373,), (1401812375,), (1401812379,), (1401812383,), (1401812387,), (1401812396,), (1401812398,), (1401812425,), (1401812454,), (1401812457,), (1401812484,), (1401812485,), (1401812486,), (1401812487,), (1401812532,), (1401812536,), (1401812538,), (1401812542,), (1401812565,), (1401812566,), (1401812568,), (1401812573,), (1401812576,), (1401812579,), (1401812586,), (1401812597,), (1401812600,), (1401812602,), (1401812604,), (1401812631,), (1401812632,), (1401812633,), (1401812668,), (1401812670,), (1401812672,), (1401812676,), (1401812699,), (1401812701,), (1401812703,), (1401812741,), (1401812744,), (1401812747,), (1401812751,), (1401812782,), (1401812786,), (1401812790,), (1401812794,), (1401812798,), (1401812807,), (1401812808,), (1401812809,), (1401812939,), (1401812873,), (1401812906,), (1401813309,), (1401813363,), (1401813427,), (1401814278,), (1401814311,), (1401814345,), (1401814377,), (1401814410,), (1401814475,), (1401815025,), (1401815145,), (1401815179,), (1401816086,), (1401816151,), (1401816203,), (1401816572,), (1401816584,), (1401816620,), (1401817164,), (1401817166,), (1401817167,), (1401817384,), (1401817424,), (1401817427,), (1401817466,), (1401817469,), (1401817471,), (1401817491,), (1401817493,), (1401817495,), (1401817499,), (1401817504,), (1401817533,), (1401817535,), (1401817538,), (1401817561,), (1401817563,), (1401817565,), (1401817568,), (1401817571,), (1401817596,), (1401817597,), (1401817598,), (1401817600,), (1401817626,), (1401817629,), (1401817632,), (1401817635,), (1401817639,), (1401817641,), (1401817675,), (1401817671,), (1401817674,), (1401817697,), (1401817699,), (1401817732,), (1401817734,), (1401817737,), (1401817739,), (1401817770,), (1401817773,), (1401817776,), (1401817779,), (1401817782,), (1401817820,), (1401817822,), (1401817824,), (1401817828,), (1401817833,), (1401817837,), (1401817853,), (1401817855,), (1401817857,), (1401817860,), (1401817884,), (1401817887,), (1401817890,), (1401817913,), (1401817914,), (1401817916,), (1401817920,), (1401817924,), (1401817955,), (1401817958,), (1401817961,), (1401817964,), (1401817967,), (1401817999,), (1401818002,), (1401818004,), (1401818006,), (1401818038,), (1401818048,), (1401818049,), (1401818076,), (1401818080,), (1401818084,), (1401818110,), (1401818113,), (1401818115,), (1401818118,), (1401818122,), (1401818150,), (1401818182,), (1401818186,), (1401818191,), (1401818194,), (1401818198,), (1401818200,), (1401818229,), (1401818220,), (1401818222,), (1401818223,), (1401818225,), (1401818228,), (1401818248,), (1401818251,), (1401818253,), (1401818256,), (1401818261,), (1401818283,), (1401818285,), (1401818288,), (1401818292,), (1401818296,), (1401818298,), (1401818318,), (1401818321,), (1401818330,), (1401818334,), (1401818337,), (1401818340,), (1401818364,), (1401818367,), (1401818370,), (1401818374,), (1401818379,), (1401818382,), (1401818421,), (1401818432,), (1401818434,), (1401818437,), (1401818441,), (1401818460,), (1401818461,), (1401818462,), (1401818502,), (1401818505,), (1401818508,), (1401818512,), (1401818550,), (1401818552,), (1401818554,), (1401818557,), (1401818560,), (1401818563,), (1401818588,), (1401818595,), (1401818597,), (1401818599,), (1401818603,), (1401818608,), (1401818627,), (1401818629,), (1401818661,), (1401818663,), (1401818665,), (1401818667,), (1401818670,), (1401818697,), (1401818698,), (1401818700,), (1401818704,), (1401818708,), (1401818713,), (1401818724,), (1401818726,), (1401818730,), (1401818740,), (1401818742,), (1401818745,), (1401818748,), (1401818751,), (1401818753,), (1401818769,), (1401818771,), (1401818772,), (1401818806,), (1401818800,), (1401818803,), (1401818836,), (1401818838,), (1401818839,), (1401818859,), (1401818867,), (1401818870,), (1401818873,), (1401818877,), (1401818897,), (1401818900,), (1401818903,), (1401818907,), (1401818910,), (1401818913,), (1401818921,), (1401818922,), (1401818929,), (1401818931,), (1401818934,), (1401818968,), (1401818969,), (1401818970,), (1401818973,), (1401818978,), (1401819002,), (1401819005,), (1401819008,), (1401819012,), (1401819037,), (1401819038,), (1401819039,), (1401819042,), (1401819045,), (1401819049,), (1401819058,), (1401819061,), (1401819067,), (1401819073,), (1401819119,), (1401819121,), (1401819156,), (1401819158,), (1401819160,), (1401819163,), (1401819167,), (1401819186,), (1401819188,), (1401819189,), (1401819190,), (1401819193,), (1401819194,), (1401819229,), (1401819231,), (1401819233,), (1401819236,), (1401819262,), (1401819267,), (1401819272,), (1401819278,), (1401819282,), (1401819286,), (1401819435,), (1401819470,), (1401819508,), (1401819570,), (1401819641,), (1401819708,), (1401819994,), (1401819936,), (1401820505,), (1401820538,), (1401820572,), (1401820644,), (1401820677,), (1401820711,), (1401820747,), (1401820785,), (1401820821,), (1401821199,), (1401821428,), (1401821444,), (1401821459,), (1401821464,), (1401821468,), (1401821759,), (1401821762,), (1401821764,), (1401821767,), (1401821771,), (1401821814,), (1401821816,), (1401821817,), (1401821852,), (1401821856,), (1401821860,), (1401821866,), (1401821895,), (1401821898,), (1401821899,), (1401821901,), (1401821905,), (1401821908,), (1401821926,), (1401821930,), (1401821934,), (1401821939,), (1401821944,), (1401821966,), (1401821968,), (1401821970,), (1401821998,), (1401822001,), (1401822003,), (1401822004,), (1401822044,), (1401822046,), (1401822047,), (1401822048,), (1401822052,), (1401822054,), (1401822083,), (1401822085,), (1401822088,), (1401822092,), (1401822096,), (1401822100,), (1401822117,), (1401822118,), (1401822119,), (1401822120,), (1401822141,), (1401822143,), (1401822147,), (1401822150,), (1401822152,), (1401822173,), (1401822176,), (1401822177,), (1401822178,), (1401822180,), (1401822183,), (1401822233,), (1401822224,), (1401822225,), (1401822227,), (1401822230,), (1401822254,), (1401822256,), (1401822259,), (1401822321,), (1401822331,), (1401822333,), (1401822336,), (1401822339,), (1401822366,), (1401822367,), (1401822369,), (1401822373,), (1401822377,), (1401822381,), (1401822397,), (1401822398,), (1401822399,), (1401822405,), (1401822408,), (1401822411,), (1401822415,), (1401822432,), (1401822435,), (1401822438,), (1401822442,), (1401822446,), (1401822473,), (1401822474,), (1401822508,), (1401822509,), (1401822512,), (1401822516,), (1401822520,), (1401822552,), (1401822554,), (1401822556,), (1401822595,), (1401822602,), (1401822604,), (1401822606,), (1401822644,), (1401822645,), (1401822647,), (1401822649,), (1401822654,), (1401822671,), (1401822674,), (1401822677,), (1401822681,), (1401822719,), (1401822721,), (1401822722,), (1401822724,), (1401822753,), (1401822758,), (1401822764,), (1401822770,), (1401822779,), (1401822782,), (1401822793,), (1401822801,), (1401822804,), (1401822806,), (1401822811,), (1401822839,), (1401822832,), (1401822833,), (1401822835,), (1401822837,), (1401822859,), (1401822860,), (1401822867,), (1401822897,), (1401822900,), (1401822903,), (1401822906,), (1401822910,), (1401822912,), (1401822919,), (1401822922,), (1401822939,), (1401822942,), (1401822943,), (1401822971,), (1401822972,), (1401822973,), (1401822975,), (1401823016,), (1401823019,), (1401823023,), (1401823026,), (1401823031,), (1401823034,), (1401823055,), (1401823057,), (1401823058,), (1401823083,), (1401823085,), (1401823088,), (1401823092,), (1401823119,), (1401823121,), (1401823123,), (1401823127,), (1401823130,), (1401823133,), (1401823141,), (1401823143,), (1401823145,), (1401823164,), (1401823165,), (1401823167,), (1401823170,), (1401823173,), (1401823199,), (1401823200,), (1401823203,), (1401823205,), (1401823209,), (1401823238,), (1401823239,), (1401823272,), (1401823274,), (1401823277,), (1401823279,), (1401823283,), (1401823284,), (1401823316,), (1401823318,), (1401823401,), (1401823479,), (1401823482,), (1401823485,), (1401823513,), (1401823515,), (1401823516,), (1401823517,), (1401823521,), (1401823543,), (1401823544,), (1401823572,), (1401823575,), (1401823578,), (1401823582,), (1401823587,), (1401823606,), (1401823607,), (1401823608,), (1401823611,), (1401823612,), (1401823615,), (1401823633,), (1401823635,), (1401823637,), (1401823638,), (1401823643,), (1401823645,), (1401823649,), (1401823653,), (1401823670,), (1401823673,), (1401823676,), (1401823679,), (1401823684,), (1401823711,), (1401823714,), (1401823717,), (1401823737,), (1401823738,), (1401823740,), (1401823743,), (1401823770,), (1401823772,), (1401823776,), (1401823779,), (1401823784,), (1401823787,), (1401823949,), (1401823987,), (1401824032,), (1401824069,), (1401824106,), (1401824147,), (1401824286,), (1401824311,), (1401824313,), (1401824317,), (1401824320,), (1401824403,), (1401824336,), (1401824368,), (1401824863,), (1401824919,), (1401825387,), (1401825391,), (1401825395,), (1401825585,), (1401825618,), (1401826410,), (1401826420,), (1401826424,), (1401826428,), (1401826433,), (1401826470,), (1401826473,), (1401826476,), (1401826509,), (1401826511,), (1401826558,), (1401826562,), (1401826563,), (1401826566,), (1401826570,), (1401826597,), (1401826598,), (1401826601,), (1401826605,), (1401826609,), (1401826612,), (1401826622,), (1401826625,), (1401826633,), (1401826642,), (1401826644,), (1401826676,), (1401826678,), (1401826681,), (1401826684,), (1401826687,), (1401826690,), (1401826717,), (1401826718,), (1401826759,), (1401826761,), (1401829987,), (1401830750,), (1401830788,), (1401830826,), (1401830865,), (1401830900,), (1401831069,), (1401831071,), (1401831073,), (1401831075,), (1401831229,), (1401831265,), (1401831555,), (1401831586,), (1401831587,), (1401831605,), (1401831612,), (1401831638,), (1401831641,), (1401831644,), (1401831648,), (1401831680,), (1401831683,), (1401831687,), (1401831691,), (1401831717,), (1401831719,), (1401831721,), (1401831725,), (1401831728,), (1401831731,), (1401831743,), (1401831745,), (1401831747,), (1401831755,), (1401831757,), (1401831759,), (1401831762,), (1401831782,), (1401831783,), (1401831784,), (1401831817,), (1401831820,), (1401831823,), (1401831826,), (1401831849,), (1401831850,), (1401831851,), (1401831853,), (1401831856,), (1401831859,), (1401831874,), (1401831886,), (1401831888,), (1401831911,), (1401831915,), (1401831917,), (1401831958,), (1401831953,), (1401831955,), (1401832035,), (1401832071,), (1401832073,), (1401832075,), (1401832078,), (1401832082,), (1401832085,), (1401832103,), (1401832104,), (1401832105,), (1401832108,), (1401832113,), (1401832138,), (1401832141,), (1401832145,), (1401832148,), (1401832180,), (1401832181,), (1401832185,), (1401832189,), (1401832194,), (1401832198,), (1401832219,), (1401832223,), (1401832250,), (1401832265,), (1401832268,), (1401832273,), (1401832277,), (1401832281,), (1401832284,), (1401832301,), (1401832311,), (1401832314,), (1401832318,), (1401832322,), (1401832325,), (1401832361,), (1401832364,), (1401832366,), (1401832369,), (1401832390,), (1401832391,), (1401832392,), (1401832396,), (1401832430,), (1401832433,), (1401832436,), (1401832440,), (1401832445,), (1401832464,), (1401832466,), (1401832467,), (1401832470,), (1401832473,), (1401832476,), (1401832510,), (1401832515,), (1401832581,), (1401832573,), (1401832576,), (1401832578,), (1401832608,), (1401832610,), (1401832611,), (1401832613,), (1401832617,), (1401832620,), (1401832639,), (1401832640,), (1401832643,), (1401832647,), (1401832651,), (1401832654,), (1401832673,), (1401832679,), (1401832697,), (1401832699,), (1401832701,), (1401832703,), (1401832728,), (1401832730,), (1401832732,), (1401832756,), (1401832758,), (1401832761,), (1401832764,), (1401832769,), (1401832773,), (1401832789,), (1401832791,), (1401832793,), (1401832840,), (1401832842,), (1401832844,), (1401832847,), (1401832851,), (1401832852,), (1401832873,), (1401832876,), (1401832879,), (1401832882,), (1401832885,), (1401832924,), (1401832926,), (1401832927,), (1401832930,), (1401832953,), (1401832955,), (1401832958,), (1401832962,), (1401832967,), (1401832970,), (1401832997,), (1401833003,), (1401833004,), (1401833006,), (1401833027,), (1401833029,), (1401833032,), (1401833036,), (1401833039,), (1401833307,), (1401833304,), (1401833306,), (1401833346,), (1401833353,), (1401833363,), (1401833373,), (1401833378,), (1401833400,), (1401833403,), (1401833408,), (1401833415,), (1401833421,), (1401833425,), (1401833434,), (1401833436,), (1401833438,), (1401833447,), (1401833449,), (1401833453,), (1401833458,), (1401833479,), (1401833480,), (1401833482,), (1401833484,), (1401833488,), (1401833492,), (1401833516,), (1401833517,), (1401833518,), (1401833521,), (1401833526,), (1401833548,), (1401833550,), (1401833553,), (1401833584,), (1401833588,), (1401833590,), (1401833593,), (1401833597,), (1401834034,), (1401834070,), (1401834107,), (1401834142,), (1401834174,), (1401834213,), (1401834231,), (1401834236,), (1401834240,), (1401834245,), (1401834278,), (1401834312,), (1401834449,), (1401834486,), (1401834545,), (1401834548,), (1401834415,), (1401834417,), (1401834420,), (1401834423,), (1401834555,), (1401834558,), (1401834563,), (1401834568,), (1401834572,), (1401834605,), (1401834610,), (1401834614,), (1401834617,), (1401834620,), (1401834623,), (1401834631,), (1401834636,), (1401834647,), (1401834653,), (1401834657,), (1401834662,), (1401834667,), (1401834672,), (1401834685,), (1401834688,), (1401834691,), (1401834695,), (1401834699,), (1401834702,), (1401834721,), (1401834724,), (1401834725,), (1401834727,), (1401834749,), (1401834750,), (1401834751,), (1401834753,), (1401834757,), (1401834792,), (1401834798,), (1401834810,), (1401834817,), (1401834820,), (1401834821,), (1401834846,), (1401834848,), (1401834849,), (1401834878,), (1401834879,), (1401834881,), (1401834883,), (1401834887,), (1401834890,), (1401834911,), (1401834913,), (1401834915,), (1401834918,), (1401834923,), (1401834926,), (1401834952,), (1401834962,), (1401834965,), (1401834969,), (1401834992,), (1401834994,), (1401834995,), (1401834998,), (1401835001,), (1401835004,), (1401835025,), (1401835028,), (1401835031,), (1401835034,), (1401835040,), (1401835041,), (1401835044,), (1401835047,), (1401835074,), (1401835076,), (1401835079,), (1401835083,), (1401835088,), (1401835139,), (1401835119,), (1401835126,), (1401835128,), (1401835131,), (1401835136,), (1401835156,), (1401835157,), (1401835159,), (1401835161,), (1401835190,), (1401835227,), (1401835229,), (1401835231,), (1401835234,), (1401835262,), (1401835265,), (1401835266,), (1401835267,), (1401835270,), (1401835271,), (1401835290,), (1401835291,), (1401835294,), (1401835297,), (1401835301,), (1401835321,), (1401835323,), (1401835325,), (1401835350,), (1401835353,), (1401835356,), (1401835360,), (1401835363,), (1401835366,), (1401835382,), (1401835401,), (1401835403,), (1401835406,), (1401835408,), (1401835411,), (1401835432,), (1401835433,), (1401835434,), (1401835437,), (1401835442,), (1401835468,), (1401835476,), (1401835479,), (1401835507,), (1401835510,), (1401835512,), (1401835514,), (1401835518,), (1401835521,), (1401835555,), (1401835556,), (1401835557,), (1401835559,), (1401835562,), (1401835592,), (1401835595,), (1401835597,), (1401835601,), (1401835607,), (1401835609,), (1401835615,), (1401835618,), (1401835640,), (1401835642,), (1401835644,), (1401835646,), (1401835650,), (1401835653,), (1401835688,), (1401835681,), (1401835685,), (1401835687,), (1401835719,), (1401835723,), (1401835726,), (1401835730,), (1401835755,), (1401835757,), (1401835759,), (1401835762,), (1401835765,), (1401835768,), (1401835786,), (1401835794,), (1401835796,), (1401835803,), (1401835805,), (1401835807,), (1401835811,), (1401835842,), (1401835845,), (1401835847,), (1401835885,), (1401835892,), (1401835894,), (1401835897,), (1401835901,), (1401835921,), (1401835922,), (1401835924,), (1401835953,), (1401835956,), (1401835969,), (1401835980,), (1401835988,), (1401835991,), (1401836016,), (1401836017,), (1401836018,), (1401836021,), (1401836024,), (1401836029,), (1401836042,), (1401836044,), (1401836046,), (1401836052,), (1401836058,), (1401836060,), (1401836066,), (1401836069,), (1401836098,), (1401836099,), (1401836100,), (1401836102,), (1401836105,), (1401836108,), (1401836137,), (1401836140,), (1401836144,), (1401836147,), (1401836172,), (1401836173,), (1401836174,), (1401836175,), (1401836177,), (1401836180,), (1401836208,), (1401836218,), (1401836219,), (1401836221,), (1401836233,), (1401836247,), (1401836279,), (1401836282,), (1401836286,), (1401836289,), (1401836325,), (1401836314,), (1401836316,), (1401836318,), (1401836320,), (1401836323,), (1401836347,), (1401836349,), (1401836352,), (1401836357,), (1401836361,), (1401836391,), (1401836395,), (1401836400,), (1401836405,), (1401836410,), (1401836429,), (1401836431,), (1401836433,), (1401836436,), (1401836439,), (1401836441,), (1401836455,), (1401836458,), (1401836463,), (1401836465,), (1401836466,), (1401836468,), (1401836471,), (1401836474,), (1401836506,), (1401836509,), (1401836512,), (1401836517,), (1401836542,), (1401836552,), (1401836560,), (1401836563,), (1401836566,), (1401836569,), (1401836586,), (1401836589,), (1401836594,), (1401836599,), (1401836604,), (1401836609,), (1401836629,), (1401836633,), (1401836646,), (1401836655,), (1401836657,), (1401836660,), (1401836663,), (1401836690,), (1401836693,), (1401836696,), (1401836698,), (1401836702,), (1401836704,), (1401836733,), (1401836740,), (1401836744,), (1401836749,), (1401836774,), (1401836776,), (1401836781,), (1401836785,), (1401836789,), (1401836792,), (1401836810,), (1401836812,), (1401836814,), (1401836817,), (1401836848,), (1401836853,), (1401836859,), (1401836864,), (1401836868,), (1401836872,), (1401836880,), (1401836885,), (1401836917,), (1401836904,), (1401836908,), (1401836912,), (1401837148,), (1401837184,), (1401837217,), (1401837254,), (1401837292,), (1401837326,), (1401837694,), (1401837699,), (1401837701,), (1401837749,), (1401837851,), (1401837949,), (1401838223,), (1401838224,), (1401838251,), (1401838298,), (1401838576,), (1401838583,), (1401838586,), (1401838607,), (1401838646,), (1401838683,), (1401838987,), (1401839022,), (1401839053,), (1401839091,), (1401839126,), (1401839159,), (1401839434,), (1401839442,), (1401839446,), (1401839635,), (1401839669,), (1401839700,), (1401839728,), (1401839734,), (1401839842,), (1401839844,), (1401839845,), (1401839847,), (1401839852,), (1401839856,), (1401839944,), (1401839947,), (1401839951,), (1401839954,), (1401840006,), (1401840014,), (1401840017,), (1401840019,), (1401840023,), (1401840025,), (1401840045,), (1401840047,), (1401840049,), (1401840051,), (1401840055,), (1401840057,), (1401840079,), (1401840092,), (1401840095,), (1401840238,), (1401840240,), (1401840242,), (1401840245,), (1401840247,), (1401840252,), (1401840368,), (1401840401,), (1401840403,), (1401840405,), (1401840407,), (1401840411,), (1401840414,), (1401840447,), (1401840477,), (1401840481,), (1401840509,), (1401840545,), (1401840581,), (1401840575,), (1401840577,), (1401840579,), (1401840620,), (1401840621,), (1401840623,), (1401840627,), (1401840632,), (1401840749,), (1401840778,), (1401840796,), (1401840799,), (1401841003,), (1401841034,), (1401841070,), (1401841104,), (1401841141,), (1401841175,), (1401841351,), (1401841378,), (1401841383,), (1401841413,), (1401841421,), (1401841445,), (1401841448,), (1401841530,), (1401841562,), (1401841583,), (1401841595,), (1401841739,), (1401841751,), (1401841754,), (1401841756,), (1401841759,), (1401841761,), (1401841809,), (1401841810,), (1401841812,), (1401841815,), (1401841840,), (1401841870,), (1401841954,), (1401841983,), (1401842012,), (1401842045,), (1401842055,), (1401842058,), (1401842062,), (1401842066,), (1401842082,), (1401842085,), (1401842088,), (1401842091,), (1401842095,), (1401842100,), (1401842122,), (1401842125,), (1401842127,), (1401842130,), (1401842134,), (1401842149,), (1401842151,), (1401842153,), (1401842157,), (1401842289,), (1401842311,), (1401842319,), (1401842328,), (1401842337,), (1401842341,), (1401842363,), (1401842365,), (1401842367,), (1401842370,), (1401842373,), (1401842377,), (1401842396,), (1401842418,), (1401842445,), (1401842461,), (1401842477,), (1401842533,), (1401842548,), (1401842553,), (1401842556,), (1401842704,), (1401842685,), (1401842687,), (1401842690,), (1401842695,), (1401842700,), (1401842726,), (1401842729,), (1401842731,), (1401842735,), (1401842875,), (1401842884,), (1401842889,), (1401842901,), (1401842914,), (1401842924,), (1401842957,), (1401842960,), (1401842967,), (1401842971,), (1401842977,), (1401842978,), (1401842981,), (1401842984,), (1401842988,), (1401843009,), (1401843011,), (1401843013,), (1401843017,), (1401843021,), (1401843169,), (1401843179,), (1401843193,), (1401843200,), (1401843209,), (1401843213,), (1401843230,), (1401843233,), (1401843235,), (1401843239,), (1401843252,), (1401843265,), (1401843320,), (1401843323,), (1401843324,), (1401843325,), (1401843376,), (1401843381,), (1401843399,), (1401843407,), (1401843424,), (1401843433,), (1401843452,), (1401843476,), (1401843482,), (1401843483,), (1401843520,), (1401843560,), (1401843598,), (1401843636,), (1401843646,), (1401843697,), (1401843700,), (1401843702,), (1401843752,), (1401843754,), (1401843756,), (1401843779,), (1401843782,), (1401843792,), (1401843804,), (1401843808,), (1401843811,), (1401843826,), (1401843827,), (1401843829,), (1401843961,), (1401843957,), (1401843988,), (1401843990,), (1401844112,), (1401844114,), (1401844122,), (1401844127,), (1401844170,), (1401844173,), (1401844175,), (1401844179,), (1401844449,), (1401844610,), (1401844644,), (1401844760,), (1401844764,), (1401845324,), (1401845417,), (1401845419,), (1401846728,), (1401847066,), (1401847131,), (1401847150,), (1401847153,), (1401846297,), (1401846373,), (1401846436,), (1401846525,), (1401846620,), (1401847302,), (1401847317,), (1401847321,), (1401847866,), (1401847899,), (1401847957,), (1401848002,), (1401848036,), (1401848044,), (1401848070,), (1401848073,), (1401848236,), (1401848238,), (1401848242,), (1401848268,), (1401848633,), (1401848666,), (1401848704,), (1401848741,), (1401848833,), (1401848866,), (1401849118,), (1401849123,), (1401849434,), (1401849453,), (1401849668,), (1401849671,), (1401849673,), (1401849675,), (1401849677,), (1401849709,), (1401849726,), (1401849728,), (1401849732,), (1401849738,), (1401849744,), (1401849790,), (1401849791,), (1401849792,), (1401849856,), (1401849860,), (1401849884,), (1401849942,), (1401849980,), (1401850078,), (1401850092,), (1401850138,), (1401850145,), (1401850295,), (1401850291,), (1401850293,), (1401850375,), (1401850376,), (1401850378,), (1401850382,), (1401850649,), (1401850652,), (1401850655,), (1401850657,), (1401850662,), (1401850673,), (1401850820,), (1401850823,), (1401850828,), (1401850832,), (1401850841,), (1401850844,), (1401850866,), (1401850869,), (1401850879,), (1401850886,), (1401850888,), (1401850957,), (1401850992,), (1401851028,), (1401851229,), (1401851231,), (1401851233,), (1401851237,), (1401851291,), (1401851294,), (1401851296,), (1401851299,), (1401851323,), (1401851325,), (1401851327,), (1401851330,), (1401851333,), (1401851338,), (1401851355,), (1401851357,), (1401851360,), (1401851362,), (1401851364,), (1401851424,), (1401851427,), (1401851430,), (1401851434,), (1401851470,), (1401851473,), (1401851495,), (1401851527,), (1401851532,), (1401851536,), (1401851553,), (1401851555,), (1401851557,), (1401851560,), (1401851606,), (1401851617,), (1401851621,), (1401851623,), (1401851625,), (1401851770,), (1401851774,), (1401851792,), (1401851818,), (1401851826,), (1401851829,), (1401851905,), (1401851907,), (1401851910,), (1401851912,), (1401851916,), (1401851921,), (1401851983,), (1401851985,), (1401851986,), (1401851987,), (1401851991,), (1401851992,), (1401851996,), (1401851997,), (1401852002,), (1401852004,), (1401851981,), (1401851982,), (1401852023,), (1401852025,), (1401852028,), (1401852030,), (1401852038,), (1401852047,), (1401852077,), (1401852080,), (1401852084,), (1401852097,), (1401852101,), (1401852105,), (1401852150,), (1401852172,), (1401852177,), (1401852180,), (1401852183,), (1401852200,), (1401852210,), (1401852211,), (1401852214,), (1401852215,), (1401852218,), (1401852219,), (1401852402,), (1401852405,), (1401852407,), (1401852410,), (1401852414,), (1401852556,), (1401852566,), (1401852571,), (1401852657,), (1401852663,), (1401852667,), (1401852677,), (1401852708,), (1401852710,), (1401852713,), (1401852834,), (1401852836,), (1401852842,), (1401852852,), (1401852865,), (1401852906,), (1401852908,), (1401852911,), (1401852914,), (1401852918,), (1401852921,), (1401852947,), (1401852950,), (1401852951,), (1401852978,), (1401852979,), (1401852981,), (1401852985,), (1401853024,), (1401853027,), (1401853032,), (1401853036,), (1401853039,), (1401853042,), (1401853058,), (1401853065,), (1401853066,), (1401853067,), (1401853103,), (1401853105,), (1401853106,), (1401853109,), (1401853195,), (1401853173,), (1401853188,), (1401853191,), (1401853298,), (1401853307,), (1401853308,), (1401853605,), (1401853607,), (1401853610,), (1401853614,), (1401853617,), (1401853619,), (1401853654,), (1401853656,), (1401853660,), (1401853674,), (1401853723,), (1401853725,), (1401853799,), (1401853808,), (1401853845,), (1401853847,), (1401853849,), (1401853858,), (1401853861,), (1401853864,), (1401853910,), (1401853911,), (1401853912,), (1401853914,), (1401853918,), (1401853968,), (1401853971,), (1401853974,), (1401853977,), (1401853980,), (1401854053,), (1401854085,), (1401854338,), (1401854340,), (1401854342,), (1401854395,), (1401854410,), (1401854447,), (1401854479,), (1401854502,), (1401854592,), (1401854594,), (1401854599,), (1401854604,), (1401854609,), (1401854613,), (1401854620,), (1401854627,), (1401854653,), (1401854661,), (1401859976,), (1401859978,), (1401859980,), (1401860088,), (1401860091,), (1401860094,), (1401860097,), (1401860101,), (1401860122,), (1401860123,), (1401860124,), (1401860127,), (1401860130,), (1401860134,), (1401860158,), (1401860182,), (1401860199,), (1401860203,), (1401860205,), (1401860233,), (1401860236,), (1401860237,), (1401860240,), (1401860458,), (1401860467,), (1401860470,), (1401860598,), (1401860600,), (1401860603,), (1401860605,), (1401860608,), (1401860610,), (1401860717,), (1401860736,), (1401860738,), (1401860741,), (1401860767,), (1401860769,), (1401860772,), (1401860776,), (1401860780,), (1401860784,), (1401860798,), (1401860808,), (1401860814,), (1401860820,), (1401860823,), (1401860826,), (1401860848,), (1401860850,), (1401860852,), (1401860853,), (1401860856,), (1401860859,), (1401860877,), (1401860879,), (1401860882,), (1401860885,), (1401860888,), (1401860919,), (1401860922,), (1401860927,), (1401860932,), (1401860937,), (1401860944,), (1401860954,), (1401860967,), (1401860970,), (1401860974,), (1401860978,), (1401861054,), (1401861058,), (1401861070,), (1401861073,), (1401861079,), (1401861143,), (1401861132,), (1401861133,), (1401861135,), (1401861139,), (1401861162,), (1401861166,), (1401861168,), (1401861170,), (1401861211,), (1401861212,), (1401861215,), (1401861217,), (1401861239,), (1401861240,), (1401861242,), (1401861246,), (1401861250,), (1401861254,), (1401861271,), (1401861272,), (1401861283,), (1401861294,), (1401861297,), (1401861300,), (1401861333,), (1401861335,), (1401861336,), (1401861338,), (1401861374,), (1401861377,), (1401861379,), (1401861382,), (1401861403,), (1401861406,), (1401861410,), (1401861414,), (1401861418,), (1401861424,), (1401861435,), (1401861436,), (1401861440,), (1401861443,), (1401861446,), (1401861449,), (1401861453,), (1401861480,), (1401861482,), (1401861483,), (1401861512,), (1401861514,), (1401861516,), (1401861519,), (1401861547,), (1401861551,), (1401861553,), (1401861557,), (1401861562,), (1401861566,), (1401861610,), (1401861611,), (1401861614,), (1401862026,), (1401862064,), (1401862095,), (1401862127,), (1401862161,), (1401862199,), (1401862259,), (1401862262,), (1401862278,), (1401862312,), (1401862345,), (1401862390,), (1401862835,), (1401862884,), (1401862922,), (1401862629,), (1401862692,), (1401862759,), (1401863196,), (1401863204,), (1401863207,), (1401863210,), (1401863213,), (1401863234,), (1401864059,), (1401864128,), (1401864162,), (1401864223,), (1401864281,), (1401864317,), (1401864568,), (1401864618,), (1401864653,), (1401864681,), (1401864712,), (1401864934,), (1401864943,), (1401864949,), (1401864952,), (1401864968,), (1401865021,), (1401865244,), (1401865290,), (1401865347,), (1401865370,), (1401865399,), (1401865412,), (1401865509,), (1401865518,), (1401865573,), (1401865576,), (1401865580,), (1401865583,), (1401865586,), (1401865587,), (1401865597,), (1401865599,), (1401865602,), (1401865606,), (1401865733,), (1401865735,), (1401865738,), (1401865761,), (1401865763,), (1401865766,), (1401865773,), (1401865777,), (1401865778,), (1401865813,), (1401865815,), (1401865817,), (1401865823,), (1401865827,), (1401865843,), (1401865866,), (1401865869,), (1401865873,), (1401865913,), (1401865915,), (1401865916,), (1401865984,), (1401865986,), (1401865991,), (1401866007,), (1401866010,), (1401866015,), (1401866028,), (1401866031,), (1401866037,), (1401866038,), (1401866066,), (1401866331,), (1401867975,), (1401867992,), (1401867994,), (1401867996,), (1401868022,), (1401868024,), (1401868029,), (1401868033,), (1401868052,), (1401868058,), (1401868095,), (1401868117,), (1401868141,), (1401868143,), (1401868371,), (1401868372,), (1401868373,), (1401868405,), (1401868407,), (1401868409,), (1401868412,), (1401868443,), (1401868444,), (1401868445,), (1401868448,), (1401868451,), (1401868454,), (1401868467,), (1401868471,), (1401868473,), (1401868476,), (1401868510,), (1401868514,), (1401868516,), (1401868518,), (1401868521,), (1401868525,), (1401868532,), (1401868539,), (1401868548,), (1401868550,), (1401868551,), (1401868552,), (1401868555,), (1401868557,), (1401868560,), (1401868564,), (1401868567,), (1401868579,), (1401868580,), (1401868581,), (1401868583,), (1401868585,), (1401868624,), (1401868625,), (1401869087,), (1401869123,), (1401869159,), (1401869197,), (1401869237,), (1401869238,), (1401870100,), (1401870215,), (1401870071,), (1401870208,), (1401870209,), (1401870211,), (1401870213,), (1401870252,), (1401870253,), (1401870254,), (1401870255,), (1401870276,), (1401870277,), (1401870326,), (1401870327,), (1401870329,), (1401870697,), (1401870731,), (1401870763,), (1401870794,), (1401870824,), (1401870942,), (1401870975,), (1401870997,), (1401871159,), (1401871162,), (1401871163,), (1401871166,), (1401871169,), (1401871175,), (1401871194,), (1401871195,), (1401871202,), (1401871210,), (1401871212,), (1401871214,), (1401871217,), (1401871220,), (1401871264,), (1401871268,), (1401871274,), (1401871279,), (1401871299,), (1401871301,), (1401871303,), (1401871472,), (1401871503,), (1401871536,), (1401871544,), (1401871547,), (1401871549,), (1401871560,), (1401871561,), (1401871569,), (1401871571,), (1401871573,), (1401871574,), (1401871577,), (1401871580,), (1401871599,), (1401871600,), (1401871602,), (1401871603,), (1401871647,), (1401871646,), (1401871682,), (1401871684,), (1401871697,), (1401871700,), (1401871740,), (1401871766,), (1401871797,), (1401871829,), (1401871862,), (1401871895,), (1401872011,), (1401872031,), (1401872034,), (1401872067,), (1401872101,), (1401872134,), (1401872236,), (1401872239,), (1401872243,), (1401872257,), (1401872258,), (1401872261,), (1401872353,), (1401872362,), (1401872401,), (1401872720,), (1401872722,), (1401872723,), (1401872746,), (1401872766,), (1401872798,), (1401872833,), (1401872868,), (1401872903,), (1401873086,), (1401873089,), (1401873126,), (1401873128,), (1401873145,), (1401873147,), (1401873163,), (1401873178,), (1401873211,), (1401873346,), (1401873348,), (1401873349,), (1401873351,), (1401873369,), (1401873371,), (1401873372,), (1401873375,), (1401873378,), (1401873383,), (1401873390,), (1401873396,), (1401873397,), (1401873399,), (1401873401,), (1401873482,), (1401873438,), (1401873468,), (1401873471,), (1401873477,), (1401873480,), (1401873494,), (1401873497,), (1401873513,), (1401873515,), (1401873517,), (1401873520,), (1401873523,), (1401873525,), (1401873592,), (1401873593,), (1401873594,), (1401873595,), (1401873625,), (1401873630,), (1401873632,), (1401873634,), (1401873654,), (1401873656,), (1401873659,), (1401873688,), (1401873689,), (1401873708,), (1401873709,), (1401873721,), (1401873758,), (1401874002,), (1401874003,), (1401874004,), (1401874007,), (1401874010,), (1401874012,), (1401874036,), (1401874038,), (1401874047,), (1401874048,), (1401874050,), (1401874052,), (1401874055,), (1401874057,), (1401874072,), (1401874074,), (1401874076,), (1401874079,), (1401874099,), (1401874100,), (1401874133,), (1401874135,), (1401874180,), (1401874236,), (1401874234,), (1401874262,), (1401874264,), (1401874267,), (1401874322,), (1401874358,), (1401874381,), (1401874460,), (1401874462,), (1401874464,), (1401874468,), (1401874490,), (1401874492,), (1401874494,), (1401874497,), (1401874514,), (1401874516,), (1401874518,), (1401874521,), (1401874525,), (1401874555,), (1401874556,), (1401874680,), (1401874682,), (1401874684,), (1401874687,), (1401874690,), (1401874691,), (1401874704,), (1401874706,), (1401874707,), (1401874755,), (1401874764,), (1401874768,), (1401874790,), (1401874915,), (1401874917,), (1401874919,), (1401874922,), (1401874940,), (1401874941,), (1401874942,), (1401874944,), (1401874987,), (1401874988,), (1401874993,), (1401875029,), (1401875063,), (1401875098,), (1401875829,), (1401875832,), (1401875843,), (1401875876,), (1401875894,), (1401875897,), (1401875900,), (1401875904,), (1401875944,), (1401875941,), (1401875963,), (1401875964,), (1401875967,), (1401875977,), (1401875982,), (1401875985,), (1401875998,), (1401876000,), (1401876002,), (1401876004,), (1401876006,), (1401876009,), (1401876039,), (1401876042,), (1401876043,), (1401876069,), (1401876073,), (1401876076,), (1401877451,), (1401877452,), (1401877453,), (1401877455,), (1401877459,), (1401877513,), (1401877515,), (1401878552,), (1401878555,), (1401878599,), (1401879151,), (1401879152,), (1401879183,), (1401879262,), (1401879264,), (1401879266,), (1401879268,), (1401879324,), (1401879326,), (1401879328,), (1401879329,), (1401879362,), (1401879376,), (1401879410,), (1401879403,), (1401879405,), (1401879407,), (1401879533,), (1401879706,), (1401879739,), (1401880106,), (1401880123,), (1401880141,), (1401880163,), (1401880167,), (1401880368,), (1401880370,), (1401880372,), (1401881461,), (1401881463,), (1401881465,), (1401881481,), (1401881483,), (1401881484,), (1401881485,), (1401881488,), (1401881516,), (1401881531,), (1401881533,), (1401881535,), (1401881569,), (1401881572,), (1401881596,), (1401881590,), (1401881592,), (1401881615,), (1401881617,), (1401881654,), (1401881655,), (1401881656,), (1401881657,), (1401881727,), (1401881729,), (1401881731,), (1401881757,), (1401881792,), (1401881921,), (1401881923,), (1401881925,), (1401881927,), (1401882037,), (1401882039,), (1401882041,), (1401882184,), (1401882187,), (1401882190,), (1401882194,), (1401882198,), (1401882219,), (1401882583,), (1401887141,), (1401887222,), (1401887223,), (1401887241,), (1401887242,), (1401887244,), (1401887246,), (1401887248,), (1401887275,), (1401887598,), (1401887599,), (1401887600,), (1401887622,), (1401887623,), (1401887625,), (1401887640,), (1401887642,), (1401887645,), (1401887678,), (1401887699,), (1401887700,), (1401887721,), (1401887722,), (1401887723,), (1401887724,), (1401887726,), (1401887756,), (1401887757,), (1401887786,), (1401887788,), (1401887807,), (1401887808,), (1401887809,), (1401887843,), (1401887845,), (1401887848,), (1401887850,), (1401887853,), (1401887868,), (1401887869,), (1401887898,), (1401887900,), (1401887903,), (1401887906,), (1401887934,), (1401887930,), (1401887931,), (1401887932,), (1401888046,), (1401888063,), (1401888069,), (1401888072,), (1401888076,), (1401888088,), (1401888089,), (1401888090,), (1401888093,), (1401888096,), (1401888100,), (1401888112,), (1401888123,), (1401888124,), (1401888128,), (1401888130,), (1401888131,), (1401888239,), (1401888251,), (1401888263,), (1401888326,), (1401888329,), (1401888331,), (1401888389,), (1401888390,), (1401888391,), (1401888416,), (1401888418,), (1401888420,), (1401888423,), (1401888451,), (1401888455,), (1401888456,), (1401888459,), (1401888462,), (1401888464,), (1401888540,), (1401888549,), (1401888558,), (1401888565,), (1401888593,), (1401888594,), (1401888595,), (1401888598,), (1401888601,), (1401888604,), (1401888611,), (1401888614,), (1401888616,), (1401888641,), (1401888674,), (1401888670,), (1401888672,), (1401888694,), (1401888695,), (1401888696,), (1401888698,), (1401888715,), (1401888723,), (1401888734,), (1401888746,), (1401888749,), (1401888751,), (1401888773,), (1401888774,), (1401888775,), (1401888820,), (1401888822,), (1401888823,), (1401888825,), (1401888827,), (1401888849,), (1401888850,), (1401888852,), (1401888853,), (1401888856,), (1401888893,), (1401888894,), (1401888897,), (1401888900,), (1401889190,), (1401889221,), (1401889234,), (1401889237,), (1401889247,), (1401889250,), (1401889264,), (1401889266,), (1401889283,), (1401889285,), (1401889287,), (1401889289,), (1401889320,), (1401889322,), (1401889323,), (1401889325,), (1401889349,), (1401889352,), (1401889354,), (1401889357,), (1401889360,), (1401889363,), (1401889374,), (1401889376,), (1401889377,), (1401889379,), (1401889415,), (1401889417,), (1401889420,), (1401889450,), (1401889454,), (1401889458,), (1401889489,), (1401889492,), (1401889495,), (1401889501,), (1401889503,), (1401889515,), (1401889517,), (1401889518,), (1401889534,), (1401889523,), (1401889526,), (1401889530,), (1401889842,), (1401889882,), (1401889915,), (1401889949,), (1401889988,), (1401890049,), (1401890735,), (1401890747,), (1401890748,), (1401890751,), (1401890754,), (1401890757,), (1401890779,), (1401890811,), (1401890843,), (1401890875,), (1401890907,), (1401890943,), (1401891038,), (1401891060,), (1401891062,), (1401891087,), (1401891365,), (1401891395,), (1401891428,), (1401891465,), (1401891501,), (1401891541,), (1401891856,), (1401891858,), (1401891860,), (1401891863,), (1401892058,), (1401892061,), (1401892076,), (1401892266,), (1401892296,), (1401892303,), (1401892305,), (1401892309,), (1401892340,), (1401892342,), (1401892344,), (1401892346,), (1401892349,), (1401892379,), (1401892380,), (1401892381,), (1401892409,), (1401892438,), (1401892439,), (1401892651,), (1401892685,), (1401892715,), (1401892718,), (1401892799,), (1401892801,), (1401892803,), (1401892806,), (1401892809,), (1401892823,), (1401893177,), (1401893173,), (1401893176,), (1401893378,), (1401893381,), (1401893511,), (1401893544,), (1401893547,), (1401893548,), (1401893551,), (1401893571,), (1401893588,), (1401893623,), (1401893656,), (1401893688,), (1401893854,), (1401893856,), (1401893857,), (1401893859,), (1401893862,), (1401893878,), (1401893879,), (1401893897,), (1401893898,), (1401893900,), (1401893902,), (1401893905,), (1401893908,), (1401893926,), (1401893928,), (1401893930,), (1401893932,), (1401893934,), (1401893936,), (1401893957,), (1401893958,), (1401893959,), (1401894071,), (1401894072,), (1401894075,), (1401894078,), (1401894081,), (1401894084,), (1401894093,), (1401894095,), (1401894096,), (1401894098,), (1401894119,), (1401894121,), (1401894124,), (1401894125,), (1401894137,), (1401894139,), (1401894141,), (1401894143,), (1401894146,), (1401894149,), (1401894175,), (1401894179,), (1401894181,), (1401894184,), (1401894192,), (1401894193,), (1401894307,), (1401894299,), (1401894329,), (1401894330,), (1401894333,), (1401894336,), (1401894371,), (1401894372,), (1401894375,), (1401894378,), (1401894381,), (1401894383,), (1401894391,), (1401894393,), (1401894397,), (1401894399,), (1401894400,), (1401894401,), (1401894404,), (1401894407,), (1401894432,), (1401894433,), (1401894435,), (1401894438,), (1401894461,), (1401894463,), (1401894466,), (1401894468,), (1401894472,), (1401894475,), (1401894481,), (1401894483,), (1401894486,), (1401894490,), (1401894495,), (1401894526,), (1401894528,), (1401894530,), (1401894533,), (1401894537,), (1401894554,), (1401894555,), (1401894556,), (1401894558,), (1401894597,), (1401894599,), (1401894602,), (1401894619,), (1401894620,), (1401894621,), (1401894623,), (1401894626,), (1401894649,), (1401894652,), (1401894657,), (1401894662,), (1401894666,), (1401894669,), (1401894680,), (1401894681,), (1401894683,), (1401894686,), (1401894689,), (1401894692,), (1401894712,), (1401894714,), (1401894717,), (1401894725,), (1401894728,), (1401894735,), (1401894737,), (1401894755,), (1401894756,), (1401894759,), (1401894792,), (1401894786,), (1401894788,), (1401894790,), (1401894808,), (1401894809,), (1401894810,), (1401894841,), (1401894843,), (1401894845,), (1401894865,), (1401894867,), (1401894869,), (1401894872,), (1401894898,), (1401894899,), (1401894924,), (1401894926,), (1401894928,), (1401894932,), (1401894957,), (1401894962,), (1401894963,), (1401894965,), (1401894983,), (1401894985,), (1401894986,), (1401894989,), (1401894992,), (1401894994,), (1401895007,), (1401895008,), (1401895057,), (1401895059,), (1401895084,), (1401895085,), (1401895086,), (1401895103,), (1401895105,), (1401895125,), (1401895126,), (1401895153,), (1401895159,), (1401895414,), (1401895349,), (1401895382,), (1401896050,), (1401896133,), (1401896243,), (1401896737,), (1401896771,), (1401896806,), (1401896837,), (1401896868,), (1401896873,), (1401897338,), (1401897339,), (1401898335,), (1401898344,), (1401898347,), (1401898350,), (1401898379,), (1401898489,), (1401898545,), (1401898547,), (1401898591,), (1401898597,), (1401898605,), (1401898663,), (1401898666,), (1401898667,), (1401898694,), (1401898695,), (1401899076,), (1401899108,), (1401899113,), (1401899117,), (1401899160,), (1401899332,), (1401899334,), (1401899336,), (1401899476,), (1401899507,), (1401899518,), (1401899520,), (1401899551,), (1401899544,), (1401899546,), (1401899548,), (1401899569,), (1401899572,), (1401899576,), (1401899580,), (1401899584,), (1401899593,), (1401899616,), (1401899921,), (1401900078,), (1401900082,), (1401900084,), (1401900087,), (1401900090,), (1401900093,), (1401900109,), (1401900129,), (1401900135,), (1401900253,), (1401900255,), (1401900256,), (1401900262,), (1401900270,), (1401900294,), (1401900295,), (1401900297,), (1401900300,), (1401900303,), (1401900307,), (1401900332,), (1401900335,), (1401900337,), (1401900342,), (1401900344,), (1401900346,), (1401900370,), (1401900463,), (1401900467,), (1401900483,), (1401900484,), (1401900686,), (1401900694,), (1401900696,), (1401900699,), (1401900716,), (1401900717,), (1401900718,), (1401900737,), (1401900743,), (1401900750,), (1401900802,), (1401900803,), (1401900804,), (1401900807,), (1401900810,), (1401900815,), (1401900828,), (1401900838,), (1401900842,), (1401900844,), (1401900846,), (1401900870,), (1401900863,), (1401900865,), (1401900866,), (1401900868,), (1401900888,), (1401900889,), (1401900904,), (1401900906,), (1401900908,), (1401900934,), (1401900935,), (1401900936,), (1401900971,), (1401900973,), (1401900975,), (1401901022,), (1401901023,), (1401901024,), (1401901026,), (1401901029,), (1401901049,), (1401901050,), (1401901088,), (1401901089,), (1401901090,), (1401901092,), (1401901124,), (1401901126,), (1401901127,), (1401901130,), (1401901133,), (1401901136,), (1401901146,), (1401901148,), (1401901166,), (1401901167,), (1401901168,), (1401901169,), (1401901195,), (1401901197,), (1401901199,), (1401901203,), (1401901206,), (1401901229,), (1401901230,), (1401901258,), (1401901259,), (1401901261,), (1401901263,), (1401901266,), (1401901292,), (1401901293,), (1401901294,), (1401901295,), (1401901316,), (1401901319,), (1401901321,), (1401901360,), (1401901351,), (1401901352,), (1401901354,), (1401901356,), (1401901359,), (1401901378,), (1401901379,), (1401901381,), (1401901428,), (1401901449,), (1401901450,), (1401901451,), (1401901452,), (1401901472,), (1401901474,), (1401901476,), (1401901479,), (1401901508,), (1401901509,), (1401901510,), (1401901512,), (1401901516,), (1401901531,), (1401901534,), (1401901537,), (1401901540,), (1401901543,), (1401901546,), (1401901559,), (1401901560,), (1401901566,), (1401901571,), (1401901573,), (1401901575,), (1401901578,), (1401901581,), (1401901584,), (1401901601,), (1401901603,), (1401901604,), (1401901607,), (1401901630,), (1401901632,), (1401901634,), (1401901637,), (1401901641,), (1401901655,), (1401901656,), (1401901657,), (1401901659,), (1401901663,), (1401901677,), (1401901679,), (1401901681,), (1401901724,), (1401901728,), (1401901732,), (1401901736,), (1401901740,), (1401901744,), (1401901758,), (1401901752,), (1401901755,), (1401902152,), (1401902218,), (1401902280,), (1401902344,), (1401902417,), (1401903201,), (1401903269,), (1401903332,), (1401903396,), (1401903474,), (1401903535,), (1401903578,), (1401903580,), (1401903582,), (1401903585,), (1401903600,), (1401903604,), (1401903640,), (1401903677,), (1401903712,), (1401903759,), (1401904157,), (1401904208,), (1401904444,), (1401904447,), (1401904448,), (1401904452,), (1401904455,), (1401904458,), (1401904476,), (1401904478,), (1401904480,), (1401904483,), (1401904507,), (1401904508,), (1401904509,), (1401904541,), (1401904543,), (1401904545,), (1401904548,), (1401904551,), (1401904553,), (1401904566,), (1401904579,), (1401904581,), (1401904587,), (1401904594,), (1401904618,), (1401904619,), (1401904621,), (1401904623,), (1401904626,), (1401904636,), (1401904638,), (1401904648,), (1401904651,), (1401904655,), (1401904658,), (1401904688,), (1401904689,), (1401904691,), (1401904694,), (1401904697,), (1401904699,), (1401904711,), (1401904712,), (1401904713,), (1401904714,), (1401904736,), (1401904737,), (1401904739,), (1401904742,), (1401904763,), (1401904764,), (1401904766,), (1401904768,), (1401904771,), (1401904775,), (1401904823,), (1401904808,), (1401904814,), (1401904860,), (1401904861,), (1401904862,), (1401904863,), (1401904865,), (1401904868,), (1401904904,), (1401904905,), (1401904908,), (1401904911,), (1401904914,), (1401904937,), (1401904939,), (1401904941,), (1401904943,), (1401904946,), (1401904948,), (1401904961,), (1401904965,), (1401904975,), (1401904977,), (1401904978,), (1401904979,), (1401904982,), (1401904983,), (1401905004,), (1401905005,), (1401905007,), (1401905010,), (1401905012,), (1401905014,), (1401905040,), (1401905043,), (1401905045,), (1401905048,), (1401905065,), (1401905066,), (1401905067,), (1401905070,), (1401905073,), (1401905076,), (1401905088,), (1401905097,), (1401905107,), (1401905110,), (1401905114,), (1401905115,), (1401905117,), (1401905120,), (1401905123,), (1401905125,), (1401905146,), (1401905147,), (1401905149,), (1401905182,), (1401905186,), (1401905188,), (1401905191,), (1401905208,), (1401905210,), (1401905211,), (1401905213,), (1401905244,), (1401905254,), (1401905262,), (1401905265,), (1401905292,), (1401905293,), (1401905294,), (1401905297,), (1401905300,), (1401905302,), (1401905319,), (1401905322,), (1401905324,), (1401905326,), (1401905380,), (1401905365,), (1401905367,), (1401905368,), (1401905374,), (1401905376,), (1401905391,), (1401905392,), (1401905397,), (1401905425,), (1401905427,), (1401905429,), (1401905432,), (1401905435,), (1401905436,), (1401905468,), (1401905470,), (1401905502,), (1401905531,), (1401905534,), (1401905536,), (1401905539,), (1401905566,), (1401905577,), (1401905842,), (1401927994,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31122025': {'nb_upload': 29, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29854612]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403] map_info['map_portfolio_photo'] : {29854612: [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403]} final : True mtd_id 4302 list_pids : [1401881596, 1401881572, 1401881569, 1401881535, 1401881533, 1401881531, 1401881516, 1401881488, 1401881485, 1401881484, 1401881483, 1401881481, 1401881465, 1401881463, 1401881461, 1401880372, 1401880370, 1401880368, 1401880167, 1401880163, 1401880141, 1401880123, 1401880106, 1401879739, 1401879706, 1401879533, 1401879407, 1401879405, 1401879403] Looping around the photos to save general results len do output : 1 /29854612Didn'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, '4297778') ('4302', '29854612', '1401881596', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881572', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881569', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881535', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881533', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881531', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881516', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881488', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881485', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881484', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881483', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881481', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881465', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881463', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401881461', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880372', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880370', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880368', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880167', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880163', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880141', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880123', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401880106', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879739', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879706', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879533', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879407', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879405', None, None, None, None, None, '4297778') ('4302', None, None, None, None, None, None, None, '4297778') ('4302', '29854612', '1401879403', None, None, None, None, None, '4297778') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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, '29854612', 'None', None, None, None, None, '4297778'), ('4302', '29854612', '1401881596', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881572', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881569', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881535', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881533', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881531', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881516', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881488', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881485', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881484', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881483', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881481', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881465', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881463', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401881461', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880372', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880370', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880368', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880167', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880163', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880141', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880123', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401880106', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879739', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879706', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879533', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879407', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879405', None, None, None, None, None, '4297778'), ('4302', '29854612', '1401879403', None, None, None, None, None, '4297778')] time used for this insertion : 0.01968693733215332 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.674803018569946 time spend to save output : 0.02000260353088379 total time spend for step 5 : 6.69480562210083 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 (4297778) 2.77user 2.55system 0:21.68elapsed 24%CPU (0avgtext+0avgdata 169928maxresident)k 632inputs+24008outputs (17major+81015minor)pagefaults 0swaps