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 : 1380941 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 (4218634) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4218634) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358933 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4218634'] with mtr_portfolio_ids : ['29358933'] and first list_photo_ids : [] new path : /proc/1380941/ Name: python3 Umask: 0002 State: R (running) Tgid: 1380941 Ngid: 0 Pid: 1380941 PPid: 1380940 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1380941 NSpid: 1380941 NSpgid: 1380243 NSsid: 1380243 VmPeak: 1113376 kB VmSize: 1113376 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 105956 kB VmRSS: 105956 kB RssAnon: 66308 kB RssFile: 39648 kB RssShmem: 0 kB VmData: 872104 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 612 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 49 nonvoluntary_ctxt_switches: 91 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1380941', 'Ngid': '0', 'Pid': '1380941', 'PPid': '1380940', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1380941', 'NSpid': '1380941', 'NSpgid': '1380243', 'NSsid': '1380243', 'VmPeak': '1113376 kB', 'VmSize': '1113376 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '105956 kB', 'VmRSS': '105956 kB', 'RssAnon': '66308 kB', 'RssFile': '39648 kB', 'RssShmem': '0 kB', 'VmData': '872104 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '612 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '49', 'nonvoluntary_ctxt_switches': '91'} ('datou_batch_current', '1380941', '1113376', '0', '1113376', '872104', '105956', b'', 'marlene', '4218634') 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 (29358933) 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 (4218634 ) ) 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 (29358933) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1398985809, 'portfolio_id': 29358933}, {'photo_id': 1398985774, 'portfolio_id': 29358933}, {'photo_id': 1398985773, 'portfolio_id': 29358933}, {'photo_id': 1398985772, 'portfolio_id': 29358933}, {'photo_id': 1398985770, 'portfolio_id': 29358933}, {'photo_id': 1398985755, 'portfolio_id': 29358933}, {'photo_id': 1398985753, 'portfolio_id': 29358933}, {'photo_id': 1398985751, 'portfolio_id': 29358933}, {'photo_id': 1398985749, 'portfolio_id': 29358933}, {'photo_id': 1398985748, 'portfolio_id': 29358933}, {'photo_id': 1398985747, 'portfolio_id': 29358933}, {'photo_id': 1398985744, 'portfolio_id': 29358933}, {'photo_id': 1398985738, 'portfolio_id': 29358933}, {'photo_id': 1398985736, 'portfolio_id': 29358933}, {'photo_id': 1398985734, 'portfolio_id': 29358933}, {'photo_id': 1398985732, 'portfolio_id': 29358933}, {'photo_id': 1398985730, 'portfolio_id': 29358933}, {'photo_id': 1398985727, 'portfolio_id': 29358933}, {'photo_id': 1398985715, 'portfolio_id': 29358933}, {'photo_id': 1398985712, 'portfolio_id': 29358933}, {'photo_id': 1398985709, 'portfolio_id': 29358933}, {'photo_id': 1398985706, 'portfolio_id': 29358933}, {'photo_id': 1398985705, 'portfolio_id': 29358933}, {'photo_id': 1398985703, 'portfolio_id': 29358933}, {'photo_id': 1398985685, 'portfolio_id': 29358933}, {'photo_id': 1398985683, 'portfolio_id': 29358933}, {'photo_id': 1398985681, 'portfolio_id': 29358933}, {'photo_id': 1398985679, 'portfolio_id': 29358933}, {'photo_id': 1398985501, 'portfolio_id': 29358933}] map_portfolio_id_photo_id: {29358933: [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501]} ##### 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.018082141876220703 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat Dec 13 05:37:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29358933) 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 : 29358933 get user id for portfolio 29358933 get sub ptf for main ptf 29358933, type 3726 and hashtags ['Carton_brun', 'environnement', 'Teint_Dans_La_Masse', 'papier', 'kraft', 'plastique', 'mal_croppe', 'autre_refus', 'metal', 'Carton_gris', 'cartonnette', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29358933 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','environnement','Teint_Dans_La_Masse','papier','kraft','plastique','mal_croppe','autre_refus','metal','Carton_gris','cartonnette','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29358933 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','environnement','Teint_Dans_La_Masse','papier','kraft','plastique','mal_croppe','autre_refus','metal','Carton_gris','cartonnette','flou')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 29358933, 'sub_port_id': 29358941, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994713, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}, 'metal': {'main_port_id': 29358933, 'sub_port_id': 29358942, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994714, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}, 'kraft': {'main_port_id': 29358933, 'sub_port_id': 29358943, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994715, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}, 'cartonnette': {'main_port_id': 29358933, 'sub_port_id': 29358944, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994716, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}, 'autre_refus': {'main_port_id': 29358933, 'sub_port_id': 29358945, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994717, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}, 'flou': {'main_port_id': 29358933, 'sub_port_id': 29358946, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994718, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}, 'mal_croppe': {'main_port_id': 29358933, 'sub_port_id': 29358947, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994719, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}, 'papier': {'main_port_id': 29358933, 'sub_port_id': 29358948, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994720, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}, 'Carton_brun': {'main_port_id': 29358933, 'sub_port_id': 29358949, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994721, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 29358933, 'sub_port_id': 29358950, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994722, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}, 'plastique': {'main_port_id': 29358933, 'sub_port_id': 29358951, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994723, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}, 'Carton_gris': {'main_port_id': 29358933, 'sub_port_id': 29358952, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994724, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29358941 , 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=29358933 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 (29358941) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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 29358942 , 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=29358933 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 (29358942) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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 29358943 , 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=29358933 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 (29358943) result : ((1398985903,), (1398985905,), (1398985959,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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 29358944 , 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=29358933 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 (29358944) result : ((1398985786,), (1398985895,), (1398985932,), (1398985948,), (1398985949,), (1398985969,), (1398985970,), (1398985971,), (1398985972,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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 29358945 , 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=29358933 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 (29358945) result : ((1398985782,), (1398985783,), (1398985890,), (1398985891,), (1398985947,), (1398985968,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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 29358946 , 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=29358933 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 (29358946) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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 29358947 , 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=29358933 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 (29358947) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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 29358948 , 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=29358933 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 (29358948) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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 29358949 , 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=29358933 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 (29358949) result : ((1398985788,), (1398985857,), (1398985897,), (1398985898,), (1398985899,), (1398985934,), (1398985950,), (1398985951,), (1398985952,), (1398985953,), (1398985954,), (1398985973,), (1398985974,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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 29358950 , 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=29358933 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 (29358950) result : ((1398985779,), (1398985780,), (1398985886,), (1398985887,), (1398985888,), (1398985889,), (1398985944,), (1398985945,), (1398985946,), (1398985960,), (1398985961,), (1398985962,), (1398985963,), (1398985964,), (1398985965,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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 29358951 , 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=29358933 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 (29358951) result : ((1398985859,), (1398985901,), (1398985902,), (1398985955,), (1398985956,), (1398985957,), (1398985977,), (1398985978,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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 29358952 , 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=29358933 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 (29358952) result : ((1398985784,), (1398985785,), (1398985893,), (1398985894,), (1398985930,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29358933) result : ((1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,)) 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`=29358933 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','environnement','Teint_Dans_La_Masse','papier','kraft','plastique','mal_croppe','autre_refus','metal','Carton_gris','cartonnette','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29358933 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','environnement','Teint_Dans_La_Masse','papier','kraft','plastique','mal_croppe','autre_refus','metal','Carton_gris','cartonnette','flou')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 29358933, 'sub_port_id': 29358965, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994737, 'last_updated_at': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}, 'metal': {'main_port_id': 29358933, 'sub_port_id': 29358966, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994738, 'last_updated_at': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}, 'kraft': {'main_port_id': 29358933, 'sub_port_id': 29358967, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994739, 'last_updated_at': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}, 'cartonnette': {'main_port_id': 29358933, 'sub_port_id': 29358968, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994740, 'last_updated_at': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}, 'autre_refus': {'main_port_id': 29358933, 'sub_port_id': 29358969, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994741, 'last_updated_at': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}, 'flou': {'main_port_id': 29358933, 'sub_port_id': 29358970, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994742, 'last_updated_at': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}, 'mal_croppe': {'main_port_id': 29358933, 'sub_port_id': 29358971, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994743, 'last_updated_at': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}, 'papier': {'main_port_id': 29358933, 'sub_port_id': 29358972, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994744, 'last_updated_at': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}, 'Carton_brun': {'main_port_id': 29358933, 'sub_port_id': 29358973, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994745, 'last_updated_at': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}, 'Teint_Dans_La_Masse': {'main_port_id': 29358933, 'sub_port_id': 29358974, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994746, 'last_updated_at': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}, 'plastique': {'main_port_id': 29358933, 'sub_port_id': 29358975, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994747, 'last_updated_at': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 3, 13, 33), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}, 'Carton_gris': {'main_port_id': 29358933, 'sub_port_id': 29358976, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19994748, 'last_updated_at': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 12, 6, 15, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 12, 3, 13, 33)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358965,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358941 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358966,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358942 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358967,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358943 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358968,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358944 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358969,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358945 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358970,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358946 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358971,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358947 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358972,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358948 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358973,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358949 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358974,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358950 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358975,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358951 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29358976,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29358952 lien utilise dans velours : https://marlene.fotonower.com/velours/29358965,29358966,29358967,29358968,29358969,29358970,29358971,29358972,29358973,29358974,29358975,29358976?tags=environnement,metal,kraft,cartonnette,autre_refus,flou,mal_croppe,papier,Carton_brun,Teint_Dans_La_Masse,plastique,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29358933]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501] map_info['map_portfolio_photo'] : {29358933: [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501]} final : False mtd_id 4302 list_pids : [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501] Looping around the photos to save general results len do output : 1 /29358933. 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, '4218634') ('4302', '29358933', '1398985809', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985774', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985773', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985772', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985770', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985755', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985753', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985751', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985749', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985748', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985747', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985744', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985738', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985736', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985734', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985732', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985730', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985727', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985715', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985712', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985709', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985706', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985705', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985703', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985685', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985683', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985681', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985679', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985501', None, None, None, None, None, '4218634') 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, '29358933', "{'environnement': 29358941, 'metal': 29358942, 'kraft': 29358943, 'cartonnette': 29358944, 'autre_refus': 29358945, 'flou': 29358946, 'mal_croppe': 29358947, 'papier': 29358948, 'Carton_brun': 29358949, 'Teint_Dans_La_Masse': 29358950, 'plastique': 29358951, 'Carton_gris': 29358952}", None, None, None, None, '4218634'), ('4302', '29358933', '1398985809', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985774', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985773', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985772', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985770', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985755', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985753', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985751', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985749', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985748', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985747', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985744', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985738', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985736', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985734', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985732', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985730', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985727', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985715', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985712', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985709', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985706', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985705', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985703', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985685', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985683', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985681', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985679', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985501', None, None, None, None, None, '4218634')] time used for this insertion : 0.019695043563842773 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.815030813217163 time spend to save output : 0.020139694213867188 total time spend for step 1 : 1.8351705074310303 step2:final Sat Dec 13 05:37:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29358933) 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 29358933 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1398985501,1398985685,1398985683,1398985681,1398985679,1398985744,1398985715,1398985738,1398985712,1398985736,1398985709,1398985734,1398985706,1398985732,1398985705,1398985703,1398985730,1398985727,1398985755,1398985753,1398985751,1398985749,1398985748,1398985747,1398985774,1398985773,1398985772,1398985770,1398985809); 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([29358933]) Inside saveOutput : final : False verbose : True original output for save of step final : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} new output for save of step final : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501] map_info['map_portfolio_photo'] : {29358933: [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501]} final : False mtd_id 4302 list_pids : [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501] Looping around the photos to save general results len do output : 29 /1398985809.Didn't retrieve data . /1398985774.Didn't retrieve data . /1398985773.Didn't retrieve data . /1398985772.Didn't retrieve data . /1398985770.Didn't retrieve data . /1398985755.Didn't retrieve data . /1398985753.Didn't retrieve data . /1398985751.Didn't retrieve data . /1398985749.Didn't retrieve data . /1398985748.Didn't retrieve data . /1398985747.Didn't retrieve data . /1398985744.Didn't retrieve data . /1398985738.Didn't retrieve data . /1398985736.Didn't retrieve data . /1398985734.Didn't retrieve data . /1398985732.Didn't retrieve data . /1398985730.Didn't retrieve data . /1398985727.Didn't retrieve data . /1398985715.Didn't retrieve data . /1398985712.Didn't retrieve data . /1398985709.Didn't retrieve data . /1398985706.Didn't retrieve data . /1398985705.Didn't retrieve data . /1398985703.Didn't retrieve data . /1398985685.Didn't retrieve data . /1398985683.Didn't retrieve data . /1398985681.Didn't retrieve data . /1398985679.Didn't retrieve data . /1398985501.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, '4218634') ('4302', '29358933', '1398985809', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985774', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985773', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985772', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985770', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985755', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985753', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985751', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985749', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985748', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985747', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985744', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985738', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985736', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985734', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985732', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985730', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985727', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985715', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985712', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985709', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985706', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985705', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985703', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985685', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985683', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985681', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985679', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985501', None, None, None, None, None, '4218634') 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', '29358933', '1398985809', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985774', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985773', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985772', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985770', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985755', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985753', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985751', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985749', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985748', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985747', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985744', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985738', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985736', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985734', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985732', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985730', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985727', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985715', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985712', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985709', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985706', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985705', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985703', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985685', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985683', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985681', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985679', '0.062389813942886216', None, None, None, None, '4218634'), ('4302', '29358933', '1398985501', '0.062389813942886216', None, None, None, None, '4218634')] time used for this insertion : 0.023011445999145508 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08105635643005371 time spend to save output : 0.02419877052307129 total time spend for step 2 : 0.105255126953125 step3:velours_tree Sat Dec 13 05:37:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29358933: [{'environnement': 29358941, 'metal': 29358942, 'kraft': 29358943, 'cartonnette': 29358944, 'autre_refus': 29358945, 'flou': 29358946, 'mal_croppe': 29358947, 'papier': 29358948, 'Carton_brun': 29358949, 'Teint_Dans_La_Masse': 29358950, 'plastique': 29358951, 'Carton_gris': 29358952}]} input_args_next_step : {29358933: ()} output_args : {29358933: [{'environnement': 29358941, 'metal': 29358942, 'kraft': 29358943, 'cartonnette': 29358944, 'autre_refus': 29358945, 'flou': 29358946, 'mal_croppe': 29358947, 'papier': 29358948, 'Carton_brun': 29358949, 'Teint_Dans_La_Masse': 29358950, 'plastique': 29358951, 'Carton_gris': 29358952}]} args : 29358933 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 : ({'environnement': 29358941, 'metal': 29358942, 'kraft': 29358943, 'cartonnette': 29358944, 'autre_refus': 29358945, 'flou': 29358946, 'mal_croppe': 29358947, 'papier': 29358948, 'Carton_brun': 29358949, 'Teint_Dans_La_Masse': 29358950, 'plastique': 29358951, 'Carton_gris': 29358952},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29358933) 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([29358933]) 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.27692604064941406 time spend to save output : 4.1484832763671875e-05 total time spend for step 3 : 0.27696752548217773 step4:send_mail_cod Sat Dec 13 05:37:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} input_args_next_step : {1398985809: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985809 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985774 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985773 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985772 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985770 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985755 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985753 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985751 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985749 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985748 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985747 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985744 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985738 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985736 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985734 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985732 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985730 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985727 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985715 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985712 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985709 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985706 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985705 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985703 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985685 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985683 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985681 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985679 depend.output_id : 0 input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ()} output_args : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',)} args : 1398985501 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 : {29358933: [{'environnement': 29358941, 'metal': 29358942, 'kraft': 29358943, 'cartonnette': 29358944, 'autre_refus': 29358945, 'flou': 29358946, 'mal_croppe': 29358947, 'papier': 29358948, 'Carton_brun': 29358949, 'Teint_Dans_La_Masse': 29358950, 'plastique': 29358951, 'Carton_gris': 29358952}]} input_args_next_step : {1398985809: ('0.062389813942886216',), 1398985774: ('0.062389813942886216',), 1398985773: ('0.062389813942886216',), 1398985772: ('0.062389813942886216',), 1398985770: ('0.062389813942886216',), 1398985755: ('0.062389813942886216',), 1398985753: ('0.062389813942886216',), 1398985751: ('0.062389813942886216',), 1398985749: ('0.062389813942886216',), 1398985748: ('0.062389813942886216',), 1398985747: ('0.062389813942886216',), 1398985744: ('0.062389813942886216',), 1398985738: ('0.062389813942886216',), 1398985736: ('0.062389813942886216',), 1398985734: ('0.062389813942886216',), 1398985732: ('0.062389813942886216',), 1398985730: ('0.062389813942886216',), 1398985727: ('0.062389813942886216',), 1398985715: ('0.062389813942886216',), 1398985712: ('0.062389813942886216',), 1398985709: ('0.062389813942886216',), 1398985706: ('0.062389813942886216',), 1398985705: ('0.062389813942886216',), 1398985703: ('0.062389813942886216',), 1398985685: ('0.062389813942886216',), 1398985683: ('0.062389813942886216',), 1398985681: ('0.062389813942886216',), 1398985679: ('0.062389813942886216',), 1398985501: ('0.062389813942886216',), 29358933: ()} output_args : {29358933: [{'environnement': 29358941, 'metal': 29358942, 'kraft': 29358943, 'cartonnette': 29358944, 'autre_refus': 29358945, 'flou': 29358946, 'mal_croppe': 29358947, 'papier': 29358948, 'Carton_brun': 29358949, 'Teint_Dans_La_Masse': 29358950, 'plastique': 29358951, 'Carton_gris': 29358952}]} args : 29358933 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.062389813942886216',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29358933) 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 (1398985809,1398985774,1398985773,1398985772,1398985770,1398985755,1398985753,1398985751,1398985749,1398985748,1398985747,1398985744,1398985738,1398985736,1398985734,1398985732,1398985730,1398985727,1398985715,1398985712,1398985709,1398985706,1398985705,1398985703,1398985685,1398985683,1398985681,1398985679,1398985501) Found this number of photos: 29 ##### Call download_photos : nb_thread : 5 begin to download photo : 1398985501 begin to download photo : 1398985705 begin to download photo : 1398985730 begin to download photo : 1398985747 begin to download photo : 1398985770 download finish for photo 1398985770 begin to download photo : 1398985772 download finish for photo 1398985730 begin to download photo : 1398985732 download finish for photo 1398985705 begin to download photo : 1398985706 download finish for photo 1398985747 begin to download photo : 1398985748 download finish for photo 1398985501 begin to download photo : 1398985679 download finish for photo 1398985732 begin to download photo : 1398985734 download finish for photo 1398985772 begin to download photo : 1398985773 download finish for photo 1398985706 begin to download photo : 1398985709 download finish for photo 1398985748 begin to download photo : 1398985749 download finish for photo 1398985679 begin to download photo : 1398985681 download finish for photo 1398985734 begin to download photo : 1398985736 download finish for photo 1398985773 begin to download photo : 1398985774 download finish for photo 1398985749 begin to download photo : 1398985751 download finish for photo 1398985709 begin to download photo : 1398985712 download finish for photo 1398985681 begin to download photo : 1398985683 download finish for photo 1398985736 begin to download photo : 1398985738 download finish for photo 1398985774 begin to download photo : 1398985809 download finish for photo 1398985751 begin to download photo : 1398985753 download finish for photo 1398985712 begin to download photo : 1398985715 download finish for photo 1398985683 begin to download photo : 1398985685 download finish for photo 1398985738 begin to download photo : 1398985744 download finish for photo 1398985809 download finish for photo 1398985715 begin to download photo : 1398985727 download finish for photo 1398985685 begin to download photo : 1398985703 download finish for photo 1398985753 begin to download photo : 1398985755 download finish for photo 1398985727 download finish for photo 1398985744 download finish for photo 1398985703 download finish for photo 1398985755 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette293589421765600681/ length of list_filenames : 29 ; length of list_pids : 29 ; length of list_args : 29 results_Auto_P29358933_13-12-2025_05_38_01.pdf 29358942 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=29358942 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette293589421765600681 29358943 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=29358943 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398985903: '1765505844_420707_1398985744_5bd3a9315a1b1c63d0720f6b9058c4ed_rle_crop_4067144914_0.png', 1398985905: '1765505844_420707_1398985715_2ec43479371575ae745605a553a4df9a_rle_crop_4067144927_0.png', 1398985959: '1765505947_422135_1398985749_290f732390b5d1c50651ac6a8759458c_rle_crop_4067145487_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/505431d1e845291481f062f830b83d78_29303268.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/505431d1e845291481f062f830b83d78_16853017.png change filename to text .imagette293589431765600681/ imagette293589431765600681/1765505947_422135_1398985749_290f732390b5d1c50651ac6a8759458c_rle_crop_4067145487_0.png.png imagette293589431765600681/1765505844_420707_1398985715_2ec43479371575ae745605a553a4df9a_rle_crop_4067144927_0.png.png imagette293589431765600681/1765505844_420707_1398985744_5bd3a9315a1b1c63d0720f6b9058c4ed_rle_crop_4067144914_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/2615fc5251e3a0433930df24228a82f3_94655675.png imagette293589431765600681 29358944 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=29358944 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398985786: '1765505706_414342_1398985679_324dfc4e8225c0d4c2ab5b14b4fc3901_rle_crop_4067144450_0.png', 1398985895: '1765505844_420707_1398985679_324dfc4e8225c0d4c2ab5b14b4fc3901_rle_crop_4067144450_0.png', 1398985932: '1765506067_427128_1398985755_21094edd24da837846a04cf1ce8ba9d3_rle_crop_4067145042_0.png', 1398985948: '1765505947_422135_1398985751_9596285335a7972150dbc062609aad3c_rle_crop_4067145473_0.png', 1398985949: '1765505947_422135_1398985747_2a60a56e186041074dae4ee63e24a98f_rle_crop_4067145513_0.png', 1398985969: '1765505826_420654_1398985736_2b24a6e8e943d91d31d72b09c5a51570_rle_crop_4067145534_0.png', 1398985970: '1765505826_420654_1398985736_2b24a6e8e943d91d31d72b09c5a51570_rle_crop_4067145536_0.png', 1398985971: '1765505826_420654_1398985709_d69274a1c9629fbc2feb18804fb545ca_rle_crop_4067145580_0.png', 1398985972: '1765505826_420654_1398985709_d69274a1c9629fbc2feb18804fb545ca_rle_crop_4067145582_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/43712ce54cf9c272f66efcbb3776f3a5_58966022.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/43712ce54cf9c272f66efcbb3776f3a5_36321625.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/aa7aa75842350583a45b97b25dc0d426_90210605.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/02c4211064b6ec42fc21228dec434166_67510553.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/eeda8d29810789ab71d7eb6dfffdd00e_70578895.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/0541cb74d63ae82ff96790a85ccc33c3_88695087.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/2dee65d8454a1f2b25187444e427b501_68372084.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/0541cb74d63ae82ff96790a85ccc33c3_44675589.png change filename to text .imagette293589441765600681/ imagette293589441765600681/1765505947_422135_1398985747_2a60a56e186041074dae4ee63e24a98f_rle_crop_4067145513_0.png.png imagette293589441765600681/1765505947_422135_1398985751_9596285335a7972150dbc062609aad3c_rle_crop_4067145473_0.png.png imagette293589441765600681/1765505844_420707_1398985679_324dfc4e8225c0d4c2ab5b14b4fc3901_rle_crop_4067144450_0.png.png imagette293589441765600681/1765505826_420654_1398985709_d69274a1c9629fbc2feb18804fb545ca_rle_crop_4067145580_0.png.png imagette293589441765600681/1765505826_420654_1398985736_2b24a6e8e943d91d31d72b09c5a51570_rle_crop_4067145536_0.png.png imagette293589441765600681/1765505826_420654_1398985709_d69274a1c9629fbc2feb18804fb545ca_rle_crop_4067145582_0.png.png imagette293589441765600681/1765505826_420654_1398985736_2b24a6e8e943d91d31d72b09c5a51570_rle_crop_4067145534_0.png.png imagette293589441765600681/1765505706_414342_1398985679_324dfc4e8225c0d4c2ab5b14b4fc3901_rle_crop_4067144450_0.png.png imagette293589441765600681/1765506067_427128_1398985755_21094edd24da837846a04cf1ce8ba9d3_rle_crop_4067145042_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/2dee65d8454a1f2b25187444e427b501_56316434.png imagette293589441765600681 29358945 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=29358945 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398985782: '1765505706_414342_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144421_0.png', 1398985783: '1765505706_414342_1398985679_324dfc4e8225c0d4c2ab5b14b4fc3901_rle_crop_4067144452_0.png', 1398985890: '1765505844_420707_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144421_0.png', 1398985891: '1765505844_420707_1398985679_324dfc4e8225c0d4c2ab5b14b4fc3901_rle_crop_4067144452_0.png', 1398985947: '1765505947_422135_1398985774_3eaeee5b6508389ab9adda94c2a99dfd_rle_crop_4067145440_0.png', 1398985968: '1765505826_420654_1398985732_d7718a44792c032cdd250aab3b3b29df_rle_crop_4067145559_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/1a2d1992d68e0f4adba2f8ce2cbb0ab6_85496503.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/01a959035c34cd0de4578b70e6ca35da_83039135.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/1a2d1992d68e0f4adba2f8ce2cbb0ab6_14720117.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/01a959035c34cd0de4578b70e6ca35da_56766562.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/3fa454ac029f6ecf0d3d33e375f0265b_44529349.png change filename to text .imagette293589451765600682/ imagette293589451765600682/1765505844_420707_1398985679_324dfc4e8225c0d4c2ab5b14b4fc3901_rle_crop_4067144452_0.png.png imagette293589451765600682/1765505706_414342_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144421_0.png.png imagette293589451765600682/1765505844_420707_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144421_0.png.png imagette293589451765600682/1765505947_422135_1398985774_3eaeee5b6508389ab9adda94c2a99dfd_rle_crop_4067145440_0.png.png imagette293589451765600682/1765505826_420654_1398985732_d7718a44792c032cdd250aab3b3b29df_rle_crop_4067145559_0.png.png imagette293589451765600682/1765505706_414342_1398985679_324dfc4e8225c0d4c2ab5b14b4fc3901_rle_crop_4067144452_0.png.png imagette293589461765600683/ imagette293589471765600683/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/9b063a61865f9c8c3a597fabcb4214ab_43691651.png imagette293589451765600682 29358946 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=29358946 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette293589461765600683 29358947 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=29358947 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette293589471765600683 29358951 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=29358951 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398985859: '1765505905_421284_1398985773_275616a2fd51d484e1245e94f655cdfd_rle_crop_4067144688_0.png', 1398985901: '1765505844_420707_1398985744_5bd3a9315a1b1c63d0720f6b9058c4ed_rle_crop_4067144918_0.png', 1398985902: '1765505844_420707_1398985715_2ec43479371575ae745605a553a4df9a_rle_crop_4067144931_0.png', 1398985955: '1765505947_422135_1398985774_3eaeee5b6508389ab9adda94c2a99dfd_rle_crop_4067145444_0.png', 1398985956: '1765505947_422135_1398985774_3eaeee5b6508389ab9adda94c2a99dfd_rle_crop_4067145433_0.png', 1398985957: '1765505947_422135_1398985753_7cbd52e9b8bf88a94d8500ee8afcc5af_rle_crop_4067145460_0.png', 1398985977: '1765505826_420654_1398985738_cd9ef97ebd07b88b50de92f102ae28fc_rle_crop_4067145528_0.png', 1398985978: '1765505826_420654_1398985712_5aa092112c27074d8e14222867ba7125_rle_crop_4067145574_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/5ba90880597b330da024afa09c28d141_55240732.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/48535f94ab6c363304aa3e33e625494c_23804075.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/48535f94ab6c363304aa3e33e625494c_32677560.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/aea0d502a71ccb81107eae9430b8ee30_60493822.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/3a9ba5e7adcdf287a71b33033264a38d_4391283.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/0987a6021a4739755843c93f49de9bea_73097078.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/b7b80ac47117a9c6174556cfedc8a15c_4899767.png change filename to text .imagette293589511765600683/ imagette293589511765600683/1765505844_420707_1398985744_5bd3a9315a1b1c63d0720f6b9058c4ed_rle_crop_4067144918_0.png.png imagette293589511765600683/1765505844_420707_1398985715_2ec43479371575ae745605a553a4df9a_rle_crop_4067144931_0.png.png imagette293589511765600683/1765505826_420654_1398985712_5aa092112c27074d8e14222867ba7125_rle_crop_4067145574_0.png.png imagette293589511765600683/1765505947_422135_1398985774_3eaeee5b6508389ab9adda94c2a99dfd_rle_crop_4067145444_0.png.png imagette293589511765600683/1765505826_420654_1398985738_cd9ef97ebd07b88b50de92f102ae28fc_rle_crop_4067145528_0.png.png imagette293589511765600683/1765505947_422135_1398985753_7cbd52e9b8bf88a94d8500ee8afcc5af_rle_crop_4067145460_0.png.png imagette293589511765600683/1765505905_421284_1398985773_275616a2fd51d484e1245e94f655cdfd_rle_crop_4067144688_0.png.png imagette293589511765600683/1765505947_422135_1398985774_3eaeee5b6508389ab9adda94c2a99dfd_rle_crop_4067145433_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/b7b80ac47117a9c6174556cfedc8a15c_11647168.png imagette293589511765600683 29358949 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=29358949 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398985788: '1765505706_414342_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144419_0.png', 1398985857: '1765505905_421284_1398985773_275616a2fd51d484e1245e94f655cdfd_rle_crop_4067144694_0.png', 1398985897: '1765505844_420707_1398985744_5bd3a9315a1b1c63d0720f6b9058c4ed_rle_crop_4067144915_0.png', 1398985898: '1765505844_420707_1398985715_2ec43479371575ae745605a553a4df9a_rle_crop_4067144928_0.png', 1398985899: '1765505844_420707_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144419_0.png', 1398985934: '1765506067_427128_1398985755_21094edd24da837846a04cf1ce8ba9d3_rle_crop_4067145044_0.png', 1398985950: '1765505947_422135_1398985774_3eaeee5b6508389ab9adda94c2a99dfd_rle_crop_4067145442_0.png', 1398985951: '1765505947_422135_1398985753_7cbd52e9b8bf88a94d8500ee8afcc5af_rle_crop_4067145455_0.png', 1398985952: '1765505947_422135_1398985751_9596285335a7972150dbc062609aad3c_rle_crop_4067145471_0.png', 1398985953: '1765505947_422135_1398985751_9596285335a7972150dbc062609aad3c_rle_crop_4067145470_0.png', 1398985954: '1765505947_422135_1398985747_2a60a56e186041074dae4ee63e24a98f_rle_crop_4067145516_0.png', 1398985973: '1765505826_420654_1398985734_2abe8960ebe55afe4cbe47a7a4c0472f_rle_crop_4067145550_0.png', 1398985974: '1765505826_420654_1398985706_b6768a9b298bb4609bb1b09f523bf042_rle_crop_4067145596_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/940aa9fc8d160e0ac9f7a9a7c58f44b0_48701409.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/8347a9f00555db28ec06d998fea42ba9_15603028.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/daa2b57c6c4e1f33e882bda4ad3fe14d_70897621.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/daa2b57c6c4e1f33e882bda4ad3fe14d_47064668.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/940aa9fc8d160e0ac9f7a9a7c58f44b0_85291978.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/9f44753e3f9de7cf25c0ba2d4aed1ef2_81632229.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/b466c59602e4b7c2888b62eaf4225f85_57123133.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/2e1da64398ae8819a493ca90e3fa0836_88266231.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/fb15d788fb7e37e2571526b6f88ad4ca_90140571.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/d866d3161a3e1858c31305d4fa7d4d11_19078821.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/52d1003bb45fafc8ce2f06a722e156c9_56606362.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/629281e5c11cb35ce8641008ea96b14b_47987201.png change filename to text .imagette293589491765600685/ imagette293589491765600685/1765505826_420654_1398985706_b6768a9b298bb4609bb1b09f523bf042_rle_crop_4067145596_0.png.png imagette293589491765600685/1765505826_420654_1398985734_2abe8960ebe55afe4cbe47a7a4c0472f_rle_crop_4067145550_0.png.png imagette293589491765600685/1765505947_422135_1398985751_9596285335a7972150dbc062609aad3c_rle_crop_4067145471_0.png.png imagette293589491765600685/1765505947_422135_1398985753_7cbd52e9b8bf88a94d8500ee8afcc5af_rle_crop_4067145455_0.png.png imagette293589491765600685/1765505947_422135_1398985774_3eaeee5b6508389ab9adda94c2a99dfd_rle_crop_4067145442_0.png.png imagette293589491765600685/1765505947_422135_1398985747_2a60a56e186041074dae4ee63e24a98f_rle_crop_4067145516_0.png.png imagette293589491765600685/1765506067_427128_1398985755_21094edd24da837846a04cf1ce8ba9d3_rle_crop_4067145044_0.png.png imagette293589491765600685/1765505844_420707_1398985715_2ec43479371575ae745605a553a4df9a_rle_crop_4067144928_0.png.png imagette293589491765600685/1765505905_421284_1398985773_275616a2fd51d484e1245e94f655cdfd_rle_crop_4067144694_0.png.png imagette293589491765600685/1765505947_422135_1398985751_9596285335a7972150dbc062609aad3c_rle_crop_4067145470_0.png.png imagette293589491765600685/1765505706_414342_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144419_0.png.png imagette293589491765600685/1765505844_420707_1398985744_5bd3a9315a1b1c63d0720f6b9058c4ed_rle_crop_4067144915_0.png.png imagette293589491765600685/1765505844_420707_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144419_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/629281e5c11cb35ce8641008ea96b14b_88493876.png imagette293589491765600685 29358950 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=29358950 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398985779: '1765505706_414342_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144424_0.png', 1398985780: '1765505706_414342_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144435_0.png', 1398985886: '1765505844_420707_1398985744_5bd3a9315a1b1c63d0720f6b9058c4ed_rle_crop_4067144916_0.png', 1398985887: '1765505844_420707_1398985715_2ec43479371575ae745605a553a4df9a_rle_crop_4067144929_0.png', 1398985888: '1765505844_420707_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144424_0.png', 1398985889: '1765505844_420707_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144435_0.png', 1398985944: '1765505947_422135_1398985753_7cbd52e9b8bf88a94d8500ee8afcc5af_rle_crop_4067145463_0.png', 1398985945: '1765505947_422135_1398985749_290f732390b5d1c50651ac6a8759458c_rle_crop_4067145493_0.png', 1398985946: '1765505947_422135_1398985748_ce7733999ea4cd8bcfb8c0dadacd7c4f_rle_crop_4067145504_0.png', 1398985960: '1765505826_420654_1398985738_cd9ef97ebd07b88b50de92f102ae28fc_rle_crop_4067145529_0.png', 1398985961: '1765505826_420654_1398985736_2b24a6e8e943d91d31d72b09c5a51570_rle_crop_4067145539_0.png', 1398985962: '1765505826_420654_1398985734_2abe8960ebe55afe4cbe47a7a4c0472f_rle_crop_4067145554_0.png', 1398985963: '1765505826_420654_1398985712_5aa092112c27074d8e14222867ba7125_rle_crop_4067145575_0.png', 1398985964: '1765505826_420654_1398985709_d69274a1c9629fbc2feb18804fb545ca_rle_crop_4067145585_0.png', 1398985965: '1765505826_420654_1398985706_b6768a9b298bb4609bb1b09f523bf042_rle_crop_4067145600_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/fe87d4257ba6a26e1f10fe8d71a3afb7_4976432.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/22a95cd45b3334a56fe7aff58f3f2206_43774143.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/fc796e3b916db905418a783ec581af44_91195521.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/fc796e3b916db905418a783ec581af44_12520907.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/fe87d4257ba6a26e1f10fe8d71a3afb7_6370099.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/22a95cd45b3334a56fe7aff58f3f2206_60063027.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/e6447396cffc804e135e6a1cd1ff447d_40884611.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/c0687b5a4127a52a105439d75b9f9e0d_55063094.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/e306c60a99b1f85f13456b7d99eb841c_51392084.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/5e2d19a45aff9525d0d3d6360a686315_36101737.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/836d6160d96e09237557d809827bd6c1_42185154.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/3dd3548c0b39963b860e95175bea2956_18758000.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/5e2d19a45aff9525d0d3d6360a686315_39528854.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/836d6160d96e09237557d809827bd6c1_89307140.png change filename to text .imagette293589501765600686/ imagette293589501765600686/1765505844_420707_1398985715_2ec43479371575ae745605a553a4df9a_rle_crop_4067144929_0.png.png imagette293589501765600686/1765505826_420654_1398985734_2abe8960ebe55afe4cbe47a7a4c0472f_rle_crop_4067145554_0.png.png imagette293589501765600686/1765505826_420654_1398985712_5aa092112c27074d8e14222867ba7125_rle_crop_4067145575_0.png.png imagette293589501765600686/1765505826_420654_1398985706_b6768a9b298bb4609bb1b09f523bf042_rle_crop_4067145600_0.png.png imagette293589501765600686/1765505706_414342_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144424_0.png.png imagette293589501765600686/1765505844_420707_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8_rle_crop_4067144424_0.png.png imagette293589501765600686/1765505844_420707_1398985744_5bd3a9315a1b1c63d0720f6b9058c4ed_rle_crop_4067144916_0.png.png imagette293589501765600686/1765505947_422135_1398985748_ce7733999ea4cd8bcfb8c0dadacd7c4f_rle_crop_4067145504_0.png.png imagette293589501765600686/1765505826_420654_1398985738_cd9ef97ebd07b88b50de92f102ae28fc_rle_crop_4067145529_0.png.png imagette293589501765600686/1765505844_420707_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144435_0.png.png imagette293589501765600686/1765505947_422135_1398985749_290f732390b5d1c50651ac6a8759458c_rle_crop_4067145493_0.png.png imagette293589501765600686/1765505706_414342_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144435_0.png.png imagette293589501765600686/1765505826_420654_1398985709_d69274a1c9629fbc2feb18804fb545ca_rle_crop_4067145585_0.png.png imagette293589501765600686/1765505826_420654_1398985736_2b24a6e8e943d91d31d72b09c5a51570_rle_crop_4067145539_0.png.png imagette293589501765600686/1765505947_422135_1398985753_7cbd52e9b8bf88a94d8500ee8afcc5af_rle_crop_4067145463_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/3dd3548c0b39963b860e95175bea2956_55693850.png imagette293589501765600686 29358952 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=29358952 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398985784: '1765505706_414342_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144432_0.png', 1398985785: '1765505706_414342_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144433_0.png', 1398985893: '1765505844_420707_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144432_0.png', 1398985894: '1765505844_420707_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144433_0.png', 1398985930: '1765506067_427128_1398985755_21094edd24da837846a04cf1ce8ba9d3_rle_crop_4067145036_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/d48b5310352f4f9264e0709632a4240a_58856728.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/b7ff1680b343754fc396df8692427ea4_53104956.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/d48b5310352f4f9264e0709632a4240a_70211294.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/b7ff1680b343754fc396df8692427ea4_16163721.png change filename to text .imagette293589521765600688/ imagette293589521765600688/1765506067_427128_1398985755_21094edd24da837846a04cf1ce8ba9d3_rle_crop_4067145036_0.png.png imagette293589521765600688/1765505706_414342_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144433_0.png.png imagette293589521765600688/1765505706_414342_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144432_0.png.png imagette293589521765600688/1765505844_420707_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144432_0.png.png imagette293589521765600688/1765505844_420707_1398985681_3d870539f1a956b59bfbe7feed514db4_rle_crop_4067144433_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/b168739e7c69e9d43384d4324326e506_68399075.png imagette293589521765600688 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29358933 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29358965,29358966,29358967,29358968,29358969,29358970,29358971,29358972,29358973,29358974,29358975,29358976?tags=environnement,metal,kraft,cartonnette,autre_refus,flou,mal_croppe,papier,Carton_brun,Teint_Dans_La_Masse,plastique,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1398985809] : ('0.062389813942886216',) no score found for photo 1398985809 We are sending mail with results at report@fotonower.com args[1398985774] : ('0.062389813942886216',) no score found for photo 1398985774 We are sending mail with results at report@fotonower.com args[1398985773] : ('0.062389813942886216',) no score found for photo 1398985773 We are sending mail with results at report@fotonower.com args[1398985772] : ('0.062389813942886216',) no score found for photo 1398985772 We are sending mail with results at report@fotonower.com args[1398985770] : ('0.062389813942886216',) no score found for photo 1398985770 We are sending mail with results at report@fotonower.com args[1398985755] : ('0.062389813942886216',) no score found for photo 1398985755 We are sending mail with results at report@fotonower.com args[1398985753] : ('0.062389813942886216',) no score found for photo 1398985753 We are sending mail with results at report@fotonower.com args[1398985751] : ('0.062389813942886216',) no score found for photo 1398985751 We are sending mail with results at report@fotonower.com args[1398985749] : ('0.062389813942886216',) no score found for photo 1398985749 We are sending mail with results at report@fotonower.com args[1398985748] : ('0.062389813942886216',) no score found for photo 1398985748 We are sending mail with results at report@fotonower.com args[1398985747] : ('0.062389813942886216',) no score found for photo 1398985747 We are sending mail with results at report@fotonower.com args[1398985744] : ('0.062389813942886216',) no score found for photo 1398985744 We are sending mail with results at report@fotonower.com args[1398985738] : ('0.062389813942886216',) no score found for photo 1398985738 We are sending mail with results at report@fotonower.com args[1398985736] : ('0.062389813942886216',) no score found for photo 1398985736 We are sending mail with results at report@fotonower.com args[1398985734] : ('0.062389813942886216',) no score found for photo 1398985734 We are sending mail with results at report@fotonower.com args[1398985732] : ('0.062389813942886216',) no score found for photo 1398985732 We are sending mail with results at report@fotonower.com args[1398985730] : ('0.062389813942886216',) no score found for photo 1398985730 We are sending mail with results at report@fotonower.com args[1398985727] : ('0.062389813942886216',) no score found for photo 1398985727 We are sending mail with results at report@fotonower.com args[1398985715] : ('0.062389813942886216',) no score found for photo 1398985715 We are sending mail with results at report@fotonower.com args[1398985712] : ('0.062389813942886216',) no score found for photo 1398985712 We are sending mail with results at report@fotonower.com args[1398985709] : ('0.062389813942886216',) no score found for photo 1398985709 We are sending mail with results at report@fotonower.com args[1398985706] : ('0.062389813942886216',) no score found for photo 1398985706 We are sending mail with results at report@fotonower.com args[1398985705] : ('0.062389813942886216',) no score found for photo 1398985705 We are sending mail with results at report@fotonower.com args[1398985703] : ('0.062389813942886216',) no score found for photo 1398985703 We are sending mail with results at report@fotonower.com args[1398985685] : ('0.062389813942886216',) no score found for photo 1398985685 We are sending mail with results at report@fotonower.com args[1398985683] : ('0.062389813942886216',) no score found for photo 1398985683 We are sending mail with results at report@fotonower.com args[1398985681] : ('0.062389813942886216',) no score found for photo 1398985681 We are sending mail with results at report@fotonower.com args[1398985679] : ('0.062389813942886216',) no score found for photo 1398985679 We are sending mail with results at report@fotonower.com args[1398985501] : ('0.062389813942886216',) no score found for photo 1398985501 We are sending mail with results at report@fotonower.com refus_total : 0.062389813942886216 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=29358933 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_P29358933_13-12-2025_05_38_01.pdf results_Auto_P29358933_13-12-2025_05_38_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29358933_13-12-2025_05_38_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','29358933','results_Auto_P29358933_13-12-2025_05_38_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29358933_13-12-2025_05_38_01.pdf','pdf','','0.36','0.062389813942886216') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29358933]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501] map_info['map_portfolio_photo'] : {29358933: [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501]} final : False mtd_id 4302 list_pids : [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501] 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, '4218634') ('4302', '29358933', '1398985809', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985774', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985773', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985772', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985770', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985755', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985753', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985751', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985749', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985748', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985747', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985744', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985738', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985736', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985734', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985732', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985730', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985727', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985715', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985712', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985709', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985706', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985705', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985703', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985685', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985683', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985681', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985679', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985501', None, None, None, None, None, '4218634') 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', '29358933', '1398985809', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985774', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985773', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985772', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985770', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985755', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985753', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985751', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985749', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985748', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985747', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985744', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985738', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985736', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985734', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985732', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985730', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985727', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985715', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985712', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985709', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985706', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985705', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985703', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985685', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985683', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985681', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985679', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985501', None, None, None, None, None, '4218634')] time used for this insertion : 0.019103527069091797 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.495189666748047 time spend to save output : 0.01944589614868164 total time spend for step 4 : 11.514635562896729 step5:split_time_score Sat Dec 13 05:38:11 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['29358933'] 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 : [('29358933',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29358933) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1398985770: {'path': 'temp/1765600679_1380941_1398985770_e13d922c92ddb07d2738489131c949aa.jpg', 'extension': 'jpg'}, 1398985772: {'path': 'temp/1765600679_1380941_1398985772_6a7bb268544e7fcbe88d3486ccb69dcb.jpg', 'extension': 'jpg'}, 1398985773: {'path': 'temp/1765600679_1380941_1398985773_275616a2fd51d484e1245e94f655cdfd.jpg', 'extension': 'jpg'}, 1398985774: {'path': 'temp/1765600679_1380941_1398985774_3eaeee5b6508389ab9adda94c2a99dfd.jpg', 'extension': 'jpg'}, 1398985809: {'path': 'temp/1765600679_1380941_1398985809_67172e68631d8834a8958a631487d852.jpg', 'extension': 'jpg'}, 1398985705: {'path': 'temp/1765600679_1380941_1398985705_3d41b5930cfd7a0f252ad35f6143da92.jpg', 'extension': 'jpg'}, 1398985706: {'path': 'temp/1765600679_1380941_1398985706_b6768a9b298bb4609bb1b09f523bf042.jpg', 'extension': 'jpg'}, 1398985709: {'path': 'temp/1765600679_1380941_1398985709_d69274a1c9629fbc2feb18804fb545ca.jpg', 'extension': 'jpg'}, 1398985712: {'path': 'temp/1765600679_1380941_1398985712_5aa092112c27074d8e14222867ba7125.jpg', 'extension': 'jpg'}, 1398985715: {'path': 'temp/1765600679_1380941_1398985715_2ec43479371575ae745605a553a4df9a.jpg', 'extension': 'jpg'}, 1398985727: {'path': 'temp/1765600679_1380941_1398985727_d57e65bc4eb994d8c4ddea37d2a07c1b.jpg', 'extension': 'jpg'}, 1398985730: {'path': 'temp/1765600679_1380941_1398985730_df02f3655d2180845b2648f831af9564.jpg', 'extension': 'jpg'}, 1398985732: {'path': 'temp/1765600679_1380941_1398985732_d7718a44792c032cdd250aab3b3b29df.jpg', 'extension': 'jpg'}, 1398985734: {'path': 'temp/1765600679_1380941_1398985734_2abe8960ebe55afe4cbe47a7a4c0472f.jpg', 'extension': 'jpg'}, 1398985736: {'path': 'temp/1765600679_1380941_1398985736_2b24a6e8e943d91d31d72b09c5a51570.jpg', 'extension': 'jpg'}, 1398985738: {'path': 'temp/1765600679_1380941_1398985738_cd9ef97ebd07b88b50de92f102ae28fc.jpg', 'extension': 'jpg'}, 1398985744: {'path': 'temp/1765600679_1380941_1398985744_5bd3a9315a1b1c63d0720f6b9058c4ed.jpg', 'extension': 'jpg'}, 1398985501: {'path': 'temp/1765600679_1380941_1398985501_64f6f0d4ff638ec44b79d45a92e7fa5f.jpg', 'extension': 'jpg'}, 1398985679: {'path': 'temp/1765600679_1380941_1398985679_324dfc4e8225c0d4c2ab5b14b4fc3901.jpg', 'extension': 'jpg'}, 1398985681: {'path': 'temp/1765600679_1380941_1398985681_3d870539f1a956b59bfbe7feed514db4.jpg', 'extension': 'jpg'}, 1398985683: {'path': 'temp/1765600679_1380941_1398985683_b9d8823e81fbc36e227a157bdcb9f3c8.jpg', 'extension': 'jpg'}, 1398985685: {'path': 'temp/1765600679_1380941_1398985685_2cbaa0d1fa2b7ed051c11f243b2fda8e.jpg', 'extension': 'jpg'}, 1398985703: {'path': 'temp/1765600679_1380941_1398985703_6b6ebbf71c0c17520da392d825065d68.jpg', 'extension': 'jpg'}, 1398985747: {'path': 'temp/1765600679_1380941_1398985747_2a60a56e186041074dae4ee63e24a98f.jpg', 'extension': 'jpg'}, 1398985748: {'path': 'temp/1765600679_1380941_1398985748_ce7733999ea4cd8bcfb8c0dadacd7c4f.jpg', 'extension': 'jpg'}, 1398985749: {'path': 'temp/1765600679_1380941_1398985749_290f732390b5d1c50651ac6a8759458c.jpg', 'extension': 'jpg'}, 1398985751: {'path': 'temp/1765600679_1380941_1398985751_9596285335a7972150dbc062609aad3c.jpg', 'extension': 'jpg'}, 1398985753: {'path': 'temp/1765600679_1380941_1398985753_7cbd52e9b8bf88a94d8500ee8afcc5af.jpg', 'extension': 'jpg'}, 1398985755: {'path': 'temp/1765600679_1380941_1398985755_21094edd24da837846a04cf1ce8ba9d3.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 = 29358933; (('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 = 29358933 group by h (('03', 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=29358933 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 (29358933) 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 (29358933) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12122025 29358933 Nombre de photos uploadées : 29 / 23040 (0%) 12122025 29358933 Nombre de photos taguées (types de déchets): 0 / 29 (0%) 12122025 29358933 Nombre de photos taguées (volume) : 0 / 29 (0%) [{'photo_id': 1398985501, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/64f6f0d4ff638ec44b79d45a92e7fa5f.jpg', 'username': None, 'uploaded_at': 1765505013, 'text': 'image_12122025_03_02_34_9126.jpg'}, {'photo_id': 1398985685, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/2cbaa0d1fa2b7ed051c11f243b2fda8e.jpg', 'username': None, 'uploaded_at': 1765505467, 'text': 'image_12122025_03_10_04_010151m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1398985683, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/b9d8823e81fbc36e227a157bdcb9f3c8.jpg', 'username': None, 'uploaded_at': 1765505467, 'text': 'image_12122025_03_10_14_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1398985681, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/12/3d870539f1a956b59bfbe7feed514db4.jpg', 'username': None, 'uploaded_at': 1765505467, 'text': 'image_12122025_03_10_25_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001252889633178711 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29358933, '2025-12-12' ) 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-12' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2725864,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.25032830238342285 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= 2725864 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29353967, 'dashboard_result_id': 18346583, '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_P29353967_13-12-2025_05_34_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29353970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29353971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29353972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29353973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29353974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29353975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29353976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29353977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29353978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29353979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29353980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29353981, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29354414, 'dashboard_result_id': 18346584, '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_P29354414_13-12-2025_05_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29354415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29354416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29354417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29354418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29354419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29354420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29354421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29354422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29354423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29354424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29354425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29354426, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29354703, 'dashboard_result_id': 18346585, '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_P29354703_13-12-2025_05_35_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29354707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29354708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29354709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29354710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29354711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29354712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29354713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29354714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29354715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29354716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29354717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29354718, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29355153, 'dashboard_result_id': 18346586, '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_P29355153_13-12-2025_05_35_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29355162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29355163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29355164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29355165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29355166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29355167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29355168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29355169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29355170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29355171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29355172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29355173, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29356369, 'dashboard_result_id': 18346587, '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_P29356369_13-12-2025_05_36_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29356370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29356371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29356372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29356373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29356374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29356375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29356376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29356377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29356378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29356379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29356380, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29356381, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29356788, 'dashboard_result_id': 18346588, '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_P29356788_13-12-2025_05_36_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29356796, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29356797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29356798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29356799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29356800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29356801, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29356802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29356803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29356804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29356805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29356806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29356807, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29357162, 'dashboard_result_id': 18346589, '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_P29357162_13-12-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29357171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29357172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29357173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29357174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29357175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29357176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29357177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29357178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29357179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29357180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29357181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29357182, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29357697, 'dashboard_result_id': 18346590, '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_P29357697_13-12-2025_05_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29357702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29357703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29357704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29357705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29357706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29357707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29357708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29357709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29357710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29357711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29357712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29357713, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29358082, 'dashboard_result_id': 18346591, '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_P29358082_13-12-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29358091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29358092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29358093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29358094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29358095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29358096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29358097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29358098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29358099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29358100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29358101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29358102, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29358557, 'dashboard_result_id': 18346592, '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_P29358557_13-12-2025_05_37_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29358562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29358563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29358564, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29358565, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29358566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29358567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29358568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29358569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29358570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29358571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29358572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29358573, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29358933, 'dashboard_result_id': 18346593, '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_P29358933_12-12-2025_06_15_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29358941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29358942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29358943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29358944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29358945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29358946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29358947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29358948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29358949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29358950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29358951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29358952, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29359035, 'dashboard_result_id': 18346594, '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_P29359035_12-12-2025_06_15_40.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29359060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29359061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29359062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29359063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29359064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29359065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29359066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29359067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29359068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29359069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29359070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29359071, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29359405, 'dashboard_result_id': 18346595, '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_P29359405_12-12-2025_06_16_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29359414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29359415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29359416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29359417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29359418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29359419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29359420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29359421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29359422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29359423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29359424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29359425, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29359799, 'dashboard_result_id': 18346596, '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_P29359799_12-12-2025_04_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29359808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29359809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29359810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29359811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29359812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29359813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29359814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29359815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29359816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29359817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29359818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29359819, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29360191, 'dashboard_result_id': 18346597, '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_P29360191_12-12-2025_06_16_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29360230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29360231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29360232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29360233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29360234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29360235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29360236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29360237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29360239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29360240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29360241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29360242, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29361267, 'dashboard_result_id': 18346598, '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_P29361267_12-12-2025_06_17_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29361268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29361269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29361270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29361271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29361272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29361273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29361274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29361275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29361276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29361277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29361278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29361279, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29361419, 'dashboard_result_id': 18346599, '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_P29361419_12-12-2025_05_40_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29361424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29361425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29361426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29361427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29361428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29361429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29361430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29361431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29361432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29361433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29361434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29361435, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29361719, 'dashboard_result_id': 18346600, '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_P29361719_12-12-2025_05_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29361747, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29361748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29361749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29361750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29361751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29361752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29361753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29361754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29361755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29361756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29361757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29361758, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29362085, 'dashboard_result_id': 18346601, '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_P29362085_12-12-2025_06_03_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29362093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29362094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29362095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29362096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29362097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29362098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29362099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29362100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29362101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29362102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29362103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29362104, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29362407, 'dashboard_result_id': 18346602, '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_P29362407_12-12-2025_06_17_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29362413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29362414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29362415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29362416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29362417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29362418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29362419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29362420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29362421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29362422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29362423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29362424, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29362854, 'dashboard_result_id': 18346603, '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_P29362854_12-12-2025_06_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29362857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29362858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29362859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29362860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29362861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29362862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29362863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29362864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29362865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29362866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29362867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29362868, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29363295, 'dashboard_result_id': 18346604, '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_P29363295_12-12-2025_06_48_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29363327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29363328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29363329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29363330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29363331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29363332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29363333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29363334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29363335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29363336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29363337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29363338, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29363773, 'dashboard_result_id': 18346605, '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_P29363773_12-12-2025_07_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29363805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29363806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29363807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29363808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29363809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29363810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29363811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29363812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29363813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29363814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29363815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29363816, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29364180, 'dashboard_result_id': 18346606, '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_P29364180_12-12-2025_07_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29364221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29364222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29364223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29364224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29364225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29364226, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29364227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29364228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29364229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29364230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29364231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29364232, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29364786, 'dashboard_result_id': 18346607, '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_P29364786_12-12-2025_07_34_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29364836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29364837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29364838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29364839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29364840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29364841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29364842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29364843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29364844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29364845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29364846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29364847, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29365262, 'dashboard_result_id': 18346608, '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_P29365262_12-12-2025_07_47_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29365263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29365264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29365265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29365266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29365267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29365268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29365269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29365270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29365271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29365272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29365273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29365274, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29365724, 'dashboard_result_id': 18346609, '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_P29365724_12-12-2025_08_05_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29365739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29365740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29365741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29365742, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29365743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29365744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29365745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29365746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29365747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29365748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29365749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29365750, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29366368, 'dashboard_result_id': 18346610, '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_P29366368_12-12-2025_09_45_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29366370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29366371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29366372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29366373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29366374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29366375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29366376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29366377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29366378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29366379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29366380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29366381, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29366602, 'dashboard_result_id': 18346611, '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_P29366602_12-12-2025_08_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29366604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29366605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29366606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29366607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29366608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29366609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29366610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29366611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29366612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29366613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29366614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29366615, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29367216, 'dashboard_result_id': 18346612, '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_P29367216_12-12-2025_10_15_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29367261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29367262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29367263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29367264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29367265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29367266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29367267, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29367268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29367269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29367270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29367271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29367272, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29367911, 'dashboard_result_id': 18346613, '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_P29367911_12-12-2025_09_05_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29367917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29367918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29367919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29367920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29367921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29367922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29367923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29367924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29367925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29367926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29367927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29367928, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29369385, 'dashboard_result_id': 18346614, '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_P29369385_12-12-2025_09_49_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29369401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29369402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29369403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29369404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29369405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29369406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29369407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29369408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29369409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29369410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29369411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29369412, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29369990, 'dashboard_result_id': 18346615, '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_P29369990_12-12-2025_10_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29369997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29369998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29369999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29370000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29370001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29370002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29370003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29370004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29370005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29370006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29370007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29370008, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29370446, 'dashboard_result_id': 18346616, '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_P29370446_12-12-2025_10_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29370462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29370463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29370464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29370465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29370466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29370467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29370468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29370469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29370470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29370471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29370472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29370473, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29370838, 'dashboard_result_id': 18346617, '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_P29370838_12-12-2025_11_46_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29370864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29370865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29370866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29370867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29370868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29370869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29370870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29370871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29370872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29370873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29370874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29370875, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29371214, 'dashboard_result_id': 18346618, '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_P29371214_12-12-2025_10_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29371231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29371232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29371233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29371234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29371235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29371236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29371237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29371238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29371239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29371240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29371241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29371242, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29371672, 'dashboard_result_id': 18346619, '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_P29371672_12-12-2025_11_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29371718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29371719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29371720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29371721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29371722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29371723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29371724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29371725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29371726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29371727, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29371728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29371729, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29372129, 'dashboard_result_id': 18346620, '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_P29372129_12-12-2025_11_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29372133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29372134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29372135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29372136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29372137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29372138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29372139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29372140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29372141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29372142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29372143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29372144, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29372543, 'dashboard_result_id': 18346621, '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_P29372543_12-12-2025_11_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29372593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29372594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29372595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29372596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29372597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29372598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29372599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29372600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29372601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29372602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29372603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29372604, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29373212, 'dashboard_result_id': 18346622, '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_P29373212_12-12-2025_11_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29373245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29373246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29373247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29373248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29373250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29373251, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29373252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29373254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29373255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29373256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29373258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29373259, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29373878, 'dashboard_result_id': 18346623, '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_P29373878_12-12-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29373939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29373940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29373941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29373942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29373943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29373944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29373945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29373946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29373947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29373948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29373949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29373950, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29374651, 'dashboard_result_id': 18346624, '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_P29374651_12-12-2025_12_26_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29374686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29374687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29374688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29374689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29374691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29374692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29374693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29374694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29374695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29374696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29374697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29374698, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29377140, 'dashboard_result_id': 18346625, '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_P29377140_12-12-2025_13_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29377141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29377142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29377143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29377144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29377145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29377146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29377147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29377148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29377149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29377150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29377151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29377152, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29377556, 'dashboard_result_id': 18346626, '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_P29377556_12-12-2025_14_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29377560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29377561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29377562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29377563, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29377564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29377565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29377566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29377567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29377568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29377569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29377570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29377571, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29377785, 'dashboard_result_id': 18346627, '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_P29377785_12-12-2025_14_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29377800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29377801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29377802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29377803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29377804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29377805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29377806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29377807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29377808, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29377809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29377811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29377812, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29378344, 'dashboard_result_id': 18346628, '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_P29378344_12-12-2025_14_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29378352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29378353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29378354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29378355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29378356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29378357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29378358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29378359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29378360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29378361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29378362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29378363, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29378900, 'dashboard_result_id': 18346629, '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_P29378900_12-12-2025_14_46_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29378916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29378917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29378918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29378919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29378920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29378921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29378922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29378923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29378924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29378925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29378926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29378927, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29379334, 'dashboard_result_id': 18346630, '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_P29379334_12-12-2025_15_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29379337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29379338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29379339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29379340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29379341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29379342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29379343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29379344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29379345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29379346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29379347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29379348, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29379624, 'dashboard_result_id': 18346631, '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_P29379624_12-12-2025_15_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29379639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29379640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29379641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29379642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29379643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29379644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29379645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29379646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29379647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29379648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29379649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29379650, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29380128, 'dashboard_result_id': 18346632, '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_P29380128_12-12-2025_15_33_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29380140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29380141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29380142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29380143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29380144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29380145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29380146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29380147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29380148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29380149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29380150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29380151, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29380559, 'dashboard_result_id': 18346633, '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_P29380559_12-12-2025_15_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29380568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29380569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29380570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29380571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29380572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29380573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29380574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29380575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29380576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29380577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29380578, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29380579, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29381059, 'dashboard_result_id': 18346634, '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_P29381059_12-12-2025_16_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29381068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29381069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29381070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29381071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29381072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29381073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29381074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29381075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29381076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29381077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29381078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29381079, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29381436, 'dashboard_result_id': 18346635, '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_P29381436_12-12-2025_16_37_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29381478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29381479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29381480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29381481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29381482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29381483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29381484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29381485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29381486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29381487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29381488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29381489, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29382417, 'dashboard_result_id': 18346636, '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_P29382417_12-12-2025_17_08_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29382420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29382421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29382422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29382423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29382424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29382425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29382426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29382427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29382428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29382429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29382430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29382431, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29382677, 'dashboard_result_id': 18346637, '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_P29382677_12-12-2025_17_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29382681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29382682, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29382683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29382684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29382685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29382686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29382687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29382688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29382689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29382690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29382691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29382692, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29382919, 'dashboard_result_id': 18346638, '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_P29382919_12-12-2025_18_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29382931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29382933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29382934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29382936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29382937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29382938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29382940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29382941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29382942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29382944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29382945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29382946, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29383504, 'dashboard_result_id': 18346639, '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_P29383504_12-12-2025_18_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29383511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29383512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29383513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29383514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29383515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29383516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29383517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29383518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29383519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29383520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29383521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29383522, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29384031, 'dashboard_result_id': 18346640, '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_P29384031_12-12-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29384039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29384040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29384041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29384042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29384043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29384044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29384045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29384046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29384047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29384048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29384049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29384050, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29384459, 'dashboard_result_id': 18346641, '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_P29384459_12-12-2025_18_49_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29384473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29384474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29384475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29384476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29384477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29384478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29384479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29384480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29384481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29384482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29384483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29384484, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29384932, 'dashboard_result_id': 18346642, '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_P29384932_12-12-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29384933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29384934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29384935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29384936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29384937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29384938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29384939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29384940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29384941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29384942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29384943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29384944, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29385363, 'dashboard_result_id': 18346643, '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_P29385363_12-12-2025_19_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29385380, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29385382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29385383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29385384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29385385, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29385386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29385387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29385388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29385389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29385390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29385392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29385393, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29386070, 'dashboard_result_id': 18346644, '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_P29386070_12-12-2025_19_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29386075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29386076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29386077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29386078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29386079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29386080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29386081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29386082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29386083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29386084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29386085, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29386086, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29386542, 'dashboard_result_id': 18346645, '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_P29386542_12-12-2025_19_47_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29386561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29386562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29386563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29386564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29386565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29386566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29386567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29386568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29386569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29386570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29386571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29386572, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29387002, 'dashboard_result_id': 18346646, '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_P29387002_12-12-2025_20_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29387028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29387029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29387030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29387031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29387032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29387033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29387034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29387035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29387036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29387037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29387038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29387039, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29387422, 'dashboard_result_id': 18346647, '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_P29387422_12-12-2025_20_17_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29387452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29387453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29387454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29387455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29387456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29387457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29387458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29387459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29387460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29387461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29387462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29387463, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29387928, 'dashboard_result_id': 18346648, '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_P29387928_12-12-2025_20_33_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29387936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29387937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29387938, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29387939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29387940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29387941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29387942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29387943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29387944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29387945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29387946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29387947, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29388477, 'dashboard_result_id': 18346649, '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_P29388477_12-12-2025_20_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29388483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29388484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29388485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29388486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29388487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29388488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29388489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29388490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29388491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29388492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29388493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29388494, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29389201, 'dashboard_result_id': 18346650, '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_P29389201_12-12-2025_21_16_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29389202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29389203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29389204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29389205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29389206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29389207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29389208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29389209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29389210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29389211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29389212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29389213, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29389375, 'dashboard_result_id': 18346651, '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_P29389375_12-12-2025_21_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29389380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29389381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29389382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29389383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29389384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29389385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29389386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29389387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29389388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29389389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29389390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29389391, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29389867, 'dashboard_result_id': 18346652, '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_P29389867_12-12-2025_21_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29389869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29389870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29389871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29389872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29389873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29389874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29389875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29389876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29389877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29389878, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29389879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29389880, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29390079, 'dashboard_result_id': 18346653, '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_P29390079_12-12-2025_22_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29390085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29390086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29390087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29390088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29390089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29390090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29390091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29390092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29390093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29390094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29390095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29390096, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29390568, 'dashboard_result_id': 18346654, '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_P29390568_12-12-2025_22_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29390580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29390581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29390582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29390583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29390584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29390585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29390586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29390587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29390588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29390589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29390590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29390591, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29391224, 'dashboard_result_id': 18346655, '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_P29391224_12-12-2025_22_32_56.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29391250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29391251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29391252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29391253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29391254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29391255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29391256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29391257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29391258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29391259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29391260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29391261, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29391837, 'dashboard_result_id': 18346656, '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_P29391837_12-12-2025_22_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29391852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29391853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29391854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29391855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29391856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29391857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29391858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29391859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29391860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29391861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29391862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29391863, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29392421, 'dashboard_result_id': 18346657, '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_P29392421_12-12-2025_23_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29392447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29392448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29392449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29392450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29392451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29392452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29392453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29392454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29392455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29392456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29392457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29392458, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29393054, 'dashboard_result_id': 18346658, '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_P29393054_12-12-2025_23_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29393081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29393082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29393083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29393084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29393085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29393086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29393087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29393088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29393089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29393090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29393091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29393092, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29393683, 'dashboard_result_id': 18346659, '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_P29393683_12-12-2025_23_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29393725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29393726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29393727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29393728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29393729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29393730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29393731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29393732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29393733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29393734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29393735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29393736, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29394335, 'dashboard_result_id': 18346660, '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_P29394335_12-12-2025_23_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29394380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29394381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29394382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29394383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29394384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29394385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29394386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29394387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29394388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29394389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29394390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29394391, 'pht': 3726}}"}, {'dashboat_entry_day': 2725864, 'dashboard_run_id': 2740156, 'mtr_portfolio_id': 29394918, 'dashboard_result_id': 18346661, '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_P29394918_13-12-2025_01_14_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29394926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29394927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29394928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29394929, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29394930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29394931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29394933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29394934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29394935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29394936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29394937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29394938, '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 = 29353967 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': 4218624, 'mtr_portfolio_id': 29353967, 'created_at': datetime.datetime(2025, 12, 13, 5, 34, 30), 'result': '0.04597087438017942', 'result_long': None, 'result_double': None}] Qualite : 0.04597087438017942 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29353967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29353967_13-12-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29353967 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_P29353967_13-12-2025_05_34_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29353970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29353971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29353972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29353973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29353974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29353975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29353976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29353977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29353978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29353979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29353980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29353981, 'pht': 3726}}" where mtr_portfolio_id = 29353967 and dashboard_run_id = 2740156 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`=29353967 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346583, 0.04597087438017942, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29353967_13-12-2025_05_34_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29353970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29353971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29353972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29353973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29353974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29353975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29353976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29353977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29353978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29353979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29353980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29353981, '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 = 29354414 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': 4218625, 'mtr_portfolio_id': 29354414, 'created_at': datetime.datetime(2025, 12, 13, 5, 34, 58), 'result': '0.05125559086969083', 'result_long': None, 'result_double': None}] Qualite : 0.05125559086969083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29354414 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29354414_13-12-2025_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29354414 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_P29354414_13-12-2025_05_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29354415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29354416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29354417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29354418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29354419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29354420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29354421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29354422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29354423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29354424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29354425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29354426, 'pht': 3726}}" where mtr_portfolio_id = 29354414 and dashboard_run_id = 2740156 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`=29354414 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346584, 0.05125559086969083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29354414_13-12-2025_05_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29354415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29354416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29354417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29354418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29354419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29354420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29354421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29354422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29354423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29354424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29354425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29354426, '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 = 29354703 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': 4218626, 'mtr_portfolio_id': 29354703, 'created_at': datetime.datetime(2025, 12, 13, 5, 35, 29), 'result': '0.0506519231053191', 'result_long': None, 'result_double': None}] Qualite : 0.0506519231053191 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29354703 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29354703_13-12-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29354703 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_P29354703_13-12-2025_05_35_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29354707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29354708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29354709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29354710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29354711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29354712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29354713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29354714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29354715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29354716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29354717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29354718, 'pht': 3726}}" where mtr_portfolio_id = 29354703 and dashboard_run_id = 2740156 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`=29354703 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346585, 0.0506519231053191, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29354703_13-12-2025_05_35_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29354707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29354708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29354709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29354710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29354711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29354712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29354713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29354714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29354715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29354716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29354717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29354718, '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 = 29355153 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': 4218627, 'mtr_portfolio_id': 29355153, 'created_at': datetime.datetime(2025, 12, 13, 5, 35, 33), 'result': '0.055784932988337046', 'result_long': None, 'result_double': None}] Qualite : 0.055784932988337046 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29355153 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29355153_13-12-2025_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29355153 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_P29355153_13-12-2025_05_35_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29355162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29355163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29355164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29355165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29355166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29355167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29355168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29355169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29355170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29355171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29355172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29355173, 'pht': 3726}}" where mtr_portfolio_id = 29355153 and dashboard_run_id = 2740156 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`=29355153 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346586, 0.055784932988337046, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29355153_13-12-2025_05_35_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29355162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29355163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29355164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29355165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29355166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29355167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29355168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29355169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29355170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29355171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29355172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29355173, '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 = 29356369 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': 4218628, 'mtr_portfolio_id': 29356369, 'created_at': datetime.datetime(2025, 12, 13, 5, 35, 57), 'result': '0.03774252289420257', 'result_long': None, 'result_double': None}] Qualite : 0.03774252289420257 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29356369 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29356369_13-12-2025_05_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29356369 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_P29356369_13-12-2025_05_36_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29356370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29356371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29356372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29356373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29356374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29356375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29356376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29356377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29356378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29356379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29356380, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29356381, 'pht': 3726}}" where mtr_portfolio_id = 29356369 and dashboard_run_id = 2740156 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`=29356369 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346587, 0.03774252289420257, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29356369_13-12-2025_05_36_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29356370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29356371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29356372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29356373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29356374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29356375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29356376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29356377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29356378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29356379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29356380, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29356381, '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 = 29356788 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': 4218629, 'mtr_portfolio_id': 29356788, 'created_at': datetime.datetime(2025, 12, 13, 5, 36, 11), 'result': '0.054177068289269714', 'result_long': None, 'result_double': None}] Qualite : 0.054177068289269714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29356788 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29356788_13-12-2025_05_36_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29356788 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_P29356788_13-12-2025_05_36_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29356796, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29356797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29356798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29356799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29356800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29356801, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29356802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29356803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29356804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29356805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29356806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29356807, 'pht': 3726}}" where mtr_portfolio_id = 29356788 and dashboard_run_id = 2740156 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`=29356788 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346588, 0.054177068289269714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29356788_13-12-2025_05_36_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29356796, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29356797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29356798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29356799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29356800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29356801, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29356802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29356803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29356804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29356805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29356806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29356807, '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 = 29357162 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': 4218630, 'mtr_portfolio_id': 29357162, 'created_at': datetime.datetime(2025, 12, 13, 5, 36, 29), 'result': '0.048368403148316676', 'result_long': None, 'result_double': None}] Qualite : 0.048368403148316676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29357162 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29357162_13-12-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29357162 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_P29357162_13-12-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29357171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29357172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29357173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29357174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29357175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29357176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29357177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29357178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29357179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29357180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29357181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29357182, 'pht': 3726}}" where mtr_portfolio_id = 29357162 and dashboard_run_id = 2740156 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`=29357162 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346589, 0.048368403148316676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29357162_13-12-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29357171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29357172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29357173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29357174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29357175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29357176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29357177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29357178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29357179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29357180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29357181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29357182, '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 = 29357697 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': 4218631, 'mtr_portfolio_id': 29357697, 'created_at': datetime.datetime(2025, 12, 13, 5, 36, 58), 'result': '0.05939493826901827', 'result_long': None, 'result_double': None}] Qualite : 0.05939493826901827 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29357697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29357697_13-12-2025_05_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29357697 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_P29357697_13-12-2025_05_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29357702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29357703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29357704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29357705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29357706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29357707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29357708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29357709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29357710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29357711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29357712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29357713, 'pht': 3726}}" where mtr_portfolio_id = 29357697 and dashboard_run_id = 2740156 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`=29357697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346590, 0.05939493826901827, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29357697_13-12-2025_05_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29357702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29357703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29357704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29357705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29357706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29357707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29357708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29357709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29357710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29357711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29357712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29357713, '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 = 29358082 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': 4218632, 'mtr_portfolio_id': 29358082, 'created_at': datetime.datetime(2025, 12, 13, 5, 37, 27), 'result': '0.03917308618929719', 'result_long': None, 'result_double': None}] Qualite : 0.03917308618929719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29358082 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29358082_13-12-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29358082 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_P29358082_13-12-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29358091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29358092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29358093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29358094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29358095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29358096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29358097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29358098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29358099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29358100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29358101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29358102, 'pht': 3726}}" where mtr_portfolio_id = 29358082 and dashboard_run_id = 2740156 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`=29358082 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346591, 0.03917308618929719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29358082_13-12-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29358091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29358092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29358093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29358094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29358095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29358096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29358097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29358098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29358099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29358100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29358101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29358102, '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 = 29358557 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': 4218633, 'mtr_portfolio_id': 29358557, 'created_at': datetime.datetime(2025, 12, 13, 5, 37, 30), 'result': '0.07413136999611537', 'result_long': None, 'result_double': None}] Qualite : 0.07413136999611537 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29358557 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29358557_13-12-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29358557 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_P29358557_13-12-2025_05_37_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29358562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29358563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29358564, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29358565, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29358566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29358567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29358568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29358569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29358570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29358571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29358572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29358573, 'pht': 3726}}" where mtr_portfolio_id = 29358557 and dashboard_run_id = 2740156 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`=29358557 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346592, 0.07413136999611537, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29358557_13-12-2025_05_37_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29358562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29358563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29358564, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29358565, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29358566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29358567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29358568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29358569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29358570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29358571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29358572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29358573, '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 = 29358933 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': 4218634, 'mtr_portfolio_id': 29358933, 'created_at': datetime.datetime(2025, 12, 13, 5, 37, 59), 'result': '0.062389813942886216', 'result_long': None, 'result_double': None}] Qualite : 0.062389813942886216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29358933 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29358933_13-12-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29358933 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_P29358933_13-12-2025_05_38_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29358941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29358942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29358943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29358944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29358945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29358946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29358947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29358948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29358949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29358950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29358951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29358952, 'pht': 3726}}" where mtr_portfolio_id = 29358933 and dashboard_run_id = 2740156 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`=29358933 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346593, 0.062389813942886216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29358933_13-12-2025_05_38_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29358941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29358942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29358943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29358944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29358945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29358946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29358947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29358948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29358949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29358950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29358951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29358952, '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 = 29359035 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': 4212509, 'mtr_portfolio_id': 29359035, 'created_at': datetime.datetime(2025, 12, 12, 6, 15, 36), 'result': '0.07474450706546877', 'result_long': None, 'result_double': None}] Qualite : 0.07474450706546877 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29359035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29359035_12-12-2025_06_15_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29359035 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_P29359035_12-12-2025_06_15_40.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29359060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29359061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29359062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29359063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29359064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29359065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29359066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29359067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29359068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29359069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29359070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29359071, 'pht': 3726}}" where mtr_portfolio_id = 29359035 and dashboard_run_id = 2740156 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`=29359035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346594, 0.07474450706546877, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29359035_12-12-2025_06_15_40.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29359060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29359061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29359062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29359063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29359064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29359065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29359066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29359067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29359068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29359069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29359070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29359071, '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 = 29359405 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': 4212510, 'mtr_portfolio_id': 29359405, 'created_at': datetime.datetime(2025, 12, 12, 6, 15, 58), 'result': '0.02671260360751556', 'result_long': None, 'result_double': None}] Qualite : 0.02671260360751556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29359405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29359405_12-12-2025_06_16_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29359405 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_P29359405_12-12-2025_06_16_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29359414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29359415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29359416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29359417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29359418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29359419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29359420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29359421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29359422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29359423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29359424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29359425, 'pht': 3726}}" where mtr_portfolio_id = 29359405 and dashboard_run_id = 2740156 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`=29359405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346595, 0.02671260360751556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29359405_12-12-2025_06_16_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29359414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29359415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29359416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29359417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29359418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29359419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29359420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29359421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29359422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29359423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29359424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29359425, '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 = 29359799 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': 4212511, 'mtr_portfolio_id': 29359799, 'created_at': datetime.datetime(2025, 12, 12, 6, 16, 12), 'result': '0.03439692669008735', 'result_long': None, 'result_double': None}] Qualite : 0.03439692669008735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29359799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29359799_12-12-2025_04_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29359799 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_P29359799_12-12-2025_04_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29359808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29359809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29359810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29359811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29359812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29359813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29359814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29359815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29359816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29359817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29359818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29359819, 'pht': 3726}}" where mtr_portfolio_id = 29359799 and dashboard_run_id = 2740156 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`=29359799 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346596, 0.03439692669008735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29359799_12-12-2025_04_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29359808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29359809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29359810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29359811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29359812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29359813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29359814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29359815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29359816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29359817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29359818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29359819, '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 = 29360191 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': 4212512, 'mtr_portfolio_id': 29360191, 'created_at': datetime.datetime(2025, 12, 12, 6, 16, 31), 'result': '0.029805734438451352', 'result_long': None, 'result_double': None}] Qualite : 0.029805734438451352 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29360191 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29360191_12-12-2025_06_16_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29360191 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_P29360191_12-12-2025_06_16_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29360230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29360231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29360232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29360233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29360234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29360235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29360236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29360237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29360239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29360240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29360241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29360242, 'pht': 3726}}" where mtr_portfolio_id = 29360191 and dashboard_run_id = 2740156 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`=29360191 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346597, 0.029805734438451352, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29360191_12-12-2025_06_16_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29360230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29360231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29360232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29360233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29360234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29360235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29360236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29360237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29360239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29360240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29360241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29360242, '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 = 29361267 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': 4212513, 'mtr_portfolio_id': 29361267, 'created_at': datetime.datetime(2025, 12, 12, 6, 17, 30), 'result': '0.017617938333941475', 'result_long': None, 'result_double': None}] Qualite : 0.017617938333941475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29361267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29361267_12-12-2025_06_17_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29361267 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_P29361267_12-12-2025_06_17_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29361268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29361269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29361270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29361271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29361272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29361273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29361274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29361275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29361276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29361277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29361278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29361279, 'pht': 3726}}" where mtr_portfolio_id = 29361267 and dashboard_run_id = 2740156 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`=29361267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346598, 0.017617938333941475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29361267_12-12-2025_06_17_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29361268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29361269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29361270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29361271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29361272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29361273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29361274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29361275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29361276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29361277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29361278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29361279, '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 = 29361419 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': 4212514, 'mtr_portfolio_id': 29361419, 'created_at': datetime.datetime(2025, 12, 12, 5, 40, 39), 'result': '0.042268325842161156', 'result_long': None, 'result_double': None}] Qualite : 0.042268325842161156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29361419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29361419_12-12-2025_05_40_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29361419 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_P29361419_12-12-2025_05_40_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29361424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29361425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29361426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29361427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29361428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29361429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29361430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29361431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29361432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29361433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29361434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29361435, 'pht': 3726}}" where mtr_portfolio_id = 29361419 and dashboard_run_id = 2740156 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`=29361419 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346599, 0.042268325842161156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29361419_12-12-2025_05_40_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29361424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29361425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29361426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29361427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29361428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29361429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29361430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29361431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29361432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29361433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29361434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29361435, '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 = 29361719 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': 4212426, 'mtr_portfolio_id': 29361719, 'created_at': datetime.datetime(2025, 12, 12, 5, 48, 58), 'result': '0.03512528820820063', 'result_long': None, 'result_double': None}] Qualite : 0.03512528820820063 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29361719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29361719_12-12-2025_05_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29361719 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_P29361719_12-12-2025_05_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29361747, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29361748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29361749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29361750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29361751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29361752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29361753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29361754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29361755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29361756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29361757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29361758, 'pht': 3726}}" where mtr_portfolio_id = 29361719 and dashboard_run_id = 2740156 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`=29361719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346600, 0.03512528820820063, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29361719_12-12-2025_05_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29361747, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29361748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29361749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29361750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29361751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29361752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29361753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29361754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29361755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29361756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29361757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29361758, '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 = 29362085 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': 4212622, 'mtr_portfolio_id': 29362085, 'created_at': datetime.datetime(2025, 12, 12, 6, 3, 29), 'result': '0.02489806755007265', 'result_long': None, 'result_double': None}] Qualite : 0.02489806755007265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29362085 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29362085_12-12-2025_06_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29362085 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_P29362085_12-12-2025_06_03_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29362093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29362094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29362095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29362096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29362097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29362098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29362099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29362100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29362101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29362102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29362103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29362104, 'pht': 3726}}" where mtr_portfolio_id = 29362085 and dashboard_run_id = 2740156 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`=29362085 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346601, 0.02489806755007265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29362085_12-12-2025_06_03_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29362093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29362094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29362095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29362096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29362097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29362098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29362099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29362100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29362101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29362102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29362103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29362104, '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 = 29362407 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': 4212692, 'mtr_portfolio_id': 29362407, 'created_at': datetime.datetime(2025, 12, 12, 6, 17, 33), 'result': '0.03598098129173726', 'result_long': None, 'result_double': None}] Qualite : 0.03598098129173726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29362407 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29362407_12-12-2025_06_17_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29362407 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_P29362407_12-12-2025_06_17_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29362413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29362414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29362415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29362416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29362417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29362418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29362419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29362420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29362421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29362422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29362423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29362424, 'pht': 3726}}" where mtr_portfolio_id = 29362407 and dashboard_run_id = 2740156 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`=29362407 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346602, 0.03598098129173726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29362407_12-12-2025_06_17_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29362413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29362414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29362415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29362416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29362417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29362418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29362419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29362420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29362421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29362422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29362423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29362424, '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 = 29362854 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': 4212774, 'mtr_portfolio_id': 29362854, 'created_at': datetime.datetime(2025, 12, 12, 6, 32, 57), 'result': '0.06304396315216139', 'result_long': None, 'result_double': None}] Qualite : 0.06304396315216139 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29362854 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29362854_12-12-2025_06_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29362854 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_P29362854_12-12-2025_06_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29362857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29362858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29362859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29362860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29362861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29362862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29362863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29362864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29362865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29362866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29362867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29362868, 'pht': 3726}}" where mtr_portfolio_id = 29362854 and dashboard_run_id = 2740156 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`=29362854 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346603, 0.06304396315216139, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29362854_12-12-2025_06_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29362857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29362858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29362859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29362860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29362861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29362862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29362863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29362864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29362865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29362866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29362867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29362868, '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 = 29363295 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': 4212843, 'mtr_portfolio_id': 29363295, 'created_at': datetime.datetime(2025, 12, 12, 6, 48, 58), 'result': '0.04653111445326504', 'result_long': None, 'result_double': None}] Qualite : 0.04653111445326504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29363295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29363295_12-12-2025_06_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29363295 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_P29363295_12-12-2025_06_48_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29363327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29363328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29363329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29363330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29363331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29363332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29363333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29363334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29363335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29363336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29363337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29363338, 'pht': 3726}}" where mtr_portfolio_id = 29363295 and dashboard_run_id = 2740156 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`=29363295 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346604, 0.04653111445326504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29363295_12-12-2025_06_48_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29363327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29363328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29363329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29363330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29363331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29363332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29363333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29363334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29363335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29363336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29363337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29363338, '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 = 29363773 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': 4212927, 'mtr_portfolio_id': 29363773, 'created_at': datetime.datetime(2025, 12, 12, 7, 2, 59), 'result': '0.042970748644587525', 'result_long': None, 'result_double': None}] Qualite : 0.042970748644587525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29363773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29363773_12-12-2025_07_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29363773 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_P29363773_12-12-2025_07_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29363805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29363806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29363807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29363808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29363809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29363810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29363811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29363812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29363813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29363814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29363815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29363816, 'pht': 3726}}" where mtr_portfolio_id = 29363773 and dashboard_run_id = 2740156 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`=29363773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346605, 0.042970748644587525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29363773_12-12-2025_07_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29363805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29363806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29363807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29363808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29363809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29363810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29363811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29363812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29363813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29363814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29363815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29363816, '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 = 29364180 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': 4213002, 'mtr_portfolio_id': 29364180, 'created_at': datetime.datetime(2025, 12, 12, 7, 16, 58), 'result': '0.06843666708083897', 'result_long': None, 'result_double': None}] Qualite : 0.06843666708083897 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29364180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29364180_12-12-2025_07_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29364180 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_P29364180_12-12-2025_07_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29364221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29364222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29364223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29364224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29364225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29364226, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29364227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29364228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29364229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29364230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29364231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29364232, 'pht': 3726}}" where mtr_portfolio_id = 29364180 and dashboard_run_id = 2740156 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`=29364180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346606, 0.06843666708083897, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29364180_12-12-2025_07_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29364221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29364222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29364223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29364224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29364225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29364226, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29364227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29364228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29364229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29364230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29364231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29364232, '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 = 29364786 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': 4213081, 'mtr_portfolio_id': 29364786, 'created_at': datetime.datetime(2025, 12, 12, 7, 34), 'result': '0.03678665364407766', 'result_long': None, 'result_double': None}] Qualite : 0.03678665364407766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29364786 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29364786_12-12-2025_07_34_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29364786 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_P29364786_12-12-2025_07_34_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29364836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29364837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29364838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29364839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29364840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29364841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29364842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29364843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29364844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29364845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29364846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29364847, 'pht': 3726}}" where mtr_portfolio_id = 29364786 and dashboard_run_id = 2740156 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`=29364786 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346607, 0.03678665364407766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29364786_12-12-2025_07_34_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29364836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29364837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29364838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29364839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29364840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29364841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29364842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29364843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29364844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29364845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29364846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29364847, '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 = 29365262 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': 4213145, 'mtr_portfolio_id': 29365262, 'created_at': datetime.datetime(2025, 12, 12, 7, 47, 28), 'result': '0.04932722121798659', 'result_long': None, 'result_double': None}] Qualite : 0.04932722121798659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29365262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29365262_12-12-2025_07_47_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29365262 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_P29365262_12-12-2025_07_47_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29365263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29365264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29365265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29365266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29365267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29365268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29365269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29365270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29365271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29365272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29365273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29365274, 'pht': 3726}}" where mtr_portfolio_id = 29365262 and dashboard_run_id = 2740156 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`=29365262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346608, 0.04932722121798659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29365262_12-12-2025_07_47_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29365263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29365264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29365265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29365266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29365267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29365268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29365269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29365270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29365271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29365272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29365273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29365274, '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 = 29365724 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': 4213223, 'mtr_portfolio_id': 29365724, 'created_at': datetime.datetime(2025, 12, 12, 8, 5, 29), 'result': '0.05162450864096052', 'result_long': None, 'result_double': None}] Qualite : 0.05162450864096052 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29365724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29365724_12-12-2025_08_05_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29365724 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_P29365724_12-12-2025_08_05_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29365739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29365740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29365741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29365742, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29365743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29365744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29365745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29365746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29365747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29365748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29365749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29365750, 'pht': 3726}}" where mtr_portfolio_id = 29365724 and dashboard_run_id = 2740156 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`=29365724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346609, 0.05162450864096052, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29365724_12-12-2025_08_05_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29365739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29365740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29365741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29365742, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29365743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29365744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29365745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29365746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29365747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29365748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29365749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29365750, '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 = 29366368 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': 4213341, 'mtr_portfolio_id': 29366368, 'created_at': datetime.datetime(2025, 12, 12, 9, 45, 58), 'result': '0.05825818152528428', 'result_long': None, 'result_double': None}] Qualite : 0.05825818152528428 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29366368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29366368_12-12-2025_09_45_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29366368 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_P29366368_12-12-2025_09_45_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29366370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29366371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29366372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29366373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29366374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29366375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29366376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29366377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29366378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29366379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29366380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29366381, 'pht': 3726}}" where mtr_portfolio_id = 29366368 and dashboard_run_id = 2740156 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`=29366368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346610, 0.05825818152528428, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29366368_12-12-2025_09_45_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29366370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29366371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29366372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29366373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29366374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29366375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29366376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29366377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29366378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29366379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29366380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29366381, '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 = 29366602 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': 4213428, 'mtr_portfolio_id': 29366602, 'created_at': datetime.datetime(2025, 12, 12, 8, 34, 58), 'result': '0.037908967872370296', 'result_long': None, 'result_double': None}] Qualite : 0.037908967872370296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29366602 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29366602_12-12-2025_08_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29366602 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_P29366602_12-12-2025_08_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29366604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29366605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29366606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29366607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29366608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29366609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29366610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29366611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29366612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29366613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29366614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29366615, 'pht': 3726}}" where mtr_portfolio_id = 29366602 and dashboard_run_id = 2740156 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`=29366602 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346611, 0.037908967872370296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29366602_12-12-2025_08_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29366604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29366605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29366606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29366607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29366608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29366609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29366610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29366611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29366612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29366613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29366614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29366615, '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 = 29367216 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': 4213540, 'mtr_portfolio_id': 29367216, 'created_at': datetime.datetime(2025, 12, 12, 10, 15, 58), 'result': '0.05388012724944896', 'result_long': None, 'result_double': None}] Qualite : 0.05388012724944896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29367216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29367216_12-12-2025_10_15_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29367216 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_P29367216_12-12-2025_10_15_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29367261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29367262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29367263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29367264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29367265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29367266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29367267, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29367268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29367269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29367270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29367271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29367272, 'pht': 3726}}" where mtr_portfolio_id = 29367216 and dashboard_run_id = 2740156 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`=29367216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346612, 0.05388012724944896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29367216_12-12-2025_10_15_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29367261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29367262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29367263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29367264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29367265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29367266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29367267, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29367268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29367269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29367270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29367271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29367272, '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 = 29367911 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': 4213625, 'mtr_portfolio_id': 29367911, 'created_at': datetime.datetime(2025, 12, 12, 9, 5), 'result': '0.042402543049227796', 'result_long': None, 'result_double': None}] Qualite : 0.042402543049227796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29367911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29367911_12-12-2025_09_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29367911 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_P29367911_12-12-2025_09_05_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29367917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29367918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29367919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29367920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29367921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29367922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29367923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29367924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29367925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29367926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29367927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29367928, 'pht': 3726}}" where mtr_portfolio_id = 29367911 and dashboard_run_id = 2740156 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`=29367911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346613, 0.042402543049227796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29367911_12-12-2025_09_05_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29367917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29367918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29367919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29367920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29367921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29367922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29367923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29367924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29367925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29367926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29367927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29367928, '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 = 29369385 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': 4213848, 'mtr_portfolio_id': 29369385, 'created_at': datetime.datetime(2025, 12, 12, 9, 49), 'result': '0.0385590613226671', 'result_long': None, 'result_double': None}] Qualite : 0.0385590613226671 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29369385 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29369385_12-12-2025_09_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29369385 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_P29369385_12-12-2025_09_49_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29369401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29369402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29369403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29369404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29369405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29369406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29369407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29369408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29369409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29369410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29369411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29369412, 'pht': 3726}}" where mtr_portfolio_id = 29369385 and dashboard_run_id = 2740156 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`=29369385 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346614, 0.0385590613226671, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29369385_12-12-2025_09_49_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29369401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29369402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29369403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29369404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29369405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29369406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29369407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29369408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29369409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29369410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29369411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29369412, '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 = 29369990 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': 4213937, 'mtr_portfolio_id': 29369990, 'created_at': datetime.datetime(2025, 12, 12, 10, 2, 58), 'result': '0.0429118853872437', 'result_long': None, 'result_double': None}] Qualite : 0.0429118853872437 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29369990 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29369990_12-12-2025_10_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29369990 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_P29369990_12-12-2025_10_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29369997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29369998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29369999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29370000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29370001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29370002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29370003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29370004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29370005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29370006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29370007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29370008, 'pht': 3726}}" where mtr_portfolio_id = 29369990 and dashboard_run_id = 2740156 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`=29369990 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346615, 0.0429118853872437, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29369990_12-12-2025_10_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29369997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29369998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29369999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29370000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29370001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29370002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29370003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29370004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29370005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29370006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29370007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29370008, '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 = 29370446 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': 4214023, 'mtr_portfolio_id': 29370446, 'created_at': datetime.datetime(2025, 12, 12, 10, 18, 59), 'result': '0.06737207834119728', 'result_long': None, 'result_double': None}] Qualite : 0.06737207834119728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29370446 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29370446_12-12-2025_10_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29370446 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_P29370446_12-12-2025_10_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29370462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29370463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29370464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29370465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29370466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29370467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29370468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29370469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29370470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29370471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29370472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29370473, 'pht': 3726}}" where mtr_portfolio_id = 29370446 and dashboard_run_id = 2740156 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`=29370446 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346616, 0.06737207834119728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29370446_12-12-2025_10_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29370462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29370463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29370464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29370465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29370466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29370467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29370468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29370469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29370470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29370471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29370472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29370473, '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 = 29370838 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': 4214113, 'mtr_portfolio_id': 29370838, 'created_at': datetime.datetime(2025, 12, 12, 11, 46), 'result': '0.042436501863749955', 'result_long': None, 'result_double': None}] Qualite : 0.042436501863749955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29370838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29370838_12-12-2025_11_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29370838 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_P29370838_12-12-2025_11_46_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29370864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29370865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29370866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29370867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29370868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29370869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29370870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29370871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29370872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29370873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29370874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29370875, 'pht': 3726}}" where mtr_portfolio_id = 29370838 and dashboard_run_id = 2740156 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`=29370838 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346617, 0.042436501863749955, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29370838_12-12-2025_11_46_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29370864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29370865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29370866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29370867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29370868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29370869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29370870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29370871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29370872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29370873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29370874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29370875, '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 = 29371214 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': 4214180, 'mtr_portfolio_id': 29371214, 'created_at': datetime.datetime(2025, 12, 12, 10, 48, 58), 'result': '0.05434890749502305', 'result_long': None, 'result_double': None}] Qualite : 0.05434890749502305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29371214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29371214_12-12-2025_10_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29371214 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_P29371214_12-12-2025_10_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29371231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29371232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29371233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29371234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29371235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29371236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29371237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29371238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29371239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29371240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29371241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29371242, 'pht': 3726}}" where mtr_portfolio_id = 29371214 and dashboard_run_id = 2740156 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`=29371214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346618, 0.05434890749502305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29371214_12-12-2025_10_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29371231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29371232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29371233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29371234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29371235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29371236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29371237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29371238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29371239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29371240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29371241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29371242, '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 = 29371672 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': 4214269, 'mtr_portfolio_id': 29371672, 'created_at': datetime.datetime(2025, 12, 12, 11, 2, 59), 'result': '0.040953628451014475', 'result_long': None, 'result_double': None}] Qualite : 0.040953628451014475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29371672 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29371672_12-12-2025_11_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29371672 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_P29371672_12-12-2025_11_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29371718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29371719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29371720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29371721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29371722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29371723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29371724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29371725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29371726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29371727, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29371728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29371729, 'pht': 3726}}" where mtr_portfolio_id = 29371672 and dashboard_run_id = 2740156 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`=29371672 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346619, 0.040953628451014475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29371672_12-12-2025_11_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29371718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29371719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29371720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29371721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29371722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29371723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29371724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29371725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29371726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29371727, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29371728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29371729, '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 = 29372129 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': 4214393, 'mtr_portfolio_id': 29372129, 'created_at': datetime.datetime(2025, 12, 12, 11, 18, 59), 'result': '0.055977595132677756', 'result_long': None, 'result_double': None}] Qualite : 0.055977595132677756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29372129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29372129_12-12-2025_11_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29372129 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_P29372129_12-12-2025_11_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29372133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29372134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29372135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29372136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29372137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29372138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29372139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29372140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29372141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29372142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29372143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29372144, 'pht': 3726}}" where mtr_portfolio_id = 29372129 and dashboard_run_id = 2740156 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`=29372129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346620, 0.055977595132677756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29372129_12-12-2025_11_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29372133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29372134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29372135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29372136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29372137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29372138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29372139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29372140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29372141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29372142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29372143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29372144, '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 = 29372543 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': 4214483, 'mtr_portfolio_id': 29372543, 'created_at': datetime.datetime(2025, 12, 12, 11, 32, 58), 'result': '0.06448349152766777', 'result_long': None, 'result_double': None}] Qualite : 0.06448349152766777 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29372543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29372543_12-12-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29372543 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_P29372543_12-12-2025_11_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29372593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29372594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29372595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29372596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29372597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29372598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29372599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29372600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29372601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29372602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29372603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29372604, 'pht': 3726}}" where mtr_portfolio_id = 29372543 and dashboard_run_id = 2740156 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`=29372543 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346621, 0.06448349152766777, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29372543_12-12-2025_11_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29372593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29372594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29372595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29372596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29372597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29372598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29372599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29372600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29372601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29372602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29372603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29372604, '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 = 29373212 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': 4214571, 'mtr_portfolio_id': 29373212, 'created_at': datetime.datetime(2025, 12, 12, 11, 49), 'result': '0.05618618445539988', 'result_long': None, 'result_double': None}] Qualite : 0.05618618445539988 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29373212 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29373212_12-12-2025_11_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29373212 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_P29373212_12-12-2025_11_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29373245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29373246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29373247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29373248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29373250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29373251, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29373252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29373254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29373255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29373256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29373258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29373259, 'pht': 3726}}" where mtr_portfolio_id = 29373212 and dashboard_run_id = 2740156 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`=29373212 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346622, 0.05618618445539988, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29373212_12-12-2025_11_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29373245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29373246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29373247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29373248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29373250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29373251, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29373252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29373254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29373255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29373256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29373258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29373259, '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 = 29373878 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': 4214678, 'mtr_portfolio_id': 29373878, 'created_at': datetime.datetime(2025, 12, 12, 12, 3), 'result': '0.05900566846151924', 'result_long': None, 'result_double': None}] Qualite : 0.05900566846151924 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29373878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29373878_12-12-2025_12_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29373878 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_P29373878_12-12-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29373939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29373940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29373941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29373942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29373943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29373944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29373945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29373946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29373947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29373948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29373949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29373950, 'pht': 3726}}" where mtr_portfolio_id = 29373878 and dashboard_run_id = 2740156 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`=29373878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346623, 0.05900566846151924, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29373878_12-12-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29373939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29373940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29373941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29373942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29373943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29373944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29373945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29373946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29373947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29373948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29373949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29373950, '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 = 29374651 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': 4214763, 'mtr_portfolio_id': 29374651, 'created_at': datetime.datetime(2025, 12, 12, 12, 26, 59), 'result': '0.045185960387545326', 'result_long': None, 'result_double': None}] Qualite : 0.045185960387545326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29374651 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29374651_12-12-2025_12_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29374651 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_P29374651_12-12-2025_12_26_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29374686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29374687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29374688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29374689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29374691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29374692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29374693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29374694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29374695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29374696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29374697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29374698, 'pht': 3726}}" where mtr_portfolio_id = 29374651 and dashboard_run_id = 2740156 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`=29374651 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346624, 0.045185960387545326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29374651_12-12-2025_12_26_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29374686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29374687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29374688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29374689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29374691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29374692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29374693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29374694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29374695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29374696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29374697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29374698, '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 = 29377140 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': 4215018, 'mtr_portfolio_id': 29377140, 'created_at': datetime.datetime(2025, 12, 12, 13, 49, 1), 'result': '0.05456903745241976', 'result_long': None, 'result_double': None}] Qualite : 0.05456903745241976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29377140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29377140_12-12-2025_13_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29377140 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_P29377140_12-12-2025_13_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29377141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29377142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29377143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29377144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29377145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29377146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29377147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29377148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29377149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29377150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29377151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29377152, 'pht': 3726}}" where mtr_portfolio_id = 29377140 and dashboard_run_id = 2740156 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`=29377140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346625, 0.05456903745241976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29377140_12-12-2025_13_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29377141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29377142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29377143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29377144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29377145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29377146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29377147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29377148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29377149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29377150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29377151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29377152, '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 = 29377556 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': 4215057, 'mtr_portfolio_id': 29377556, 'created_at': datetime.datetime(2025, 12, 12, 14, 2, 59), 'result': '0.04451009859397317', 'result_long': None, 'result_double': None}] Qualite : 0.04451009859397317 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29377556 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29377556_12-12-2025_14_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29377556 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_P29377556_12-12-2025_14_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29377560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29377561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29377562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29377563, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29377564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29377565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29377566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29377567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29377568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29377569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29377570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29377571, 'pht': 3726}}" where mtr_portfolio_id = 29377556 and dashboard_run_id = 2740156 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`=29377556 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346626, 0.04451009859397317, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29377556_12-12-2025_14_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29377560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29377561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29377562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29377563, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29377564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29377565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29377566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29377567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29377568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29377569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29377570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29377571, '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 = 29377785 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': 4215104, 'mtr_portfolio_id': 29377785, 'created_at': datetime.datetime(2025, 12, 12, 14, 16, 58), 'result': '0.033130042127026416', 'result_long': None, 'result_double': None}] Qualite : 0.033130042127026416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29377785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29377785_12-12-2025_14_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29377785 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_P29377785_12-12-2025_14_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29377800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29377801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29377802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29377803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29377804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29377805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29377806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29377807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29377808, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29377809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29377811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29377812, 'pht': 3726}}" where mtr_portfolio_id = 29377785 and dashboard_run_id = 2740156 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`=29377785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346627, 0.033130042127026416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29377785_12-12-2025_14_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29377800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29377801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29377802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29377803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29377804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29377805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29377806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29377807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29377808, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29377809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29377811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29377812, '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 = 29378344 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': 4215169, 'mtr_portfolio_id': 29378344, 'created_at': datetime.datetime(2025, 12, 12, 14, 32, 57), 'result': '0.04266367813159421', 'result_long': None, 'result_double': None}] Qualite : 0.04266367813159421 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29378344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29378344_12-12-2025_14_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29378344 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_P29378344_12-12-2025_14_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29378352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29378353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29378354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29378355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29378356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29378357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29378358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29378359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29378360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29378361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29378362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29378363, 'pht': 3726}}" where mtr_portfolio_id = 29378344 and dashboard_run_id = 2740156 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`=29378344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346628, 0.04266367813159421, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29378344_12-12-2025_14_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29378352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29378353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29378354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29378355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29378356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29378357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29378358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29378359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29378360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29378361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29378362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29378363, '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 = 29378900 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': 4215249, 'mtr_portfolio_id': 29378900, 'created_at': datetime.datetime(2025, 12, 12, 14, 46, 58), 'result': '0.06394208308382847', 'result_long': None, 'result_double': None}] Qualite : 0.06394208308382847 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29378900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29378900_12-12-2025_14_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29378900 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_P29378900_12-12-2025_14_46_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29378916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29378917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29378918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29378919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29378920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29378921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29378922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29378923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29378924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29378925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29378926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29378927, 'pht': 3726}}" where mtr_portfolio_id = 29378900 and dashboard_run_id = 2740156 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`=29378900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346629, 0.06394208308382847, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29378900_12-12-2025_14_46_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29378916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29378917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29378918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29378919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29378920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29378921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29378922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29378923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29378924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29378925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29378926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29378927, '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 = 29379334 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': 4215303, 'mtr_portfolio_id': 29379334, 'created_at': datetime.datetime(2025, 12, 12, 15, 2, 59), 'result': '0.06362848861400411', 'result_long': None, 'result_double': None}] Qualite : 0.06362848861400411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29379334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29379334_12-12-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29379334 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_P29379334_12-12-2025_15_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29379337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29379338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29379339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29379340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29379341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29379342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29379343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29379344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29379345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29379346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29379347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29379348, 'pht': 3726}}" where mtr_portfolio_id = 29379334 and dashboard_run_id = 2740156 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`=29379334 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346630, 0.06362848861400411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29379334_12-12-2025_15_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29379337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29379338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29379339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29379340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29379341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29379342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29379343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29379344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29379345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29379346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29379347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29379348, '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 = 29379624 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': 4215348, 'mtr_portfolio_id': 29379624, 'created_at': datetime.datetime(2025, 12, 12, 15, 16, 58), 'result': '0.044355183493345905', 'result_long': None, 'result_double': None}] Qualite : 0.044355183493345905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29379624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29379624_12-12-2025_15_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29379624 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_P29379624_12-12-2025_15_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29379639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29379640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29379641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29379642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29379643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29379644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29379645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29379646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29379647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29379648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29379649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29379650, 'pht': 3726}}" where mtr_portfolio_id = 29379624 and dashboard_run_id = 2740156 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`=29379624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346631, 0.044355183493345905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29379624_12-12-2025_15_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29379639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29379640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29379641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29379642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29379643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29379644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29379645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29379646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29379647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29379648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29379649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29379650, '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 = 29380128 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': 4215399, 'mtr_portfolio_id': 29380128, 'created_at': datetime.datetime(2025, 12, 12, 15, 33, 31), 'result': '0.07031489799121347', 'result_long': None, 'result_double': None}] Qualite : 0.07031489799121347 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29380128 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29380128_12-12-2025_15_33_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29380128 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_P29380128_12-12-2025_15_33_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29380140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29380141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29380142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29380143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29380144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29380145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29380146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29380147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29380148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29380149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29380150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29380151, 'pht': 3726}}" where mtr_portfolio_id = 29380128 and dashboard_run_id = 2740156 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`=29380128 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346632, 0.07031489799121347, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29380128_12-12-2025_15_33_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29380140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29380141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29380142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29380143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29380144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29380145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29380146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29380147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29380148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29380149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29380150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29380151, '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 = 29380559 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': 4215497, 'mtr_portfolio_id': 29380559, 'created_at': datetime.datetime(2025, 12, 12, 15, 48, 59), 'result': '0.06221745900048822', 'result_long': None, 'result_double': None}] Qualite : 0.06221745900048822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29380559 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29380559_12-12-2025_15_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29380559 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_P29380559_12-12-2025_15_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29380568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29380569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29380570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29380571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29380572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29380573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29380574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29380575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29380576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29380577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29380578, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29380579, 'pht': 3726}}" where mtr_portfolio_id = 29380559 and dashboard_run_id = 2740156 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`=29380559 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346633, 0.06221745900048822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29380559_12-12-2025_15_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29380568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29380569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29380570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29380571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29380572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29380573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29380574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29380575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29380576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29380577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29380578, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29380579, '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 = 29381059 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': 4215560, 'mtr_portfolio_id': 29381059, 'created_at': datetime.datetime(2025, 12, 12, 16, 2, 59), 'result': '0.05258895696608088', 'result_long': None, 'result_double': None}] Qualite : 0.05258895696608088 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29381059 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29381059_12-12-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29381059 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_P29381059_12-12-2025_16_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29381068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29381069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29381070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29381071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29381072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29381073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29381074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29381075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29381076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29381077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29381078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29381079, 'pht': 3726}}" where mtr_portfolio_id = 29381059 and dashboard_run_id = 2740156 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`=29381059 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346634, 0.05258895696608088, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29381059_12-12-2025_16_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29381068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29381069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29381070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29381071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29381072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29381073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29381074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29381075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29381076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29381077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29381078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29381079, '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 = 29381436 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': 4215663, 'mtr_portfolio_id': 29381436, 'created_at': datetime.datetime(2025, 12, 12, 16, 37), 'result': '0.038713147643138', 'result_long': None, 'result_double': None}] Qualite : 0.038713147643138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29381436 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29381436_12-12-2025_16_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29381436 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_P29381436_12-12-2025_16_37_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29381478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29381479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29381480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29381481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29381482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29381483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29381484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29381485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29381486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29381487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29381488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29381489, 'pht': 3726}}" where mtr_portfolio_id = 29381436 and dashboard_run_id = 2740156 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`=29381436 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346635, 0.038713147643138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29381436_12-12-2025_16_37_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29381478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29381479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29381480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29381481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29381482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29381483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29381484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29381485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29381486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29381487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29381488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29381489, '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 = 29382417 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': 4215804, 'mtr_portfolio_id': 29382417, 'created_at': datetime.datetime(2025, 12, 12, 17, 8, 58), 'result': '0.07110940852744042', 'result_long': None, 'result_double': None}] Qualite : 0.07110940852744042 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29382417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29382417_12-12-2025_17_08_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29382417 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_P29382417_12-12-2025_17_08_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29382420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29382421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29382422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29382423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29382424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29382425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29382426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29382427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29382428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29382429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29382430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29382431, 'pht': 3726}}" where mtr_portfolio_id = 29382417 and dashboard_run_id = 2740156 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`=29382417 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346636, 0.07110940852744042, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29382417_12-12-2025_17_08_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29382420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29382421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29382422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29382423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29382424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29382425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29382426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29382427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29382428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29382429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29382430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29382431, '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 = 29382677 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': 4215842, 'mtr_portfolio_id': 29382677, 'created_at': datetime.datetime(2025, 12, 12, 17, 16, 58), 'result': '0.08509281783926571', 'result_long': None, 'result_double': None}] Qualite : 0.08509281783926571 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29382677 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29382677_12-12-2025_17_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29382677 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_P29382677_12-12-2025_17_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29382681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29382682, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29382683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29382684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29382685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29382686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29382687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29382688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29382689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29382690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29382691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29382692, 'pht': 3726}}" where mtr_portfolio_id = 29382677 and dashboard_run_id = 2740156 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`=29382677 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346637, 0.08509281783926571, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29382677_12-12-2025_17_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29382681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29382682, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29382683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29382684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29382685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29382686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29382687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29382688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29382689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29382690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29382691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29382692, '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 = 29382919 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': 4215862, 'mtr_portfolio_id': 29382919, 'created_at': datetime.datetime(2025, 12, 12, 18, 2, 57), 'result': '0.051487951677037076', 'result_long': None, 'result_double': None}] Qualite : 0.051487951677037076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29382919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29382919_12-12-2025_18_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29382919 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_P29382919_12-12-2025_18_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29382931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29382933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29382934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29382936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29382937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29382938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29382940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29382941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29382942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29382944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29382945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29382946, 'pht': 3726}}" where mtr_portfolio_id = 29382919 and dashboard_run_id = 2740156 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`=29382919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346638, 0.051487951677037076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29382919_12-12-2025_18_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29382931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29382933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29382934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29382936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29382937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29382938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29382940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29382941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29382942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29382944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29382945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29382946, '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 = 29383504 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': 4215976, 'mtr_portfolio_id': 29383504, 'created_at': datetime.datetime(2025, 12, 12, 18, 19), 'result': '0.04301439551167163', 'result_long': None, 'result_double': None}] Qualite : 0.04301439551167163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29383504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29383504_12-12-2025_18_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29383504 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_P29383504_12-12-2025_18_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29383511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29383512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29383513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29383514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29383515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29383516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29383517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29383518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29383519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29383520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29383521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29383522, 'pht': 3726}}" where mtr_portfolio_id = 29383504 and dashboard_run_id = 2740156 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`=29383504 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346639, 0.04301439551167163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29383504_12-12-2025_18_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29383511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29383512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29383513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29383514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29383515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29383516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29383517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29383518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29383519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29383520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29383521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29383522, '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 = 29384031 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': 4216026, 'mtr_portfolio_id': 29384031, 'created_at': datetime.datetime(2025, 12, 12, 18, 32, 59), 'result': '0.044918099922364035', 'result_long': None, 'result_double': None}] Qualite : 0.044918099922364035 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29384031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29384031_12-12-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29384031 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_P29384031_12-12-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29384039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29384040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29384041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29384042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29384043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29384044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29384045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29384046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29384047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29384048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29384049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29384050, 'pht': 3726}}" where mtr_portfolio_id = 29384031 and dashboard_run_id = 2740156 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`=29384031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346640, 0.044918099922364035, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29384031_12-12-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29384039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29384040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29384041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29384042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29384043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29384044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29384045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29384046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29384047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29384048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29384049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29384050, '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 = 29384459 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': 4216091, 'mtr_portfolio_id': 29384459, 'created_at': datetime.datetime(2025, 12, 12, 18, 49, 32), 'result': '0.03882605182235987', 'result_long': None, 'result_double': None}] Qualite : 0.03882605182235987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29384459 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29384459_12-12-2025_18_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29384459 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_P29384459_12-12-2025_18_49_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29384473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29384474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29384475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29384476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29384477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29384478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29384479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29384480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29384481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29384482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29384483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29384484, 'pht': 3726}}" where mtr_portfolio_id = 29384459 and dashboard_run_id = 2740156 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`=29384459 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346641, 0.03882605182235987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29384459_12-12-2025_18_49_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29384473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29384474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29384475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29384476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29384477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29384478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29384479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29384480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29384481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29384482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29384483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29384484, '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 = 29384932 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': 4216177, 'mtr_portfolio_id': 29384932, 'created_at': datetime.datetime(2025, 12, 12, 19, 3), 'result': '0.03594540798982592', 'result_long': None, 'result_double': None}] Qualite : 0.03594540798982592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29384932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29384932_12-12-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29384932 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_P29384932_12-12-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29384933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29384934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29384935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29384936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29384937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29384938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29384939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29384940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29384941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29384942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29384943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29384944, 'pht': 3726}}" where mtr_portfolio_id = 29384932 and dashboard_run_id = 2740156 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`=29384932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346642, 0.03594540798982592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29384932_12-12-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29384933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29384934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29384935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29384936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29384937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29384938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29384939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29384940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29384941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29384942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29384943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29384944, '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 = 29385363 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': 4216254, 'mtr_portfolio_id': 29385363, 'created_at': datetime.datetime(2025, 12, 12, 19, 16, 59), 'result': '0.030408965029139326', 'result_long': None, 'result_double': None}] Qualite : 0.030408965029139326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29385363 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29385363_12-12-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29385363 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_P29385363_12-12-2025_19_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29385380, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29385382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29385383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29385384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29385385, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29385386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29385387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29385388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29385389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29385390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29385392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29385393, 'pht': 3726}}" where mtr_portfolio_id = 29385363 and dashboard_run_id = 2740156 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`=29385363 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346643, 0.030408965029139326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29385363_12-12-2025_19_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29385380, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29385382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29385383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29385384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29385385, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29385386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29385387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29385388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29385389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29385390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29385392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29385393, '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 = 29386070 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': 4216351, 'mtr_portfolio_id': 29386070, 'created_at': datetime.datetime(2025, 12, 12, 19, 32, 58), 'result': '0.05010470356470441', 'result_long': None, 'result_double': None}] Qualite : 0.05010470356470441 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29386070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29386070_12-12-2025_19_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29386070 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_P29386070_12-12-2025_19_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29386075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29386076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29386077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29386078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29386079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29386080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29386081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29386082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29386083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29386084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29386085, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29386086, 'pht': 3726}}" where mtr_portfolio_id = 29386070 and dashboard_run_id = 2740156 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`=29386070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346644, 0.05010470356470441, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29386070_12-12-2025_19_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29386075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29386076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29386077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29386078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29386079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29386080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29386081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29386082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29386083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29386084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29386085, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29386086, '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 = 29386542 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': 4216423, 'mtr_portfolio_id': 29386542, 'created_at': datetime.datetime(2025, 12, 12, 19, 47), 'result': '0.056922700273905315', 'result_long': None, 'result_double': None}] Qualite : 0.056922700273905315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29386542 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29386542_12-12-2025_19_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29386542 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_P29386542_12-12-2025_19_47_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29386561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29386562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29386563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29386564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29386565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29386566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29386567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29386568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29386569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29386570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29386571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29386572, 'pht': 3726}}" where mtr_portfolio_id = 29386542 and dashboard_run_id = 2740156 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`=29386542 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346645, 0.056922700273905315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29386542_12-12-2025_19_47_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29386561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29386562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29386563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29386564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29386565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29386566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29386567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29386568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29386569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29386570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29386571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29386572, '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 = 29387002 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': 4216482, 'mtr_portfolio_id': 29387002, 'created_at': datetime.datetime(2025, 12, 12, 20, 4, 59), 'result': '0.0303499440488534', 'result_long': None, 'result_double': None}] Qualite : 0.0303499440488534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29387002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29387002_12-12-2025_20_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29387002 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_P29387002_12-12-2025_20_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29387028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29387029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29387030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29387031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29387032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29387033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29387034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29387035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29387036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29387037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29387038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29387039, 'pht': 3726}}" where mtr_portfolio_id = 29387002 and dashboard_run_id = 2740156 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`=29387002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346646, 0.0303499440488534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29387002_12-12-2025_20_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29387028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29387029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29387030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29387031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29387032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29387033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29387034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29387035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29387036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29387037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29387038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29387039, '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 = 29387422 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': 4216565, 'mtr_portfolio_id': 29387422, 'created_at': datetime.datetime(2025, 12, 12, 20, 17), 'result': '0.05255280852897725', 'result_long': None, 'result_double': None}] Qualite : 0.05255280852897725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29387422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29387422_12-12-2025_20_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29387422 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_P29387422_12-12-2025_20_17_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29387452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29387453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29387454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29387455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29387456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29387457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29387458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29387459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29387460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29387461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29387462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29387463, 'pht': 3726}}" where mtr_portfolio_id = 29387422 and dashboard_run_id = 2740156 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`=29387422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346647, 0.05255280852897725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29387422_12-12-2025_20_17_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29387452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29387453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29387454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29387455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29387456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29387457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29387458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29387459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29387460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29387461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29387462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29387463, '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 = 29387928 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': 4216628, 'mtr_portfolio_id': 29387928, 'created_at': datetime.datetime(2025, 12, 12, 20, 33, 32), 'result': '0.050100654120902754', 'result_long': None, 'result_double': None}] Qualite : 0.050100654120902754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29387928 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29387928_12-12-2025_20_33_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29387928 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_P29387928_12-12-2025_20_33_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29387936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29387937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29387938, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29387939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29387940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29387941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29387942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29387943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29387944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29387945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29387946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29387947, 'pht': 3726}}" where mtr_portfolio_id = 29387928 and dashboard_run_id = 2740156 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`=29387928 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346648, 0.050100654120902754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29387928_12-12-2025_20_33_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29387936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29387937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29387938, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29387939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29387940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29387941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29387942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29387943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29387944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29387945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29387946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29387947, '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 = 29388477 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': 4216710, 'mtr_portfolio_id': 29388477, 'created_at': datetime.datetime(2025, 12, 12, 20, 48, 59), 'result': '0.059019383918045246', 'result_long': None, 'result_double': None}] Qualite : 0.059019383918045246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29388477 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29388477_12-12-2025_20_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29388477 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_P29388477_12-12-2025_20_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29388483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29388484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29388485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29388486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29388487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29388488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29388489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29388490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29388491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29388492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29388493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29388494, 'pht': 3726}}" where mtr_portfolio_id = 29388477 and dashboard_run_id = 2740156 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`=29388477 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346649, 0.059019383918045246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29388477_12-12-2025_20_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29388483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29388484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29388485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29388486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29388487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29388488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29388489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29388490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29388491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29388492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29388493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29388494, '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 = 29389201 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': 4216828, 'mtr_portfolio_id': 29389201, 'created_at': datetime.datetime(2025, 12, 12, 21, 16, 58), 'result': '0.04169894443912525', 'result_long': None, 'result_double': None}] Qualite : 0.04169894443912525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29389201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29389201_12-12-2025_21_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29389201 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_P29389201_12-12-2025_21_16_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29389202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29389203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29389204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29389205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29389206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29389207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29389208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29389209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29389210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29389211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29389212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29389213, 'pht': 3726}}" where mtr_portfolio_id = 29389201 and dashboard_run_id = 2740156 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`=29389201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346650, 0.04169894443912525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29389201_12-12-2025_21_16_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29389202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29389203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29389204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29389205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29389206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29389207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29389208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29389209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29389210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29389211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29389212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29389213, '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 = 29389375 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': 4216853, 'mtr_portfolio_id': 29389375, 'created_at': datetime.datetime(2025, 12, 12, 21, 37, 2), 'result': '0.04207083090323906', 'result_long': None, 'result_double': None}] Qualite : 0.04207083090323906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29389375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29389375_12-12-2025_21_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29389375 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_P29389375_12-12-2025_21_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29389380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29389381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29389382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29389383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29389384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29389385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29389386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29389387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29389388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29389389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29389390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29389391, 'pht': 3726}}" where mtr_portfolio_id = 29389375 and dashboard_run_id = 2740156 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`=29389375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346651, 0.04207083090323906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29389375_12-12-2025_21_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29389380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29389381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29389382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29389383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29389384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29389385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29389386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29389387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29389388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29389389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29389390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29389391, '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 = 29389867 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': 4216913, 'mtr_portfolio_id': 29389867, 'created_at': datetime.datetime(2025, 12, 12, 21, 46, 58), 'result': '0.029194930820146594', 'result_long': None, 'result_double': None}] Qualite : 0.029194930820146594 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29389867 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29389867_12-12-2025_21_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29389867 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_P29389867_12-12-2025_21_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29389869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29389870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29389871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29389872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29389873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29389874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29389875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29389876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29389877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29389878, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29389879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29389880, 'pht': 3726}}" where mtr_portfolio_id = 29389867 and dashboard_run_id = 2740156 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`=29389867 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346652, 0.029194930820146594, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29389867_12-12-2025_21_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29389869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29389870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29389871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29389872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29389873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29389874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29389875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29389876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29389877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29389878, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29389879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29389880, '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 = 29390079 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': 4216941, 'mtr_portfolio_id': 29390079, 'created_at': datetime.datetime(2025, 12, 12, 22, 2, 58), 'result': '0.051056131353316846', 'result_long': None, 'result_double': None}] Qualite : 0.051056131353316846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29390079 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29390079_12-12-2025_22_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29390079 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_P29390079_12-12-2025_22_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29390085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29390086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29390087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29390088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29390089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29390090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29390091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29390092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29390093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29390094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29390095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29390096, 'pht': 3726}}" where mtr_portfolio_id = 29390079 and dashboard_run_id = 2740156 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`=29390079 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346653, 0.051056131353316846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29390079_12-12-2025_22_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29390085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29390086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29390087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29390088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29390089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29390090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29390091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29390092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29390093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29390094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29390095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29390096, '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 = 29390568 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': 4217054, 'mtr_portfolio_id': 29390568, 'created_at': datetime.datetime(2025, 12, 12, 22, 18, 58), 'result': '0.03390341498120739', 'result_long': None, 'result_double': None}] Qualite : 0.03390341498120739 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29390568 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29390568_12-12-2025_22_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29390568 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_P29390568_12-12-2025_22_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29390580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29390581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29390582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29390583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29390584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29390585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29390586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29390587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29390588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29390589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29390590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29390591, 'pht': 3726}}" where mtr_portfolio_id = 29390568 and dashboard_run_id = 2740156 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`=29390568 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346654, 0.03390341498120739, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29390568_12-12-2025_22_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29390580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29390581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29390582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29390583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29390584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29390585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29390586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29390587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29390588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29390589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29390590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29390591, '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 = 29391224 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': 4217133, 'mtr_portfolio_id': 29391224, 'created_at': datetime.datetime(2025, 12, 12, 22, 32, 56), 'result': '0.048264385769214525', 'result_long': None, 'result_double': None}] Qualite : 0.048264385769214525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29391224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29391224_12-12-2025_22_32_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29391224 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_P29391224_12-12-2025_22_32_56.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29391250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29391251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29391252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29391253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29391254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29391255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29391256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29391257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29391258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29391259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29391260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29391261, 'pht': 3726}}" where mtr_portfolio_id = 29391224 and dashboard_run_id = 2740156 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`=29391224 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346655, 0.048264385769214525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29391224_12-12-2025_22_32_56.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29391250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29391251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29391252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29391253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29391254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29391255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29391256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29391257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29391258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29391259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29391260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29391261, '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 = 29391837 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': 4217180, 'mtr_portfolio_id': 29391837, 'created_at': datetime.datetime(2025, 12, 12, 22, 47), 'result': '0.04626081132362521', 'result_long': None, 'result_double': None}] Qualite : 0.04626081132362521 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29391837 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29391837_12-12-2025_22_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29391837 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_P29391837_12-12-2025_22_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29391852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29391853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29391854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29391855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29391856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29391857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29391858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29391859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29391860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29391861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29391862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29391863, 'pht': 3726}}" where mtr_portfolio_id = 29391837 and dashboard_run_id = 2740156 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`=29391837 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346656, 0.04626081132362521, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29391837_12-12-2025_22_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29391852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29391853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29391854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29391855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29391856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29391857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29391858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29391859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29391860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29391861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29391862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29391863, '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 = 29392421 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': 4217244, 'mtr_portfolio_id': 29392421, 'created_at': datetime.datetime(2025, 12, 12, 23, 3), 'result': '0.038905970339610366', 'result_long': None, 'result_double': None}] Qualite : 0.038905970339610366 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29392421 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29392421_12-12-2025_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29392421 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_P29392421_12-12-2025_23_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29392447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29392448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29392449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29392450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29392451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29392452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29392453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29392454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29392455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29392456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29392457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29392458, 'pht': 3726}}" where mtr_portfolio_id = 29392421 and dashboard_run_id = 2740156 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`=29392421 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346657, 0.038905970339610366, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29392421_12-12-2025_23_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29392447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29392448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29392449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29392450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29392451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29392452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29392453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29392454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29392455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29392456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29392457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29392458, '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 = 29393054 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': 4217299, 'mtr_portfolio_id': 29393054, 'created_at': datetime.datetime(2025, 12, 12, 23, 17), 'result': '0.0798485292951823', 'result_long': None, 'result_double': None}] Qualite : 0.0798485292951823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29393054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29393054_12-12-2025_23_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29393054 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_P29393054_12-12-2025_23_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29393081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29393082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29393083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29393084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29393085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29393086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29393087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29393088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29393089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29393090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29393091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29393092, 'pht': 3726}}" where mtr_portfolio_id = 29393054 and dashboard_run_id = 2740156 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`=29393054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346658, 0.0798485292951823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29393054_12-12-2025_23_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29393081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29393082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29393083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29393084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29393085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29393086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29393087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29393088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29393089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29393090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29393091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29393092, '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 = 29393683 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': 4217343, 'mtr_portfolio_id': 29393683, 'created_at': datetime.datetime(2025, 12, 12, 23, 32, 57), 'result': '0.06106983708910947', 'result_long': None, 'result_double': None}] Qualite : 0.06106983708910947 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29393683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29393683_12-12-2025_23_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29393683 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_P29393683_12-12-2025_23_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29393725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29393726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29393727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29393728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29393729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29393730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29393731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29393732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29393733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29393734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29393735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29393736, 'pht': 3726}}" where mtr_portfolio_id = 29393683 and dashboard_run_id = 2740156 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`=29393683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346659, 0.06106983708910947, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29393683_12-12-2025_23_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29393725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29393726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29393727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29393728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29393729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29393730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29393731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29393732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29393733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29393734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29393735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29393736, '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 = 29394335 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': 4217407, 'mtr_portfolio_id': 29394335, 'created_at': datetime.datetime(2025, 12, 12, 23, 47, 2), 'result': '0.08889528634823202', 'result_long': None, 'result_double': None}] Qualite : 0.08889528634823202 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29394335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29394335_12-12-2025_23_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29394335 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_P29394335_12-12-2025_23_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29394380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29394381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29394382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29394383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29394384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29394385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29394386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29394387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29394388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29394389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29394390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29394391, 'pht': 3726}}" where mtr_portfolio_id = 29394335 and dashboard_run_id = 2740156 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`=29394335 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346660, 0.08889528634823202, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29394335_12-12-2025_23_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29394380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29394381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29394382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29394383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29394384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29394385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29394386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29394387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29394388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29394389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29394390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29394391, '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 = 29394918 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': 4217459, 'mtr_portfolio_id': 29394918, 'created_at': datetime.datetime(2025, 12, 13, 1, 14, 32), 'result': '0.050430647858192956', 'result_long': None, 'result_double': None}] Qualite : 0.050430647858192956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29394918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29394918_13-12-2025_01_14_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29394918 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_P29394918_13-12-2025_01_14_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29394926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29394927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29394928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29394929, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29394930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29394931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29394933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29394934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29394935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29394936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29394937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29394938, 'pht': 3726}}" where mtr_portfolio_id = 29394918 and dashboard_run_id = 2740156 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`=29394918 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18346661, 0.050430647858192956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29394918_13-12-2025_01_14_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29394926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29394927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29394928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29394929, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29394930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29394931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29394933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29394934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29394935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29394936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29394937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29394938, '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 (29353967,29354414,29354703,29355153,29356369,29356788,29357162,29357697,29358082,29358557,29358933,29359035,29359405,29359799,29360191,29361267,29361419,29361719,29362085,29362407,29362854,29363295,29363773,29364180,29364786,29365262,29365724,29366368,29366602,29367216,29367911,29369385,29369990,29370446,29370838,29371214,29371672,29372129,29372543,29373212,29373878,29374651,29377140,29377556,29377785,29378344,29378900,29379334,29379624,29380128,29380559,29381059,29381436,29382417,29382677,29382919,29383504,29384031,29384459,29384932,29385363,29386070,29386542,29387002,29387422,29387928,29388477,29389201,29389375,29389867,29390079,29390568,29391224,29391837,29392421,29393054,29393683,29394335,29394918) result : ((1398955948,), (1398955951,), (1398955953,), (1398955955,), (1398955958,), (1398956174,), (1398956207,), (1398956248,), (1398956287,), (1398956299,), (1398956413,), (1398956414,), (1398956417,), (1398956419,), (1398956458,), (1398956462,), (1398956499,), (1398956502,), (1398956535,), (1398956537,), (1398956569,), (1398956573,), (1398956728,), (1398956766,), (1398956802,), (1398956837,), (1398956876,), (1398957235,), (1398957280,), (1398957314,), (1398957359,), (1398957581,), (1398957616,), (1398957651,), (1398957685,), (1398958081,), (1398958115,), (1398958178,), (1398958243,), (1398959056,), (1398959095,), (1398959129,), (1398959259,), (1398959260,), (1398959262,), (1398959263,), (1398959265,), (1398959499,), (1398959536,), (1398959576,), (1398959611,), (1398959646,), (1398959782,), (1398959784,), (1398959786,), (1398959788,), (1398959791,), (1398959815,), (1398959816,), (1398959817,), (1398959827,), (1398959828,), (1398959831,), (1398959836,), (1398959839,), (1398959850,), (1398959852,), (1398959854,), (1398959861,), (1398959868,), (1398959881,), (1398959918,), (1398959934,), (1398959936,), (1398959938,), (1398959940,), (1398959977,), (1398959980,), (1398959981,), (1398959982,), (1398959985,), (1398959995,), (1398959997,), (1398959999,), (1398960001,), (1398960232,), (1398960233,), (1398960234,), (1398960235,), (1398960248,), (1398960251,), (1398960254,), (1398960294,), (1398960337,), (1398960370,), (1398960409,), (1398960553,), (1398960556,), (1398960559,), (1398960563,), (1398960567,), (1398960571,), (1398960586,), (1398960587,), (1398960588,), (1398960589,), (1398960602,), (1398960604,), (1398960606,), (1398960608,), (1398960610,), (1398960612,), (1398960633,), (1398960634,), (1398960658,), (1398960695,), (1398960731,), (1398960771,), (1398960890,), (1398960924,), (1398961059,), (1398961510,), (1398961576,), (1398961611,), (1398961646,), (1398961900,), (1398961928,), (1398961997,), (1398961999,), (1398962015,), (1398961988,), (1398961990,), (1398961992,), (1398961994,), (1398962137,), (1398962172,), (1398962214,), (1398962250,), (1398962686,), (1398962758,), (1398962830,), (1398962906,), (1398962974,), (1398963510,), (1398963549,), (1398963586,), (1398964022,), (1398964056,), (1398964088,), (1398964125,), (1398964158,), (1398964196,), (1398964464,), (1398964629,), (1398964667,), (1398964710,), (1398964773,), (1398964798,), (1398964894,), (1398964896,), (1398964899,), (1398964924,), (1398964926,), (1398964928,), (1398964935,), (1398964941,), (1398964957,), (1398964959,), (1398964962,), (1398964966,), (1398964969,), (1398965265,), (1398965301,), (1398965339,), (1398965998,), (1398966065,), (1398966129,), (1398966191,), (1398966866,), (1398966869,), (1398966871,), (1398966873,), (1398966876,), (1398966879,), (1398967116,), (1398967151,), (1398967185,), (1398967251,), (1398967556,), (1398967558,), (1398967560,), (1398967562,), (1398967656,), (1398967659,), (1398967660,), (1398967663,), (1398967666,), (1398967669,), (1398967684,), (1398967673,), (1398967675,), (1398967677,), (1398967679,), (1398967681,), (1398968022,), (1398968059,), (1398968096,), (1398968132,), (1398968424,), (1398968425,), (1398968426,), (1398968427,), (1398968612,), (1398968647,), (1398968661,), (1398968663,), (1398968686,), (1398968689,), (1398968730,), (1398968734,), (1398968736,), (1398968949,), (1398968984,), (1398969018,), (1398969066,), (1398969102,), (1398969138,), (1398969480,), (1398969516,), (1398969553,), (1398969588,), (1398969628,), (1398969666,), (1398969784,), (1398969786,), (1398969787,), (1398969987,), (1398970023,), (1398970061,), (1398970095,), (1398970108,), (1398970111,), (1398970231,), (1398970232,), (1398970234,), (1398970236,), (1398970239,), (1398970242,), (1398970252,), (1398970253,), (1398970254,), (1398970268,), (1398970270,), (1398970272,), (1398970274,), (1398970277,), (1398970281,), (1398970290,), (1398970292,), (1398970294,), (1398970296,), (1398970299,), (1398970342,), (1398970344,), (1398970346,), (1398970349,), (1398971710,), (1398975733,), (1398975742,), (1398975770,), (1398975798,), (1398975799,), (1398975800,), (1398975801,), (1398975804,), (1398975817,), (1398975819,), (1398975830,), (1398975835,), (1398975840,), (1398975842,), (1398975845,), (1398975855,), (1398975857,), (1398975858,), (1398975875,), (1398975911,), (1398976270,), (1398976306,), (1398976341,), (1398976749,), (1398976750,), (1398976751,), (1398976752,), (1398976755,), (1398976954,), (1398976962,), (1398976983,), (1398977016,), (1398977041,), (1398977080,), (1398977082,), (1398977085,), (1398977088,), (1398977106,), (1398977108,), (1398977110,), (1398977111,), (1398977113,), (1398977123,), (1398977124,), (1398977126,), (1398977128,), (1398977131,), (1398977133,), (1398977150,), (1398977153,), (1398977160,), (1398977162,), (1398977486,), (1398977521,), (1398977551,), (1398977585,), (1398977620,), (1398977856,), (1398977858,), (1398977890,), (1398977928,), (1398977965,), (1398978183,), (1398978218,), (1398978251,), (1398978290,), (1398978326,), (1398978363,), (1398978734,), (1398978671,), (1398978704,), (1398979122,), (1398979124,), (1398979126,), (1398979128,), (1398979131,), (1398979134,), (1398979311,), (1398979343,), (1398979350,), (1398979352,), (1398979376,), (1398979435,), (1398979442,), (1398979446,), (1398979468,), (1398979469,), (1398979470,), (1398979471,), (1398979473,), (1398979487,), (1398979490,), (1398979492,), (1398979494,), (1398979497,), (1398979501,), (1398979508,), (1398979514,), (1398979523,), (1398979526,), (1398979527,), (1398979534,), (1398979536,), (1398979539,), (1398979540,), (1398979541,), (1398979542,), (1398979554,), (1398979556,), (1398979557,), (1398979560,), (1398979568,), (1398979580,), (1398979582,), (1398979584,), (1398979586,), (1398979604,), (1398979605,), (1398979606,), (1398979620,), (1398979622,), (1398979624,), (1398979626,), (1398979637,), (1398979642,), (1398979644,), (1398979662,), (1398979665,), (1398979668,), (1398979671,), (1398979672,), (1398979674,), (1398979691,), (1398979684,), (1398979687,), (1398979689,), (1398979704,), (1398979705,), (1398979706,), (1398979707,), (1398979709,), (1398979712,), (1398979719,), (1398979741,), (1398979775,), (1398979808,), (1398980178,), (1398980212,), (1398980236,), (1398980237,), (1398980240,), (1398980627,), (1398980689,), (1398980723,), (1398980764,), (1398981148,), (1398981149,), (1398981150,), (1398981183,), (1398981218,), (1398981253,), (1398981573,), (1398981608,), (1398981642,), (1398981681,), (1398981749,), (1398981810,), (1398981986,), (1398981998,), (1398982000,), (1398982003,), (1398982011,), (1398982013,), (1398982015,), (1398982017,), (1398982020,), (1398982022,), (1398982030,), (1398982034,), (1398982036,), (1398982037,), (1398982039,), (1398982050,), (1398982051,), (1398982052,), (1398982053,), (1398982072,), (1398982413,), (1398982448,), (1398982481,), (1398982516,), (1398982899,), (1398982943,), (1398982978,), (1398982980,), (1398982983,), (1398982986,), (1398983007,), (1398984295,), (1398984050,), (1398984628,), (1398984717,), (1398984727,), (1398984729,), (1398984731,), (1398984747,), (1398984748,), (1398984749,), (1398984750,), (1398984766,), (1398984768,), (1398984774,), (1398984783,), (1398984799,), (1398984800,), (1398984801,), (1398984802,), (1398984837,), (1398984839,), (1398984841,), (1398984843,), (1398984846,), (1398984855,), (1398984858,), (1398984861,), (1398984865,), (1398984867,), (1398984891,), (1398984892,), (1398984893,), (1398984894,), (1398984936,), (1398984937,), (1398984940,), (1398984941,), (1398984942,), (1398984943,), (1398984959,), (1398984960,), (1398984961,), (1398984962,), (1398984963,), (1398984964,), (1398984965,), (1398984966,), (1398984926,), (1398984927,), (1398984928,), (1398984929,), (1398984930,), (1398984931,), (1398984932,), (1398984933,), (1398984934,), (1398984935,), (1398984938,), (1398984939,), (1398984948,), (1398984950,), (1398984951,), (1398984952,), (1398984953,), (1398984954,), (1398984955,), (1398984956,), (1398984957,), (1398984958,), (1398984967,), (1398984968,), (1398984969,), (1398984970,), (1398984971,), (1398984972,), (1398984973,), (1398984974,), (1398984975,), (1398984976,), (1398984977,), (1398984978,), (1398984980,), (1398984981,), (1398984982,), (1398984983,), (1398984984,), (1398984995,), (1398984996,), (1398984997,), (1398984998,), (1398984999,), (1398985000,), (1398985001,), (1398985002,), (1398985003,), (1398985004,), (1398985015,), (1398985016,), (1398985017,), (1398985018,), (1398985019,), (1398985026,), (1398985027,), (1398985028,), (1398985029,), (1398985030,), (1398985037,), (1398985456,), (1398985466,), (1398985468,), (1398985470,), (1398985476,), (1398985477,), (1398985479,), (1398985481,), (1398985484,), (1398985487,), (1398985503,), (1398985504,), (1398985507,), (1398985510,), (1398985512,), (1398985517,), (1398985519,), (1398985111,), (1398985112,), (1398985113,), (1398985114,), (1398985115,), (1398985116,), (1398985117,), (1398985118,), (1398985120,), (1398985122,), (1398985124,), (1398985126,), (1398985129,), (1398985130,), (1398985131,), (1398985133,), (1398985135,), (1398985137,), (1398985149,), (1398985181,), (1398985213,), (1398985245,), (1398985279,), (1398985312,), (1398985390,), (1398985392,), (1398985395,), (1398985399,), (1398985402,), (1398985405,), (1398985410,), (1398985412,), (1398985415,), (1398985418,), (1398985421,), (1398985424,), (1398985427,), (1398985428,), (1398985431,), (1398985434,), (1398985438,), (1398985445,), (1398985450,), (1398985451,), (1398985688,), (1398985501,), (1398985679,), (1398985681,), (1398985683,), (1398985685,), (1398985703,), (1398985705,), (1398985706,), (1398985709,), (1398985712,), (1398985715,), (1398985727,), (1398985730,), (1398985732,), (1398985734,), (1398985736,), (1398985738,), (1398985744,), (1398985747,), (1398985748,), (1398985749,), (1398985751,), (1398985753,), (1398985755,), (1398985770,), (1398985772,), (1398985773,), (1398985774,), (1398985809,), (1398985797,), (1398985799,), (1398985801,), (1398985803,), (1398985806,), (1398985817,), (1398985818,), (1398985819,), (1398985820,), (1398985823,), (1398985826,), (1398985837,), (1398985839,), (1398985841,), (1398985844,), (1398985847,), (1398985849,), (1398985855,), (1398985856,), (1398985860,), (1398985864,), (1398985865,), (1398985866,), (1398985869,), (1398985872,), (1398985882,), (1398985884,), (1398985892,), (1398985900,), (1398985907,), (1398985919,), (1398985921,), (1398985925,), (1398985929,), (1398985966,), (1398985975,), (1398985979,), (1398985981,), (1398985983,), (1398985986,), (1398986001,), (1398986002,), (1398986004,), (1398986006,), (1398986021,), (1398986022,), (1398986023,), (1398986024,), (1398986026,), (1398986038,), (1398986040,), (1398986042,), (1398986044,), (1398986048,), (1398986051,), (1398986062,), (1398986064,), (1398986066,), (1398986068,), (1398986070,), (1398986091,), (1398986093,), (1398986095,), (1398986098,), (1398986101,), (1398986104,), (1398986134,), (1398986140,), (1398986142,), (1398986144,), (1398986147,), (1398986160,), (1398986161,), (1398986162,), (1398986163,), (1398986166,), (1398986187,), (1398986188,), (1398986191,), (1398986193,), (1398986196,), (1398986200,), (1398986218,), (1398986206,), (1398986212,), (1398986239,), (1398986241,), (1398986253,), (1398986261,), (1398986263,), (1398986265,), (1398986278,), (1398986279,), (1398986280,), (1398986281,), (1398986291,), (1398986294,), (1398986297,), (1398986318,), (1398986320,), (1398986321,), (1398986322,), (1398986324,), (1398986348,), (1398986352,), (1398986354,), (1398986356,), (1398986359,), (1398986365,), (1398986367,), (1398986369,), (1398986371,), (1398986386,), (1398986387,), (1398986388,), (1398986390,), (1398986393,), (1398986396,), (1398986405,), (1398986406,), (1398986414,), (1398986418,), (1398986423,), (1398986425,), (1398986429,), (1398986432,), (1398986436,), (1398986439,), (1398986445,), (1398986446,), (1398986447,), (1398986448,), (1398986463,), (1398986464,), (1398986466,), (1398986468,), (1398986471,), (1398986503,), (1398986507,), (1398986508,), (1398986509,), (1398986512,), (1398986524,), (1398986526,), (1398986528,), (1398986544,), (1398986546,), (1398986547,), (1398986548,), (1398986551,), (1398986553,), (1398986574,), (1398986581,), (1398986582,), (1398986584,), (1398986587,), (1398986590,), (1398986620,), (1398986616,), (1398986618,), (1398986619,), (1398986636,), (1398986640,), (1398986643,), (1398986647,), (1398986650,), (1398986652,), (1398986670,), (1398986671,), (1398986672,), (1398986673,), (1398986679,), (1398986681,), (1398986693,), (1398986695,), (1398986697,), (1398986726,), (1398986728,), (1398986730,), (1398986732,), (1398986735,), (1398986736,), (1398986750,), (1398986751,), (1398986752,), (1398986753,), (1398986756,), (1398986758,), (1398986774,), (1398986775,), (1398986777,), (1398986780,), (1398986783,), (1398986785,), (1398986795,), (1398986796,), (1398986799,), (1398986802,), (1398986804,), (1398986806,), (1398986812,), (1398986813,), (1398986815,), (1398986818,), (1398986821,), (1398986822,), (1398986834,), (1398986839,), (1398986842,), (1398986846,), (1398986854,), (1398986857,), (1398986867,), (1398986869,), (1398986890,), (1398986891,), (1398986899,), (1398986901,), (1398986903,), (1398986904,), (1398986909,), (1398986912,), (1398986914,), (1398986922,), (1398986924,), (1398986927,), (1398986930,), (1398986944,), (1398986947,), (1398986949,), (1398986965,), (1398986968,), (1398986971,), (1398986974,), (1398986976,), (1398987140,), (1398986991,), (1398987027,), (1398987063,), (1398987102,), (1398987562,), (1398987596,), (1398987632,), (1398987665,), (1398987732,), (1398987796,), (1398988690,), (1398988753,), (1398988816,), (1398989359,), (1398989391,), (1398989426,), (1398989461,), (1398989820,), (1398989821,), (1398989822,), (1398989857,), (1398989862,), (1398990176,), (1398990213,), (1398990216,), (1398990217,), (1398990344,), (1398990347,), (1398990350,), (1398990377,), (1398990413,), (1398990451,), (1398990589,), (1398990593,), (1398990595,), (1398990596,), (1398990599,), (1398990916,), (1398990951,), (1398991430,), (1398991463,), (1398991517,), (1398991574,), (1398991605,), (1398991751,), (1398991795,), (1398993212,), (1398997259,), (1398998062,), (1398998097,), (1398998117,), (1398998455,), (1398998457,), (1398998476,), (1398998646,), (1398998647,), (1398998664,), (1398998666,), (1398998668,), (1398998670,), (1398998673,), (1398998676,), (1398998685,), (1398998686,), (1398998712,), (1398998710,), (1398998711,), (1398998723,), (1398998725,), (1398998727,), (1398998729,), (1398998732,), (1398998735,), (1398998746,), (1398998748,), (1398998751,), (1398998753,), (1398998756,), (1398998769,), (1398998770,), (1398998771,), (1398998772,), (1398998775,), (1398998805,), (1398998807,), (1398998809,), (1398998811,), (1398998814,), (1398998828,), (1398998830,), (1398998832,), (1398998836,), (1398998857,), (1398998859,), (1398998861,), (1398998863,), (1398998866,), (1398998869,), (1398998877,), (1398998878,), (1398998880,), (1398998914,), (1398998915,), (1398998916,), (1398998917,), (1398998919,), (1398998922,), (1398998935,), (1398998936,), (1398998937,), (1398998938,), (1398998958,), (1398998960,), (1398998962,), (1398998964,), (1398998967,), (1398998968,), (1398998979,), (1398998981,), (1398998982,), (1398998984,), (1398998987,), (1398999000,), (1398999002,), (1398999003,), (1398999020,), (1398999022,), (1398999024,), (1398999026,), (1398999029,), (1398999032,), (1398999056,), (1398999064,), (1398999066,), (1398999067,), (1398999087,), (1398999079,), (1398999081,), (1398999083,), (1398999085,), (1398999116,), (1398999117,), (1398999124,), (1398999133,), (1398999136,), (1398999139,), (1398999161,), (1398999163,), (1398999165,), (1398999167,), (1398999186,), (1398999187,), (1398999188,), (1398999189,), (1398999192,), (1398999195,), (1398999208,), (1398999210,), (1398999212,), (1398999214,), (1398999238,), (1398999239,), (1398999240,), (1398999241,), (1398999244,), (1398999246,), (1398999259,), (1398999261,), (1398999263,), (1398999265,), (1398999268,), (1398999291,), (1398999294,), (1398999295,), (1398999296,), (1398999299,), (1398999313,), (1398999315,), (1398999317,), (1398999319,), (1398999322,), (1398999325,), (1398999349,), (1398999350,), (1398999351,), (1398999352,), (1398999368,), (1398999370,), (1398999372,), (1398999374,), (1398999377,), (1398999393,), (1398999394,), (1398999395,), (1398999407,), (1398999409,), (1398999411,), (1398999413,), (1398999416,), (1398999418,), (1398999448,), (1398999451,), (1398999455,), (1398999456,), (1398999472,), (1398999475,), (1398999479,), (1398999481,), (1398999484,), (1398999515,), (1398999504,), (1398999505,), (1398999509,), (1398999512,), (1398999528,), (1398999530,), (1398999532,), (1398999534,), (1398999537,), (1398999555,), (1398999560,), (1398999561,), (1398999564,), (1398999567,), (1398999570,), (1398999578,), (1398999580,), (1398999582,), (1398999584,), (1398999587,), (1398999588,), (1398999602,), (1398999604,), (1398999605,), (1398999606,), (1398999609,), (1398999623,), (1398999625,), (1398999627,), (1398999631,), (1398999635,), (1398999638,), (1398999646,), (1398999647,), (1398999648,), (1398999658,), (1398999660,), (1398999662,), (1398999665,), (1398999667,), (1398999668,), (1398999684,), (1398999686,), (1398999688,), (1398999691,), (1398999693,), (1398999708,), (1398999709,), (1398999710,), (1398999711,), (1398999727,), (1398999729,), (1398999731,), (1398999733,), (1398999736,), (1398999738,), (1398999777,), (1398999779,), (1398999781,), (1398999783,), (1398999786,), (1398999801,), (1398999802,), (1398999803,), (1398999804,), (1398999807,), (1398999818,), (1398999821,), (1398999824,), (1398999826,), (1398999829,), (1398999853,), (1398999856,), (1398999859,), (1398999866,), (1398999879,), (1398999880,), (1398999882,), (1398999883,), (1398999884,), (1398999885,), (1398999888,), (1398999889,), (1398999892,), (1398999893,), (1398999900,), (1398999897,), (1398999898,), (1398999899,), (1398999915,), (1398999917,), (1398999919,), (1398999921,), (1398999937,), (1398999940,), (1398999942,), (1398999946,), (1398999950,), (1398999976,), (1398999979,), (1398999981,), (1398999985,), (1398999988,), (1398999997,), (1398999999,), (1399000001,), (1399000003,), (1399000006,), (1399000008,), (1399000022,), (1399000023,), (1399000024,), (1399000025,), (1399000028,), (1399000049,), (1399000051,), (1399000053,), (1399000055,), (1399000058,), (1399000061,), (1399000080,), (1399000081,), (1399000083,), (1399000085,), (1399000107,), (1399000112,), (1399000114,), (1399000116,), (1399000119,), (1399000122,), (1399000158,), (1399000160,), (1399000162,), (1399000164,), (1399000177,), (1399000179,), (1399000181,), (1399000183,), (1399000186,), (1399000189,), (1399000216,), (1399000220,), (1399000221,), (1399000222,), (1399000225,), (1399000239,), (1399000241,), (1399000243,), (1399000248,), (1399000254,), (1399000256,), (1399000266,), (1399000268,), (1399000270,), (1399000272,), (1399000303,), (1399000307,), (1399000309,), (1399000310,), (1399000313,), (1399000315,), (1399000346,), (1399000338,), (1399000342,), (1399000363,), (1399000365,), (1399000367,), (1399000371,), (1399000375,), (1399000395,), (1399000397,), (1399000399,), (1399000400,), (1399000403,), (1399000420,), (1399000422,), (1399000424,), (1399000426,), (1399000443,), (1399000444,), (1399000445,), (1399000446,), (1399000448,), (1399000450,), (1399000473,), (1399000474,), (1399000475,), (1399000476,), (1399000479,), (1399000493,), (1399000506,), (1399000514,), (1399000518,), (1399000521,), (1399000530,), (1399000533,), (1399000535,), (1399000537,), (1399000541,), (1399000570,), (1399000572,), (1399000574,), (1399000576,), (1399000578,), (1399000580,), (1399000591,), (1399000592,), (1399000593,), (1399000594,), (1399000626,), (1399000628,), (1399000637,), (1399000645,), (1399000649,), (1399000651,), (1399000692,), (1399000693,), (1399000694,), (1399000695,), (1399000716,), (1399000717,), (1399000718,), (1399000719,), (1399000722,), (1399000724,), (1399000737,), (1399000739,), (1399000741,), (1399000743,), (1399000746,), (1399000788,), (1399000790,), (1399000814,), (1399000808,), (1399000810,), (1399000812,), (1399000833,), (1399000835,), (1399000836,), (1399000837,), (1399000839,), (1399000841,), (1399000869,), (1399000870,), (1399000871,), (1399000904,), (1399000906,), (1399000908,), (1399000910,), (1399000935,), (1399000936,), (1399000937,), (1399000957,), (1399000959,), (1399000961,), (1399000963,), (1399000966,), (1399000968,), (1399000976,), (1399000979,), (1399000982,), (1399000986,), (1399001005,), (1399001007,), (1399001009,), (1399001011,), (1399001035,), (1399001040,), (1399001041,), (1399001042,), (1399001045,), (1399001064,), (1399001066,), (1399001068,), (1399001070,), (1399001073,), (1399001074,), (1399001084,), (1399001087,), (1399001089,), (1399001092,), (1399001095,), (1399001096,), (1399001112,), (1399001115,), (1399001122,), (1399001123,), (1399001124,), (1399001125,), (1399001128,), (1399001130,), (1399001149,), (1399001151,), (1399001153,), (1399001155,), (1399001158,), (1399001161,), (1399001174,), (1399001175,), (1399001176,), (1399001205,), (1399001207,), (1399001209,), (1399001211,), (1399001216,), (1399001220,), (1399001261,), (1399001262,), (1399001265,), (1399001268,), (1399001271,), (1399001274,), (1399001277,), (1399001243,), (1399001253,), (1399001256,), (1399001259,), (1399001281,), (1399001283,), (1399001285,), (1399001310,), (1399001312,), (1399001318,), (1399001327,), (1399001330,), (1399001333,), (1399001341,), (1399001343,), (1399001345,), (1399001347,), (1399001350,), (1399001363,), (1399001366,), (1399001368,), (1399001370,), (1399001420,), (1399001426,), (1399001428,), (1399001431,), (1399001434,), (1399001436,), (1399001438,), (1399001448,), (1399001450,), (1399001452,), (1399001454,), (1399001456,), (1399001459,), (1399001466,), (1399001468,), (1399001471,), (1399001474,), (1399001476,), (1399001478,), (1399001525,), (1399001526,), (1399001528,), (1399001529,), (1399001530,), (1399001531,), (1399001533,), (1399001534,), (1399001553,), (1399001554,), (1399001581,), (1399001584,), (1399001589,), (1399001593,), (1399001597,), (1399001604,), (1399001615,), (1399001617,), (1399001619,), (1399001621,), (1399001623,), (1399001625,), (1399001654,), (1399001656,), (1399001658,), (1399001662,), (1399001665,), (1399001666,), (1399001687,), (1399001689,), (1399001718,), (1399001753,), (1399001788,), (1399001824,), (1399002278,), (1399002338,), (1399002384,), (1399002420,), (1399002452,), (1399002484,), (1399002628,), (1399002630,), (1399002649,), (1399002652,), (1399002682,), (1399002718,), (1399003056,), (1399003091,), (1399003239,), (1399003284,), (1399003320,), (1399003353,), (1399003386,), (1399002854,), (1399002898,), (1399002993,), (1399003025,), (1399003525,), (1399003526,), (1399003530,), (1399003533,), (1399003536,), (1399003728,), (1399003763,), (1399003796,), (1399003827,), (1399003861,), (1399003905,), (1399004111,), (1399004171,), (1399004208,), (1399004241,), (1399004274,), (1399004316,), (1399004458,), (1399004472,), (1399004503,), (1399004542,), (1399004575,), (1399004645,), (1399004707,), (1399004829,), (1399004858,), (1399004859,), (1399004860,), (1399004934,), (1399004935,), (1399004936,), (1399004937,), (1399004940,), (1399004943,), (1399004971,), (1399005012,), (1399005022,), (1399005036,), (1399005051,), (1399005070,), (1399005071,), (1399005072,), (1399005073,), (1399005076,), (1399005119,), (1399005121,), (1399005123,), (1399005125,), (1399005127,), (1399005130,), (1399005141,), (1399005143,), (1399005437,), (1399005445,), (1399005446,), (1399005453,), (1399005456,), (1399005458,), (1399005471,), (1399005473,), (1399005475,), (1399005477,), (1399005481,), (1399005510,), (1399005512,), (1399005514,), (1399005516,), (1399005544,), (1399005548,), (1399005551,), (1399005582,), (1399005578,), (1399005580,), (1399005625,), (1399005628,), (1399005655,), (1399005669,), (1399005676,), (1399005886,), (1399005897,), (1399005901,), (1399005939,), (1399006087,), (1399006089,), (1399006091,), (1399006093,), (1399006096,), (1399006110,), (1399006111,), (1399006113,), (1399006115,), (1399006118,), (1399006120,), (1399006130,), (1399006132,), (1399006135,), (1399006139,), (1399006175,), (1399006178,), (1399006181,), (1399006188,), (1399006193,), (1399006209,), (1399006210,), (1399006211,), (1399006212,), (1399006214,), (1399006235,), (1399006236,), (1399006237,), (1399006239,), (1399006241,), (1399006268,), (1399006256,), (1399006258,), (1399006260,), (1399006262,), (1399006265,), (1399006278,), (1399006279,), (1399006280,), (1399006281,), (1399006301,), (1399006303,), (1399006305,), (1399006307,), (1399006310,), (1399006448,), (1399006450,), (1399006452,), (1399006454,), (1399006576,), (1399006582,), (1399006583,), (1399006584,), (1399006586,), (1399006595,), (1399006618,), (1399006619,), (1399006621,), (1399006623,), (1399006733,), (1399006735,), (1399006737,), (1399006739,), (1399006742,), (1399006745,), (1399006756,), (1399006758,), (1399006760,), (1399006762,), (1399007061,), (1399007102,), (1399007108,), (1399007111,), (1399007114,), (1399007116,), (1399007141,), (1399007148,), (1399007150,), (1399007152,), (1399007155,), (1399007158,), (1399007309,), (1399007311,), (1399007313,), (1399007360,), (1399007361,), (1399007362,), (1399007363,), (1399007366,), (1399007368,), (1399007506,), (1399007508,), (1399007510,), (1399007512,), (1399007564,), (1399007573,), (1399007576,), (1399007579,), (1399007582,), (1399007619,), (1399007705,), (1399007712,), (1399007761,), (1399007906,), (1399007899,), (1399007900,), (1399007901,), (1399007902,), (1399007916,), (1399007918,), (1399007920,), (1399007922,), (1399007924,), (1399007927,), (1399007951,), (1399007952,), (1399007956,), (1399007961,), (1399007964,), (1399007967,), (1399007980,), (1399007981,), (1399007982,), (1399007983,), (1399007984,), (1399007993,), (1399007996,), (1399007998,), (1399008004,), (1399008012,), (1399008016,), (1399008021,), (1399008023,), (1399008025,), (1399008027,), (1399008044,), (1399008049,), (1399008059,), (1399008069,), (1399008073,), (1399008087,), (1399008090,), (1399008097,), (1399008105,), (1399008114,), (1399008121,), (1399008136,), (1399008137,), (1399008142,), (1399008158,), (1399008204,), (1399008212,), (1399008214,), (1399008216,), (1399008241,), (1399008278,), (1399008429,), (1399008488,), (1399008523,), (1399008526,), (1399008595,), (1399008596,), (1399008597,), (1399008598,), (1399008601,), (1399008604,), (1399008615,), (1399008624,), (1399008628,), (1399008630,), (1399008633,), (1399008645,), (1399008647,), (1399008679,), (1399008711,), (1399008714,), (1399008716,), (1399008743,), (1399008748,), (1399008756,), (1399008764,), (1399008767,), (1399008772,), (1399008773,), (1399008777,), (1399008779,), (1399008781,), (1399008794,), (1399008787,), (1399008789,), (1399008791,), (1399008808,), (1399008811,), (1399008818,), (1399008819,), (1399008822,), (1399008834,), (1399008835,), (1399008836,), (1399008837,), (1399008871,), (1399008876,), (1399008881,), (1399008883,), (1399008886,), (1399008898,), (1399008921,), (1399008924,), (1399008925,), (1399008928,), (1399008941,), (1399008943,), (1399008945,), (1399008947,), (1399008950,), (1399008953,), (1399008963,), (1399008966,), (1399008968,), (1399008971,), (1399009004,), (1399009006,), (1399009007,), (1399009008,), (1399009011,), (1399009014,), (1399009028,), (1399009037,), (1399009040,), (1399009042,), (1399009059,), (1399009060,), (1399009061,), (1399009062,), (1399009186,), (1399009224,), (1399009258,), (1399009292,), (1399009326,), (1399009347,), (1399009351,), (1399009354,), (1399009387,), (1399009497,), (1399009553,), (1399009555,), (1399009557,), (1399009559,), (1399009562,), (1399009565,), (1399009575,), (1399009577,), (1399009580,), (1399009583,), (1399009587,), (1399009783,), (1399009690,), (1399009723,), (1399009752,), (1399010204,), (1399010260,), (1399010303,), (1399010337,), (1399010376,), (1399010423,), (1399010751,), (1399010787,), (1399010809,), (1399010812,), (1399010819,), (1399010833,), (1399010834,), (1399010835,), (1399010836,), (1399010837,), (1399011187,), (1399011219,), (1399011237,), (1399011238,), (1399011255,), (1399011375,), (1399011376,), (1399011377,), (1399011378,), (1399011381,), (1399011739,), (1399011772,), (1399011805,), (1399011837,), (1399012196,), (1399012311,), (1399012343,), (1399012379,), (1399012412,), (1399012445,), (1399012468,), (1399012470,), (1399012472,), (1399012474,), (1399012477,), (1399012683,), (1399012739,), (1399012810,), (1399012875,), (1399012944,), (1399012986,), (1399013349,), (1399013383,), (1399013415,), (1399013448,), (1399013482,), (1399013516,), (1399013930,), (1399013993,), (1399014058,), (1399014117,), (1399014153,), (1399014244,), (1399014246,), (1399014248,), (1399014250,), (1399014253,), (1399014256,), (1399014594,), (1399014611,), (1399014613,), (1399014622,), (1399014675,), (1399014708,), (1399014927,), (1399014949,), (1399014979,), (1399015006,), (1399015066,), (1399015051,), (1399015053,), (1399015056,), (1399015059,), (1399015062,), (1399015085,), (1399015094,), (1399015095,), (1399015129,), (1399015175,), (1399015215,), (1399015401,), (1399015421,), (1399015428,), (1399015432,), (1399015436,), (1399015438,), (1399015440,), (1399015442,), (1399015444,), (1399015448,), (1399015450,), (1399015451,), (1399015452,), (1399015455,), (1399015463,), (1399015465,), (1399015467,), (1399015469,), (1399015472,), (1399015632,), (1399015665,), (1399015693,), (1399015695,), (1399015698,), (1399015699,), (1399015795,), (1399015797,), (1399015799,), (1399015801,), (1399015846,), (1399015848,), (1399015850,), (1399015852,), (1399015855,), (1399015867,), (1399015902,), (1399015904,), (1399015907,), (1399015910,), (1399015913,), (1399015917,), (1399015981,), (1399015987,), (1399015988,), (1399016150,), (1399016152,), (1399016165,), (1399016198,), (1399016206,), (1399016209,), (1399016358,), (1399016360,), (1399016362,), (1399016374,), (1399016377,), (1399016379,), (1399016381,), (1399016384,), (1399016388,), (1399016679,), (1399016723,), (1399016777,), (1399016811,), (1399016842,), (1399016874,), (1399017170,), (1399017203,), (1399017236,), (1399017270,), (1399017495,), (1399017389,), (1399017423,), (1399017455,), (1399017471,), (1399017476,), (1399017576,), (1399017578,), (1399017586,), (1399017590,), (1399017593,), (1399017867,), (1399017897,), (1399017905,), (1399017940,), (1399017942,), (1399017944,), (1399017946,), (1399017949,), (1399017951,), (1399017958,), (1399017961,), (1399017963,), (1399017991,), (1399017999,), (1399018001,), (1399018003,), (1399018006,), (1399018008,), (1399018032,), (1399018034,), (1399018035,), (1399018037,), (1399018124,), (1399018136,), (1399018151,), (1399018161,), (1399018173,), (1399018204,), (1399018239,), (1399018252,), (1399018254,), (1399018256,), (1399018265,), (1399018322,), (1399018324,), (1399018327,), (1399018330,), (1399018354,), (1399018552,), (1399018567,), (1399018568,), (1399018592,), (1399018605,), (1399018614,), (1399018631,), (1399018633,), (1399018635,), (1399018637,), (1399018640,), (1399018655,), (1399018657,), (1399018659,), (1399018661,), (1399018664,), (1399019074,), (1399019084,), (1399019120,), (1399019155,), (1399019188,), (1399019796,), (1399032712,), (1399032847,), (1399032853,), (1399032860,), (1399032863,), (1399032866,), (1399032878,), (1399032881,), (1399032884,), (1399032895,), (1399033230,), (1399033288,), (1399033317,), (1399033347,), (1399033383,), (1399033417,), (1399033933,), (1399034020,), (1399034114,), (1399034192,), (1399034254,), (1399034832,), (1399034862,), (1399034877,), (1399034878,), (1399034881,), (1399034883,), (1399035153,), (1399035186,), (1399035220,), (1399035256,), (1399035287,), (1399035376,), (1399035406,), (1399035454,), (1399035522,), (1399035615,), (1399036063,), (1399036102,), (1399036164,), (1399036233,), (1399036300,), (1399036337,), (1399036527,), (1399036529,), (1399036531,), (1399036533,), (1399036560,), (1399036562,), (1399036564,), (1399036566,), (1399036568,), (1399036569,), (1399036584,), (1399036585,), (1399036586,), (1399036587,), (1399036602,), (1399036604,), (1399036606,), (1399036608,), (1399036612,), (1399036615,), (1399036657,), (1399036791,), (1399036792,), (1399036793,), (1399036794,), (1399036800,), (1399036816,), (1399036858,), (1399036846,), (1399036848,), (1399036850,), (1399036852,), (1399036855,), (1399036952,), (1399036987,), (1399037027,), (1399037065,), (1399037076,), (1399037095,), (1399037102,), (1399037103,), (1399037104,), (1399037106,), (1399037160,), (1399037162,), (1399037164,), (1399037166,), (1399037169,), (1399037193,), (1399037194,), (1399037200,), (1399037203,), (1399037206,), (1399037258,), (1399037291,), (1399037326,), (1399037361,), (1399037393,), (1399037424,), (1399037754,), (1399037791,), (1399037817,), (1399037819,), (1399037822,), (1399038003,), (1399038021,), (1399038044,), (1399038085,), (1399038416,), (1399038451,), (1399038485,), (1399038522,), (1399038556,), (1399038593,), (1399038684,), (1399038687,), (1399038690,), (1399038789,), (1399038791,), (1399038793,), (1399038795,), (1399038798,), (1399038809,), (1399038810,), (1399038811,), (1399038812,), (1399038815,), (1399038834,), (1399038836,), (1399038865,), (1399038921,), (1399038931,), (1399039176,), (1399039181,), (1399039190,), (1399039283,), (1399039274,), (1399039276,), (1399039278,), (1399039280,), (1399039299,), (1399039300,), (1399039302,), (1399039304,), (1399039322,), (1399039327,), (1399039329,), (1399039331,), (1399039334,), (1399039337,), (1399039455,), (1399039458,), (1399039462,), (1399039465,), (1399039468,), (1399039471,), (1399039486,), (1399039488,), (1399039490,), (1399039492,), (1399039527,), (1399039536,), (1399039551,), (1399039556,), (1399039559,), (1399039602,), (1399039774,), (1399039777,), (1399039781,), (1399039785,), (1399039788,), (1399039807,), (1399039809,), (1399039811,), (1399039813,), (1399039816,), (1399039823,), (1399039906,), (1399039907,), (1399039909,), (1399039911,), (1399039914,), (1399039922,), (1399039979,), (1399039981,), (1399039983,), (1399039985,), (1399039998,), (1399040001,), (1399040004,), (1399040007,), (1399040010,), (1399040012,), (1399040028,), (1399040029,), (1399040030,), (1399040202,), (1399040208,), (1399040212,), (1399040234,), (1399040236,), (1399040238,), (1399040411,), (1399040448,), (1399040450,), (1399040452,), (1399040475,), (1399040478,), (1399040480,), (1399040482,), (1399040486,), (1399040489,), (1399040548,), (1399040538,), (1399040541,), (1399040543,), (1399040545,), (1399040619,), (1399040652,), (1399040688,), (1399040728,), (1399040762,), (1399040783,), (1399040864,), (1399040881,), (1399040883,), (1399040885,), (1399040990,), (1399040991,), (1399040995,), (1399040997,), (1399041002,), (1399041007,), (1399041027,), (1399041030,), (1399041033,), (1399041036,), (1399041124,), (1399041133,), (1399041134,), (1399041139,), (1399041152,), (1399041155,), (1399041191,), (1399041218,), (1399041258,), (1399041292,), (1399041327,), (1399041583,), (1399041585,), (1399041587,), (1399041591,), (1399041595,), (1399041599,), (1399041616,), (1399041620,), (1399041624,), (1399041628,), (1399041632,), (1399041651,), (1399041655,), (1399041657,), (1399041659,), (1399041702,), (1399041703,), (1399041704,), (1399041705,), (1399041708,), (1399041711,), (1399041728,), (1399041730,), (1399041733,), (1399041736,), (1399041789,), (1399041794,), (1399041798,), (1399041810,), (1399041813,), (1399041829,), (1399041830,), (1399041832,), (1399041834,), (1399041837,), (1399041852,), (1399041854,), (1399041856,), (1399041864,), (1399041874,), (1399041876,), (1399041923,), (1399041918,), (1399041919,), (1399041921,), (1399041949,), (1399041950,), (1399041952,), (1399041954,), (1399041957,), (1399041960,), (1399041979,), (1399041981,), (1399041983,), (1399041985,), (1399041988,), (1399042010,), (1399042041,), (1399042075,), (1399042135,), (1399042172,), (1399042361,), (1399042383,), (1399042403,), (1399042407,), (1399042466,), (1399042468,), (1399042471,), (1399042475,), (1399042480,), (1399042482,), (1399042495,), (1399042497,), (1399042499,), (1399042501,), (1399042532,), (1399042546,), (1399042585,), (1399042623,), (1399042660,), (1399042791,), (1399042794,), (1399042796,), (1399042798,), (1399042801,), (1399042838,), (1399042840,), (1399042842,), (1399042860,), (1399042894,), (1399043060,), (1399043093,), (1399043129,), (1399043179,), (1399043193,), (1399043207,), (1399043265,), (1399043266,), (1399043268,), (1399043270,), (1399043289,), (1399043290,), (1399043291,), (1399043292,), (1399043295,), (1399043307,), (1399043310,), (1399043313,), (1399043316,), (1399043317,), (1399043359,), (1399043391,), (1399043423,), (1399043459,), (1399043494,), (1399043779,), (1399043740,), (1399043766,), (1399043771,), (1399043774,), (1399043777,), (1399043942,), (1399043943,), (1399043944,), (1399043945,), (1399044025,), (1399044058,), (1399044093,), (1399044127,), (1399044158,), (1399044396,), (1399044398,), (1399044401,), (1399044424,), (1399044461,), (1399044543,), (1399044545,), (1399044552,), (1399044592,), (1399044626,), (1399044633,), (1399044725,), (1399044727,), (1399044728,), (1399044729,), (1399044766,), (1399044768,), (1399044770,), (1399044773,), (1399044776,), (1399044777,), (1399044792,), (1399044793,), (1399044796,), (1399044799,), (1399044802,), (1399044811,), (1399044834,), (1399044835,), (1399044841,), (1399044848,), (1399044850,), (1399044853,), (1399044859,), (1399044861,), (1399044890,), (1399044927,), (1399044960,), (1399044996,), (1399045027,), (1399045050,), (1399045078,), (1399045097,), (1399045099,), (1399045101,), (1399045109,), (1399045110,), (1399045303,), (1399045307,), (1399045312,), (1399045374,), (1399045392,), (1399045394,), (1399045403,), (1399045406,), (1399045438,), (1399045458,), (1399045460,), (1399045462,), (1399045464,), (1399045466,), (1399045468,), (1399045477,), (1399045480,), (1399045483,), (1399045486,), (1399045505,), (1399045506,), (1399045507,), (1399045508,), (1399045511,), (1399045513,), (1399045818,), (1399045850,), (1399045886,), (1399045919,), (1399045954,), (1399046196,), (1399046197,), (1399046198,), (1399046199,), (1399046202,), (1399046229,), (1399046605,), (1399046666,), (1399046748,), (1399047255,), (1399047256,), (1399047257,), (1399047258,), (1399047261,), (1399047264,), (1399047440,), (1399047470,), (1399047495,), (1399047496,), (1399047516,), (1399047574,), (1399047576,), (1399047578,), (1399047580,), (1399047583,), (1399047586,), (1399047718,), (1399047752,), (1399047785,), (1399047817,), (1399047849,), (1399047886,), (1399048019,), (1399048054,), (1399048097,), (1399048133,), (1399048168,), (1399048285,), (1399048320,), (1399048361,), (1399048397,), (1399048399,), (1399048497,), (1399048498,), (1399048499,), (1399048500,), (1399048503,), (1399048539,), (1399048785,), (1399048846,), (1399048879,), (1399048914,), (1399048949,), (1399049193,), (1399049225,), (1399049251,), (1399049252,), (1399049536,), (1399049377,), (1399049389,), (1399049421,), (1399049460,), (1399049504,), (1399049809,), (1399049972,), (1399050025,), (1399050081,), (1399050350,), (1399050352,), (1399050364,), (1399050396,), (1399050429,), (1399050462,), (1399050738,), (1399050775,), (1399050798,), (1399050799,), (1399050987,), (1399050993,), (1399051011,), (1399051022,), (1399051042,), (1399051057,), (1399051058,), (1399051090,), (1399051206,), (1399051214,), (1399051225,), (1399051259,), (1399051266,), (1399051531,), (1399051565,), (1399051624,), (1399051665,), (1399051747,), (1399051750,), (1399051753,), (1399051757,), (1399051760,), (1399051764,), (1399051780,), (1399051787,), (1399051788,), (1399051790,), (1399051807,), (1399051809,), (1399051811,), (1399051832,), (1399051869,), (1399051906,), (1399052381,), (1399052457,), (1399052504,), (1399052520,), (1399052668,), (1399052670,), (1399052671,), (1399052695,), (1399052746,), (1399052798,), (1399052885,), (1399052943,), (1399052979,), (1399053012,), (1399053047,), (1399053292,), (1399053237,), (1399053239,), (1399053266,), (1399053290,), (1399053329,), (1399053367,), (1399053405,), (1399053431,), (1399053533,), (1399053535,), (1399053537,), (1399053539,), (1399053542,), (1399053545,), (1399053567,), (1399053568,), (1399053569,), (1399053570,), (1399053572,), (1399053614,), (1399053616,), (1399053620,), (1399053627,), (1399053630,), (1399053638,), (1399053812,), (1399053842,), (1399053848,), (1399053849,), (1399053932,), (1399053934,), (1399053951,), (1399053994,), (1399054275,), (1399054308,), (1399054339,), (1399054383,), (1399054735,), (1399054772,), (1399054778,), (1399054780,), (1399054942,), (1399054953,), (1399054960,), (1399054962,), (1399054976,), (1399055140,), (1399055216,), (1399055268,), (1399055310,), (1399055346,), (1399055363,), (1399055432,), (1399055464,), (1399055498,), (1399055534,), (1399055925,), (1399055959,), (1399055991,), (1399056026,), (1399056061,), (1399056096,), (1399056379,), (1399056471,), (1399056474,), (1399056478,), (1399056482,), (1399056617,), (1399056621,), (1399056624,), (1399056669,), (1399056709,), (1399057199,), (1399057070,), (1399057108,), (1399057145,), (1399057195,), (1399057310,), (1399057312,), (1399057338,), (1399057394,), (1399057809,), (1399057811,), (1399057813,), (1399057863,), (1399057880,), (1399057948,), (1399058386,), (1399058499,), (1399058502,), (1399058604,), (1399059827,), (1399059818,), (1399059821,), (1399059824,), (1399060178,), (1399060219,), (1399060262,), (1399060274,), (1399060276,), (1399060312,), (1399060485,), (1399060493,), (1399060496,), (1399060498,), (1399060516,), (1399060518,), (1399060520,), (1399060522,), (1399060525,), (1399060528,), (1399060549,), (1399060553,), (1399060558,), (1399060562,), (1399060631,), (1399060633,), (1399060635,), (1399060636,), (1399060675,), (1399060678,), (1399060680,), (1399060682,), (1399060685,), (1399060688,), (1399060702,), (1399060705,), (1399060708,), (1399060721,), (1399060737,), (1399060752,), (1399060766,), (1399060774,), (1399060779,), (1399060788,), (1399060818,), (1399060819,), (1399060820,), (1399060821,), (1399060827,), (1399060838,), (1399060840,), (1399060892,), (1399063181,), (1399078396,), (1399078483,), (1399078485,), (1399078648,), (1399078735,), (1399078750,), (1399078778,), (1399078786,), (1399078872,), (1399078874,), (1399078876,), (1399078878,), (1399078881,), (1399078921,), (1399078953,), (1399078954,), (1399078967,), (1399078972,), (1399079005,), (1399079034,), (1399079036,), (1399079040,), (1399079074,), (1399079107,), (1399079525,), (1399079470,), (1399079488,), (1399079494,), (1399079500,), (1399079622,), (1399079624,), (1399079626,), (1399079628,), (1399079650,), (1399079653,), (1399079655,), (1399079686,), (1399079688,), (1399079690,), (1399079692,), (1399079695,), (1399079712,), (1399079715,), (1399079716,), (1399079718,), (1399079721,), (1399079966,), (1399080001,), (1399080035,), (1399080068,), (1399080123,), (1399080125,), (1399080127,), (1399080129,), (1399080132,), (1399080135,), (1399080161,), (1399080163,), (1399080169,), (1399080185,), (1399080189,), (1399080511,), (1399080525,), (1399080528,), (1399080530,), (1399080568,), (1399080570,), (1399080572,), (1399080574,), (1399080577,), (1399080579,), (1399080599,), (1399080602,), (1399080605,), (1399080607,), (1399080629,), (1399080630,), (1399080631,), (1399080632,), (1399080674,), (1399080676,), (1399080678,), (1399080680,), (1399080683,), (1399080686,), (1399080712,), (1399080716,), (1399080719,), (1399080729,), (1399080731,), (1399080732,), (1399080733,), (1399080737,), (1399081076,), (1399080902,), (1399080939,), (1399080972,), (1399081010,), (1399081044,), (1399081288,), (1399081291,), (1399081293,), (1399081295,), (1399081514,), (1399081518,), (1399081522,), (1399081526,), (1399081530,), (1399081532,), (1399081550,), (1399081558,), (1399081560,), (1399081562,), (1399081565,), (1399081567,), (1399081581,), (1399081584,), (1399081586,), (1399081588,), (1399081709,), (1399081745,), (1399081779,), (1399081815,), (1399081850,), (1399081883,), (1399082206,), (1399082242,), (1399082276,), (1399082933,), (1399082966,), (1399083000,), (1399083033,), (1399083451,), (1399083498,), (1399083535,), (1399083568,), (1399083602,), (1399083844,), (1399083877,), (1399083938,), (1399083988,), (1399084034,), (1399084224,), (1399084232,), (1399084234,), (1399084236,), (1399084260,), (1399084262,), (1399084282,), (1399084319,), (1399084353,), (1399084388,), (1399084990,), (1399085022,), (1399085054,), (1399085088,), (1399085120,), (1399085663,), (1399085731,), (1399085793,), (1399086258,), (1399086293,), (1399086322,), (1399086352,), (1399086395,), (1399086430,), (1399086932,), (1399086738,), (1399086772,), (1399086830,), (1399086896,), (1399087087,), (1399087089,), (1399087113,), (1399087115,), (1399087116,), (1399087117,), (1399087120,), (1399087142,), (1399087144,), (1399087146,), (1399087148,), (1399087151,), (1399087153,), (1399087177,), (1399087179,), (1399087181,), (1399087183,), (1399087186,), (1399087200,), (1399087201,), (1399087281,), (1399087283,), (1399087285,), (1399087288,), (1399087314,), (1399087380,), (1399087389,), (1399087391,), (1399087393,), (1399087396,), (1399087398,), (1399087400,), (1399087415,), (1399087417,), (1399087419,), (1399087429,), (1399087430,), (1399087432,), (1399087434,), (1399087437,), (1399087470,), (1399087473,), (1399087476,), (1399087478,), (1399087480,), (1399087508,), (1399087510,), (1399087511,), (1399087527,), (1399087529,), (1399087531,), (1399087533,), (1399087576,), (1399087578,), (1399087579,), (1399087591,), (1399087625,), (1399087653,), (1399087656,), (1399087682,), (1399087724,), (1399087722,), (1399087752,), (1399087753,), (1399087767,), (1399087769,), (1399087856,), (1399088022,), (1399088155,), (1399088159,), (1399088284,), (1399088279,), (1399088282,), (1399088307,), (1399088309,), (1399088311,), (1399088313,), (1399088323,), (1399088324,), (1399088325,), (1399088326,), (1399088374,), (1399088375,), (1399088378,), (1399088381,), (1399088413,), (1399088534,), (1399088660,), (1399088713,), (1399088715,), (1399089580,), (1399089568,), (1399089573,), (1399089577,), (1399089929,), (1399089981,), (1399090023,), (1399090096,), (1399090132,), (1399090171,), (1399090554,), (1399090600,), (1399090662,), (1399090728,), (1399091241,), (1399091244,), (1399091247,), (1399091266,), (1399091281,), (1399091291,), (1399091382,), (1399091414,), (1399091449,), (1399091484,), (1399091738,), (1399091781,), (1399091794,), (1399091799,), (1399091802,), (1399091805,), (1399091831,), (1399091836,), (1399091847,), (1399091852,), (1399091939,), (1399091973,), (1399092006,), (1399092142,), (1399092143,), (1399092152,), (1399092153,), (1399092212,), (1399092214,), (1399092216,), (1399092222,), (1399092256,), (1399092288,), (1399092329,), (1399092350,), (1399092381,), (1399092413,), (1399092493,), (1399092498,), (1399092531,), (1399092535,), (1399092538,), (1399092542,), (1399092607,), (1399092609,), (1399092611,), (1399092613,), (1399092654,), (1399092687,), (1399092710,), (1399092713,), (1399092715,), (1399092717,), (1399092749,), (1399092744,), (1399092745,), (1399092746,), (1399092747,), (1399092762,), (1399092764,), (1399092766,), (1399092768,), (1399092770,), (1399092786,), (1399092788,), (1399092790,), (1399092792,), (1399092794,), (1399092809,), (1399092811,), (1399092814,), (1399092817,), (1399092820,), (1399092864,), (1399092865,), (1399092866,), (1399093023,), (1399093057,), (1399093093,), (1399093130,), (1399093166,), (1399093203,), (1399093228,), (1399093232,), (1399093234,), (1399093236,), (1399093253,), (1399093254,), (1399093255,), (1399093256,), (1399093278,), (1399093281,), (1399093284,), (1399093287,), (1399093332,), (1399093334,), (1399093335,), (1399093336,), (1399093339,), (1399093341,), (1399093424,), (1399093467,), (1399093503,), (1399093657,), (1399093659,), (1399093670,), (1399093726,), (1399093728,), (1399093730,), (1399093738,), (1399093741,), (1399093745,), (1399093818,), (1399093819,), (1399093821,), (1399093823,), (1399093846,), (1399093848,), (1399093851,), (1399093853,), (1399093855,), (1399093859,), (1399093879,), (1399093869,), (1399093873,), (1399093876,), (1399093902,), (1399093904,), (1399093905,), (1399093907,), (1399093910,), (1399093912,), (1399093927,), (1399093929,), (1399093931,), (1399093953,), (1399093975,), (1399093982,), (1399093988,), (1399094040,), (1399094048,), (1399094051,), (1399094071,), (1399094073,), (1399094075,), (1399094077,), (1399094080,), (1399094083,), (1399094107,), (1399094108,), (1399094109,), (1399094110,), (1399094112,), (1399094135,), (1399094136,), (1399094137,), (1399094181,), (1399094183,), (1399094185,), (1399094187,), (1399094190,), (1399094203,), (1399094205,), (1399094208,), (1399094211,), (1399094214,), (1399094216,), (1399094249,), (1399094251,), (1399094253,), (1399094274,), (1399094277,), (1399094279,), (1399094281,), (1399094284,), (1399094287,), (1399094310,), (1399094320,), (1399094322,), (1399094324,), (1399094327,), (1399094354,), (1399094356,), (1399094358,), (1399094406,), (1399094389,), (1399094396,), (1399094398,), (1399094400,), (1399094403,), (1399094426,), (1399094428,), (1399094430,), (1399094434,), (1399094438,), (1399094474,), (1399094475,), (1399094478,), (1399094481,), (1399094484,), (1399094487,), (1399094491,), (1399094492,), (1399094495,), (1399094497,), (1399094499,), (1399094502,), (1399094505,), (1399094517,), (1399094518,), (1399094519,), (1399094520,), (1399094521,), (1399094544,), (1399094545,), (1399094547,), (1399094549,), (1399094581,), (1399094583,), (1399094585,), (1399094587,), (1399094589,), (1399094591,), (1399094606,), (1399094608,), (1399094616,), (1399094622,), (1399094691,), (1399094692,), (1399094693,), (1399094694,), (1399094697,), (1399094700,), (1399094710,), (1399094712,), (1399094714,), (1399094716,), (1399094718,), (1399094721,), (1399094738,), (1399094739,), (1399094740,), (1399094764,), (1399094766,), (1399094768,), (1399094770,), (1399094773,), (1399094780,), (1399094806,), (1399094808,), (1399094809,), (1399094810,), (1399094813,), (1399094815,), (1399094852,), (1399094855,), (1399094858,), (1399095605,), (1399095359,), (1399095436,), (1399095507,), (1399095569,), (1399095931,), (1399095954,), (1399096276,), (1399096291,), (1399096293,), (1399096295,), (1399096298,), (1399096311,), (1399096312,), (1399096313,), (1399096314,), (1399096317,), (1399096320,), (1399096355,), (1399096357,), (1399096359,), (1399096376,), (1399096483,), (1399096486,), (1399096548,), (1399096550,), (1399096552,), (1399096554,), (1399096558,), (1399096562,), (1399096595,), (1399096598,), (1399096601,), (1399096604,), (1399096606,), (1399096608,), (1399096611,), (1399096613,), (1399098011,), (1399098708,), (1399098901,), (1399098910,), (1399098913,), (1399098915,), (1399098917,), (1399098954,), (1399098986,), (1399098998,), (1399099234,), (1399100562,), (1399102833,), (1399102280,), (1399102795,), (1399103184,), (1399103188,), (1399103190,), (1399103301,), (1399103304,), (1399103307,), (1399103326,), (1399103327,), (1399103328,), (1399103345,), (1399103347,), (1399103349,), (1399103351,), (1399103378,), (1399103380,), (1399103381,), (1399103382,), (1399103384,), (1399103417,), (1399103419,), (1399103421,), (1399103423,), (1399103426,), (1399103429,), (1399103444,), (1399103445,), (1399103446,), (1399103447,), (1399103450,), (1399103451,), (1399103465,), (1399103467,), (1399103511,), (1399103502,), (1399103504,), (1399103506,), (1399103508,), (1399103526,), (1399103527,), (1399103528,), (1399103529,), (1399103531,), (1399103533,), (1399103581,), (1399103582,), (1399103583,), (1399103585,), (1399103587,), (1399103588,), (1399103596,), (1399103600,), (1399103607,), (1399103608,), (1399103609,), (1399103619,), (1399103657,), (1399103790,), (1399103792,), (1399103794,), (1399103796,), (1399103799,), (1399103801,), (1399103823,), (1399103824,), (1399103825,), (1399103826,), (1399103851,), (1399103853,), (1399103855,), (1399103857,), (1399103860,), (1399103863,), (1399103876,), (1399103878,), (1399103880,), (1399103884,), (1399103887,), (1399103890,), (1399103913,), (1399103935,), (1399103936,), (1399103937,), (1399103975,), (1399103978,), (1399103980,), (1399103999,), (1399104000,), (1399104001,), (1399104002,), (1399104005,), (1399104007,), (1399104037,), (1399104039,), (1399104041,), (1399104043,), (1399104046,), (1399104058,), (1399104059,), (1399104060,), (1399105589,), (1399105605,), (1399105607,), (1399105609,), (1399105611,), (1399105643,), (1399105676,), (1399105984,), (1399106017,), (1399106047,), (1399106802,), (1399106865,), (1399107436,), (1399107469,), (1399107503,), (1399107535,), (1399107566,), (1399108054,), (1399108118,), (1399108176,), (1399108212,), (1399108250,), (1399109220,), (1399109311,), (1399109421,), (1399110410,), (1399110445,), (1399110479,), (1399110514,), (1399110547,), (1399110583,), (1399110713,), (1399110747,), (1399110845,), (1399110873,), (1399110909,), (1399110943,), (1399110978,), (1399111017,), (1399111334,), (1399111383,), (1399111452,), (1399111692,), (1399111726,), (1399111761,), (1399111772,), (1399111794,), (1399111796,), (1399111799,), (1399111801,), (1399111803,), (1399111841,), (1399111843,), (1399111844,), (1399111845,), (1399111863,), (1399111865,), (1399111867,), (1399111886,), (1399111889,), (1399111926,), (1399111915,), (1399111917,), (1399111919,), (1399111921,), (1399111924,), (1399111949,), (1399111950,), (1399111963,), (1399111970,), (1399111973,), (1399111976,), (1399112264,), (1399112267,), (1399112269,), (1399112291,), (1399112325,), (1399112550,), (1399112551,), (1399112552,), (1399112567,), (1399112684,), (1399112686,), (1399112688,), (1399112690,), (1399112708,), (1399112709,), (1399112710,), (1399112711,), (1399112714,), (1399112772,), (1399112777,), (1399112779,), (1399112781,), (1399112784,), (1399112796,), (1399112797,), (1399112798,), (1399112799,), (1399112819,), (1399112821,), (1399112823,), (1399112825,), (1399112828,), (1399112831,), (1399112879,), (1399112880,), (1399112881,), (1399112901,), (1399112903,), (1399112923,), (1399112925,), (1399112927,), (1399112931,), (1399112935,), (1399112959,), (1399112961,), (1399112963,), (1399112965,), (1399112968,), (1399112984,), (1399112985,), (1399112986,), (1399112987,), (1399112989,), (1399113024,), (1399113026,), (1399113027,), (1399113028,), (1399113030,), (1399113032,), (1399113055,), (1399113045,), (1399113047,), (1399113048,), (1399113049,), (1399113052,), (1399113079,), (1399113081,), (1399113083,), (1399113101,), (1399113102,), (1399113103,), (1399113104,), (1399113107,), (1399113130,), (1399113132,), (1399113134,), (1399113136,), (1399113139,), (1399113142,), (1399113154,), (1399113157,), (1399113159,), (1399113161,), (1399113184,), (1399113185,), (1399113186,), (1399113187,), (1399113190,), (1399113191,), (1399113205,), (1399113207,), (1399113209,), (1399113211,), (1399113214,), (1399113216,), (1399113244,), (1399113245,), (1399113246,), (1399113247,), (1399113263,), (1399113265,), (1399113267,), (1399113269,), (1399113272,), (1399113275,), (1399113297,), (1399113298,), (1399113299,), (1399113315,), (1399113317,), (1399113319,), (1399113321,), (1399113324,), (1399113360,), (1399113361,), (1399113362,), (1399113363,), (1399113366,), (1399113368,), (1399113382,), (1399113384,), (1399113386,), (1399113388,), (1399113414,), (1399113415,), (1399113416,), (1399113417,), (1399113418,), (1399113421,), (1399113438,), (1399113441,), (1399113443,), (1399113481,), (1399113469,), (1399113472,), (1399113474,), (1399113476,), (1399113479,), (1399113490,), (1399113492,), (1399113494,), (1399113496,), (1399113499,), (1399113502,), (1399113517,), (1399113518,), (1399113519,), (1399113520,), (1399113548,), (1399113553,), (1399113555,), (1399113557,), (1399113560,), (1399113564,), (1399113578,), (1399113580,), (1399113582,), (1399113584,), (1399113587,), (1399113590,), (1399113603,), (1399113604,), (1399113605,), (1399113606,), (1399113609,), (1399113626,), (1399113628,), (1399113630,), (1399113632,), (1399113635,), (1399113647,), (1399113649,), (1399113651,), (1399113675,), (1399113676,), (1399113677,), (1399113678,), (1399113704,), (1399113706,), (1399113708,), (1399113710,), (1399113713,), (1399113716,), (1399113728,), (1399113729,), (1399113730,), (1399113731,), (1399113749,), (1399113751,), (1399113753,), (1399113755,), (1399113758,), (1399113779,), (1399113781,), (1399113783,), (1399113785,), (1399113788,), (1399113791,), (1399114054,), (1399114066,), (1399114087,), (1399114132,), (1399114655,), (1399114573,), (1399114614,), (1399114650,), (1399114651,), (1399114781,), (1399114819,), (1399114844,), (1399114846,), (1399114865,), (1399114921,), (1399114922,), (1399114923,), (1399114945,), (1399114947,), (1399114949,), (1399114951,), (1399114952,), (1399114955,), (1399114975,), (1399114976,), (1399114977,), (1399114978,), (1399114981,), (1399114984,), (1399115000,), (1399115026,), (1399115059,), (1399115095,), (1399115133,), (1399115500,), (1399115533,), (1399115566,), (1399115599,), (1399115636,), (1399115672,), (1399116064,), (1399116117,), (1399116118,), (1399116144,), (1399116178,), (1399116211,), (1399116246,), (1399116282,), (1399116316,), (1399116502,), (1399116544,), (1399116565,), (1399116575,), (1399116578,), (1399116591,), (1399116593,), (1399116595,), (1399116597,), (1399116600,), (1399116639,), (1399116640,), (1399116641,), (1399116642,), (1399116645,), (1399116648,), (1399116822,), (1399116852,), (1399116854,), (1399116870,), (1399116955,), (1399116968,), (1399117008,), (1399117042,), (1399117079,), (1399117108,), (1399117116,), (1399117120,), (1399117123,), (1399117127,), (1399117132,), (1399117135,), (1399117153,), (1399117151,), (1399117217,), (1399117218,), (1399117219,), (1399117220,), (1399117246,), (1399117248,), (1399117250,), (1399117257,), (1399117314,), (1399117619,), (1399117620,), (1399117621,), (1399117647,), (1399117649,), (1399117651,), (1399117653,), (1399117655,), (1399117687,), (1399117776,), (1399117794,), (1399117796,), (1399117814,), (1399117815,), (1399117840,), (1399117871,), (1399117905,), (1399117941,), (1399118085,), (1399118093,), (1399118100,), (1399118200,), (1399118201,), (1399118202,), (1399118203,), (1399118227,), (1399118229,), (1399118231,), (1399118233,), (1399118236,), (1399118238,), (1399118344,), (1399118271,), (1399118305,), (1399118326,), (1399118330,), (1399118335,), (1399118418,), (1399118420,), (1399118421,), (1399118424,), (1399118436,), (1399118438,), (1399118440,), (1399118442,), (1399118445,), (1399118464,), (1399118465,), (1399118466,), (1399118467,), (1399118470,), (1399118473,), (1399118490,), (1399118492,), (1399118494,), (1399118525,), (1399118528,), (1399118530,), (1399118532,), (1399118535,), (1399118557,), (1399118559,), (1399118561,), (1399118563,), (1399118566,), (1399118587,), (1399118588,), (1399118589,), (1399118590,), (1399118593,), (1399118596,), (1399118609,), (1399118611,), (1399118613,), (1399118615,), (1399118685,), (1399118702,), (1399118710,), (1399118712,), (1399118715,), (1399118717,), (1399118731,), (1399118748,), (1399118773,), (1399118819,), (1399118853,), (1399118940,), (1399118942,), (1399118944,), (1399119045,), (1399119046,), (1399119047,), (1399119048,), (1399119050,), (1399119098,), (1399119099,), (1399119100,), (1399119101,), (1399119103,), (1399119105,), (1399119254,), (1399119256,), (1399119258,), (1399119260,), (1399119263,), (1399119285,), (1399119280,), (1399119283,), (1399119315,), (1399119317,), (1399119324,), (1399119326,), (1399119329,), (1399119340,), (1399119342,), (1399119343,), (1399119344,), (1399119346,), (1399119348,), (1399119417,), (1399119418,), (1399119419,), (1399119420,), (1399119449,), (1399119451,), (1399119453,), (1399119455,), (1399119458,), (1399119476,), (1399119477,), (1399119478,), (1399119479,), (1399119482,), (1399119501,), (1399119502,), (1399119503,), (1399119504,), (1399119526,), (1399119528,), (1399119530,), (1399119532,), (1399119535,), (1399119559,), (1399119560,), (1399119561,), (1399119562,), (1399119564,), (1399119566,), (1399119579,), (1399119581,), (1399119583,), (1399119585,), (1399119608,), (1399119609,), (1399119610,), (1399119611,), (1399119627,), (1399119629,), (1399119631,), (1399119633,), (1399119636,), (1399119639,), (1399119648,), (1399119651,), (1399119654,), (1399119656,), (1399119673,), (1399119676,), (1399119677,), (1399119679,), (1399119680,), (1399119683,), (1399119704,), (1399119708,), (1399119711,), (1399119734,), (1399119767,), (1399119805,), (1399119844,), (1399119879,), (1399119912,), (1399120174,), (1399120214,), (1399119698,), (1399119700,), (1399119702,), (1399120033,), (1399120070,), (1399120106,), (1399120141,), (1399120421,), (1399120455,), (1399120492,), (1399120529,), (1399120566,), (1399121171,), (1399121205,), (1399121238,), (1399121271,), (1399121307,), (1399121341,), (1399121682,), (1399121756,), (1399121817,), (1399121882,), (1399122518,), (1399122545,), (1399122582,), (1399122589,), (1399122591,), (1399122688,), (1399122695,), (1399122727,), (1399122758,), (1399122793,), (1399122827,), (1399123053,), (1399123079,), (1399123080,), (1399123172,), (1399123173,), (1399123176,), (1399123186,), (1399123189,), (1399123207,), (1399123208,), (1399123209,), (1399123210,), (1399123213,), (1399123227,), (1399123228,), (1399123262,), (1399123263,), (1399123264,), (1399123265,), (1399123268,), (1399123270,), (1399123282,), (1399123283,), (1399123284,), (1399123285,), (1399123288,), (1399123291,), (1399123315,), (1399123316,), (1399123338,), (1399123340,), (1399123341,), (1399123342,), (1399123345,), (1399123381,), (1399123375,), (1399123376,), (1399123377,), (1399123378,), (1399123395,), (1399123396,), (1399123397,), (1399123398,), (1399123401,), (1399123417,), (1399123418,), (1399123419,), (1399123432,), (1399123433,), (1399123434,), (1399123435,), (1399123438,), (1399123440,), (1399123460,), (1399123461,), (1399123462,), (1399123463,), (1399123466,), (1399123479,), (1399123480,), (1399123481,), (1399123512,), (1399123513,), (1399123514,), (1399123515,), (1399123518,), (1399123521,), (1399123537,), (1399123539,), (1399123543,), (1399123545,), (1399123578,), (1399123579,), (1399123580,), (1399123581,), (1399123584,), (1399123596,), (1399123597,), (1399123598,), (1399123599,), (1399123602,), (1399123619,), (1399123620,), (1399123621,), (1399123622,), (1399123641,), (1399123642,), (1399123643,), (1399123644,), (1399123647,), (1399123676,), (1399123678,), (1399123679,), (1399123680,), (1399123682,), (1399123685,), (1399123702,), (1399123703,), (1399123725,), (1399123727,), (1399123728,), (1399123729,), (1399123732,), (1399123758,), (1399123752,), (1399123753,), (1399123754,), (1399123755,), (1399123782,), (1399123784,), (1399123785,), (1399123786,), (1399123789,), (1399123792,), (1399123799,), (1399123800,), (1399123801,), (1399123825,), (1399123826,), (1399123827,), (1399123828,), (1399123831,), (1399123833,), (1399123851,), (1399123852,), (1399123853,), (1399123891,), (1399123892,), (1399123893,), (1399123894,), (1399123897,), (1399123910,), (1399123911,), (1399124102,), (1399124117,), (1399124118,), (1399124119,), (1399124140,), (1399124141,), (1399124142,), (1399124143,), (1399124146,), (1399124148,), (1399124166,), (1399124255,), (1399124283,), (1399124335,), (1399124590,), (1399124624,), (1399124727,), (1399124775,), (1399124947,), (1399125007,), (1399125064,), (1399125065,), (1399125067,), (1399125070,), (1399125110,), (1399125111,), (1399125113,), (1399125114,), (1399125117,), (1399125289,), (1399125159,), (1399125170,), (1399125203,), (1399125259,), (1399125313,), (1399125331,), (1399125332,), (1399125343,), (1399125350,), (1399125353,), (1399125389,), (1399125390,), (1399125391,), (1399125913,), (1399125927,), (1399125935,), (1399125969,), (1399125972,), (1399126058,), (1399126059,), (1399126060,), (1399126061,), (1399126064,), (1399126070,), (1399126071,), (1399126072,), (1399126073,), (1399126121,), (1399126340,), (1399126376,), (1399126411,), (1399126445,), (1399126481,), (1399126635,), (1399126636,), (1399126637,), (1399126638,), (1399126641,), (1399126643,), (1399126654,), (1399126656,), (1399126657,), (1399126658,), (1399126678,), (1399126679,), (1399126682,), (1399126694,), (1399126702,), (1399126704,), (1399126713,), (1399126715,), (1399126717,), (1399126847,), (1399126838,), (1399126839,), (1399126840,), (1399126841,), (1399126844,), (1399126861,), (1399126862,), (1399126863,), (1399126864,), (1399126867,), (1399126881,), (1399126883,), (1399126885,), (1399126900,), (1399126901,), (1399126902,), (1399126903,), (1399126906,), (1399126921,), (1399126922,), (1399126923,), (1399126924,), (1399126926,), (1399126930,), (1399126951,), (1399126953,), (1399126954,), (1399126955,), (1399126958,), (1399126970,), (1399126971,), (1399126972,), (1399126973,), (1399126976,), (1399126978,), (1399127005,), (1399127006,), (1399127007,), (1399127008,), (1399127011,), (1399127025,), (1399127026,), (1399127027,), (1399127028,), (1399127055,), (1399127056,), (1399127057,), (1399127058,), (1399127061,), (1399127064,), (1399127071,), (1399127072,), (1399127074,), (1399127075,), (1399127077,), (1399127104,), (1399127102,), (1399127103,), (1399127120,), (1399127121,), (1399127122,), (1399127123,), (1399127126,), (1399127128,), (1399127147,), (1399127148,), (1399127149,), (1399127150,), (1399127153,), (1399127166,), (1399127167,), (1399127168,), (1399127169,), (1399127190,), (1399127192,), (1399127193,), (1399127194,), (1399127197,), (1399127200,), (1399127209,), (1399127210,), (1399127211,), (1399127212,), (1399127215,), (1399127238,), (1399127239,), (1399127240,), (1399127241,), (1399127243,), (1399127244,), (1399127256,), (1399127257,), (1399127258,), (1399127284,), (1399127305,), (1399127306,), (1399127307,), (1399127308,), (1399127311,), (1399127313,), (1399127327,), (1399127328,), (1399127329,), (1399127342,), (1399127343,), (1399127344,), (1399127345,), (1399127348,), (1399127350,), (1399127383,), (1399127387,), (1399127388,), (1399127389,), (1399127392,), (1399127394,), (1399127646,), (1399127667,), (1399127683,), (1399128171,), (1399128044,), (1399128077,), (1399128107,), (1399128138,), (1399128528,), (1399128563,), (1399128583,), (1399128696,), (1399128729,), (1399128761,), (1399128795,), (1399128801,), (1399128804,), (1399128918,), (1399128919,), (1399128957,), (1399128989,), (1399129022,), (1399129054,), (1399129645,), (1399129710,), (1399129769,), (1399130590,), (1399130653,), (1399130689,), (1399130720,), (1399130754,), (1399131022,), (1399131023,), (1399131024,), (1399131041,), (1399131855,), (1399131913,), (1399131979,), (1399132048,), (1399132125,), (1399132859,), (1399132934,), (1399133003,), (1399133041,), (1399133075,), (1399133128,), (1399133410,), (1399133411,), (1399133412,), (1399133413,), (1399133416,), (1399133645,), (1399133677,), (1399133711,), (1399133743,), (1399133776,), (1399133790,), (1399134013,), (1399134022,), (1399134041,), (1399134072,), (1399134079,), (1399134280,), (1399134313,), (1399134347,), (1399134386,), (1399134961,), (1399134779,), (1399134813,), (1399134846,), (1399134882,), (1399134926,), (1399135158,), (1399135159,), (1399135160,), (1399135161,), (1399135163,), (1399135352,), (1399135421,), (1399135494,), (1399135558,), (1399136399,), (1399136489,), (1399136567,), (1399136649,), (1399136885,), (1399136886,), (1399136887,), (1399136888,), (1399136891,), (1399136894,), (1399137061,), (1399137130,), (1399137827,), (1399137862,), (1399137894,), (1399137927,), (1399138312,), (1399138343,), (1399138377,), (1399138394,), (1399138457,), (1399138488,), (1399138526,), (1399138579,), (1399138643,), (1399138709,), (1399139315,), (1399139844,), (1399139881,), (1399139900,), (1399139915,), (1399139917,), (1399139919,), (1399139951,), (1399140362,), (1399140363,), (1399140364,), (1399140460,), (1399140493,), (1399141386,), (1399141384,), (1399141385,), (1399141510,), (1399141567,), (1399141626,), (1399141688,), (1399141746,), (1399142280,), (1399142331,), (1399142373,), (1399142413,), (1399142446,), (1399142946,), (1399143015,), (1399143067,), (1399143102,), (1399143489,), (1399143525,), (1399143569,), (1399143629,), (1399143682,), (1399143719,), (1399143921,), (1399143955,), (1399143983,), (1399144016,), (1399144073,), (1399144120,), (1399144386,), (1399144397,), (1399144404,), (1399144407,), (1399144410,), (1399144413,), (1399144422,), (1399144423,), (1399144424,), (1399144425,), (1399144426,), (1399144444,), (1399144479,), (1399144517,), (1399144554,), (1399144592,), (1399144842,), (1399144875,), (1399144908,), (1399145324,), (1399145356,), (1399145394,), (1399145427,), (1399145460,), (1399145555,), (1399145597,), (1399145632,), (1399145677,), (1399145711,), (1399146307,), (1399146396,), (1399146490,), (1399146580,), (1399146670,), (1399147218,), (1399147272,), (1399147305,), (1399147306,), (1399147387,), (1399147388,), (1399147390,), (1399147400,), (1399147828,), (1399147771,), (1399147788,), (1399147820,), (1399147825,), (1399147901,), (1399147904,), (1399147906,), (1399147910,), (1399147914,), (1399147916,), (1399148003,), (1399148037,), (1399148068,), (1399148108,), (1399148454,), (1399148484,), (1399148517,), (1399148548,), (1399148583,), (1399148615,), (1399148908,), (1399148972,), (1399148975,), (1399149061,), (1399149094,), (1399149127,), (1399149182,), (1399149250,), (1399149317,), (1399149643,), (1399149705,), (1399149892,), (1399149954,), (1399149994,), (1399150449,), (1399150473,), (1399150474,), (1399150475,), (1399150477,), (1399150478,), (1399150496,), (1399150497,), (1399150498,), (1399150509,), (1399150548,), (1399150616,), (1399151261,), (1399151298,), (1399151344,), (1399151406,), (1399151777,), (1399151811,), (1399151845,), (1399154063,), (1399154099,), (1399154136,), (1399154175,), (1399154285,), (1399154287,), (1399154318,), (1399154322,), (1399154353,), (1399154356,), (1399154395,), (1399154396,), (1399154540,), (1399154981,), (1399155002,), (1399155042,), (1399155043,), (1399155044,), (1399155045,), (1399155048,), (1399155070,), (1399155071,), (1399155084,), (1399155085,), (1399155086,), (1399155087,), (1399155375,), (1399156400,), (1399156433,), (1399156773,), (1399156778,), (1399156779,), (1399156780,), (1399156946,), (1399156983,), (1399157015,), (1399157049,), (1399157083,), (1399157124,), (1399157293,), (1399157410,), (1399157444,), (1399157479,), (1399157654,), (1399157677,), (1399157682,), (1399157696,), (1399157714,), (1399157716,), (1399157734,), (1399157735,), (1399157736,), (1399157737,), (1399157749,), (1399157751,), (1399157752,), (1399157753,), (1399157756,), (1399157759,), (1399157770,), (1399157772,), (1399157773,), (1399157774,), (1399157777,), (1399157781,), (1399157824,), (1399157806,), (1399157816,), (1399157823,), (1399157838,), (1399157839,), (1399157840,), (1399157841,), (1399157843,), (1399157845,), (1399157868,), (1399157871,), (1399157872,), (1399157873,), (1399157896,), (1399157898,), (1399157900,), (1399157901,), (1399157903,), (1399157904,), (1399157933,), (1399157935,), (1399157937,), (1399157940,), (1399157951,), (1399157952,), (1399157953,), (1399157954,), (1399157957,), (1399157959,), (1399158003,), (1399158004,), (1399158005,), (1399158006,), (1399158021,), (1399158023,), (1399158025,), (1399158029,), (1399158033,), (1399158037,), (1399158056,), (1399158057,), (1399158058,), (1399158061,), (1399158064,), (1399158067,), (1399158082,), (1399158083,), (1399158084,), (1399158085,), (1399158109,), (1399158115,), (1399158116,), (1399158117,), (1399158127,), (1399158128,), (1399158129,), (1399158130,), (1399158133,), (1399158166,), (1399158168,), (1399158169,), (1399158183,), (1399158189,), (1399158194,), (1399158198,), (1399158202,), (1399158205,), (1399158231,), (1399158235,), (1399158237,), (1399158238,), (1399158272,), (1399158270,), (1399158271,), (1399158303,), (1399158304,), (1399158305,), (1399158308,), (1399158319,), (1399158320,), (1399158321,), (1399158360,), (1399158362,), (1399158364,), (1399158367,), (1399158369,), (1399158371,), (1399158375,), (1399158376,), (1399158377,), (1399158378,), (1399158404,), (1399158405,), (1399158434,), (1399158467,), (1399158569,), (1399158612,), (1399158831,), (1399158832,), (1399158833,), (1399158834,), (1399159044,), (1399159045,), (1399159046,), (1399159049,), (1399159061,), (1399159062,), (1399159063,), (1399159064,), (1399159092,), (1399159094,), (1399159095,), (1399159096,), (1399159111,), (1399159112,), (1399159116,), (1399159118,), (1399159140,), (1399159149,), (1399159155,), (1399159162,), (1399159165,), (1399159193,), (1399159194,), (1399159195,), (1399159196,), (1399159422,), (1399159458,), (1399159494,), (1399159526,), (1399159561,), (1399159595,), (1399159957,), (1399159970,), (1399159973,), (1399160217,), (1399160150,), (1399160190,), (1399160322,), (1399160323,), (1399160324,), (1399160342,), (1399160343,), (1399160344,), (1399160345,), (1399160347,), (1399160350,), (1399160383,), (1399160384,), (1399160385,), (1399160462,), (1399164277,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12122025': {'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([29358933]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501] map_info['map_portfolio_photo'] : {29358933: [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501]} final : True mtd_id 4302 list_pids : [1398985809, 1398985774, 1398985773, 1398985772, 1398985770, 1398985755, 1398985753, 1398985751, 1398985749, 1398985748, 1398985747, 1398985744, 1398985738, 1398985736, 1398985734, 1398985732, 1398985730, 1398985727, 1398985715, 1398985712, 1398985709, 1398985706, 1398985705, 1398985703, 1398985685, 1398985683, 1398985681, 1398985679, 1398985501] Looping around the photos to save general results len do output : 1 /29358933Didn'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, '4218634') ('4302', '29358933', '1398985809', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985774', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985773', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985772', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985770', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985755', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985753', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985751', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985749', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985748', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985747', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985744', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985738', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985736', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985734', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985732', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985730', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985727', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985715', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985712', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985709', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985706', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985705', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985703', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985685', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985683', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985681', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985679', None, None, None, None, None, '4218634') ('4302', None, None, None, None, None, None, None, '4218634') ('4302', '29358933', '1398985501', None, None, None, None, None, '4218634') 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, '29358933', 'None', None, None, None, None, '4218634'), ('4302', '29358933', '1398985809', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985774', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985773', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985772', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985770', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985755', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985753', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985751', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985749', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985748', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985747', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985744', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985738', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985736', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985734', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985732', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985730', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985727', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985715', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985712', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985709', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985706', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985705', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985703', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985685', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985683', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985681', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985679', None, None, None, None, None, '4218634'), ('4302', '29358933', '1398985501', None, None, None, None, None, '4218634')] time used for this insertion : 0.018375873565673828 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.954575061798096 time spend to save output : 0.018702268600463867 total time spend for step 5 : 7.97327733039856 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 (4218634) 2.86user 2.65system 0:23.62elapsed 23%CPU (0avgtext+0avgdata 168652maxresident)k 200inputs+27712outputs (0major+81236minor)pagefaults 0swaps