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 : 186828 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 (4325362) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4325362) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000240 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4325362'] with mtr_portfolio_ids : ['30000240'] and first list_photo_ids : [] new path : /proc/186828/ Name: python3 Umask: 0002 State: R (running) Tgid: 186828 Ngid: 0 Pid: 186828 PPid: 186827 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 186828 NSpid: 186828 NSpgid: 185726 NSsid: 185726 VmPeak: 1113368 kB VmSize: 1113368 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104092 kB VmRSS: 104092 kB RssAnon: 66292 kB RssFile: 37800 kB RssShmem: 0 kB VmData: 872096 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 584 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: 46 nonvoluntary_ctxt_switches: 97 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '186828', 'Ngid': '0', 'Pid': '186828', 'PPid': '186827', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '186828', 'NSpid': '186828', 'NSpgid': '185726', 'NSsid': '185726', 'VmPeak': '1113368 kB', 'VmSize': '1113368 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104092 kB', 'VmRSS': '104092 kB', 'RssAnon': '66292 kB', 'RssFile': '37800 kB', 'RssShmem': '0 kB', 'VmData': '872096 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '584 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': '46', 'nonvoluntary_ctxt_switches': '97'} ('datou_batch_current', '186828', '1113368', '0', '1113368', '872096', '104092', b'', 'marlene', '4325362') 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 (30000240) 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 (4325362 ) ) 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 (30000240) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1402727677, 'portfolio_id': 30000240}, {'photo_id': 1402727641, 'portfolio_id': 30000240}, {'photo_id': 1402727640, 'portfolio_id': 30000240}, {'photo_id': 1402727639, 'portfolio_id': 30000240}, {'photo_id': 1402727626, 'portfolio_id': 30000240}, {'photo_id': 1402727625, 'portfolio_id': 30000240}, {'photo_id': 1402727624, 'portfolio_id': 30000240}, {'photo_id': 1402727623, 'portfolio_id': 30000240}, {'photo_id': 1402727621, 'portfolio_id': 30000240}, {'photo_id': 1402727620, 'portfolio_id': 30000240}, {'photo_id': 1402727607, 'portfolio_id': 30000240}, {'photo_id': 1402727604, 'portfolio_id': 30000240}, {'photo_id': 1402727603, 'portfolio_id': 30000240}, {'photo_id': 1402727602, 'portfolio_id': 30000240}, {'photo_id': 1402727601, 'portfolio_id': 30000240}, {'photo_id': 1402727585, 'portfolio_id': 30000240}, {'photo_id': 1402727584, 'portfolio_id': 30000240}, {'photo_id': 1402727583, 'portfolio_id': 30000240}, {'photo_id': 1402727575, 'portfolio_id': 30000240}, {'photo_id': 1402727574, 'portfolio_id': 30000240}, {'photo_id': 1402727572, 'portfolio_id': 30000240}, {'photo_id': 1402727571, 'portfolio_id': 30000240}, {'photo_id': 1402727568, 'portfolio_id': 30000240}, {'photo_id': 1402727565, 'portfolio_id': 30000240}, {'photo_id': 1402727562, 'portfolio_id': 30000240}, {'photo_id': 1402727558, 'portfolio_id': 30000240}, {'photo_id': 1402727556, 'portfolio_id': 30000240}, {'photo_id': 1402727555, 'portfolio_id': 30000240}, {'photo_id': 1402727538, 'portfolio_id': 30000240}, {'photo_id': 1402727537, 'portfolio_id': 30000240}, {'photo_id': 1402727476, 'portfolio_id': 30000240}, {'photo_id': 1402727384, 'portfolio_id': 30000240}] map_portfolio_id_photo_id: {30000240: [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384]} ##### 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.018319368362426758 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Jan 8 05:35:58 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30000240) 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 : 30000240 get user id for portfolio 30000240 get sub ptf for main ptf 30000240, type 3726 and hashtags ['plastique', 'mal_croppe', 'flou', 'Carton_gris', 'autre_refus', 'metal', 'Carton_brun', 'environnement', 'kraft', 'papier', 'Teint_Dans_La_Masse', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30000240 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','mal_croppe','flou','Carton_gris','autre_refus','metal','Carton_brun','environnement','kraft','papier','Teint_Dans_La_Masse','cartonnette')) 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`=30000240 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','mal_croppe','flou','Carton_gris','autre_refus','metal','Carton_brun','environnement','kraft','papier','Teint_Dans_La_Masse','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 30000240, 'sub_port_id': 30000241, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531413, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}, 'mal_croppe': {'main_port_id': 30000240, 'sub_port_id': 30000242, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531414, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}, 'flou': {'main_port_id': 30000240, 'sub_port_id': 30000243, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531415, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}, 'metal': {'main_port_id': 30000240, 'sub_port_id': 30000244, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531416, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}, 'kraft': {'main_port_id': 30000240, 'sub_port_id': 30000245, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531417, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}, 'plastique': {'main_port_id': 30000240, 'sub_port_id': 30000246, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531418, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}, 'Carton_gris': {'main_port_id': 30000240, 'sub_port_id': 30000247, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531419, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}, 'Carton_brun': {'main_port_id': 30000240, 'sub_port_id': 30000248, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531420, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 30000240, 'sub_port_id': 30000249, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531421, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}, 'environnement': {'main_port_id': 30000240, 'sub_port_id': 30000250, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531422, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}, 'autre_refus': {'main_port_id': 30000240, 'sub_port_id': 30000251, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531423, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}, 'cartonnette': {'main_port_id': 30000240, 'sub_port_id': 30000252, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531424, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 12), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 36, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30000241 , 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=30000240 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 (30000241) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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 30000242 , 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=30000240 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 (30000242) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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 30000243 , 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=30000240 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 (30000243) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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 30000244 , 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=30000240 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 (30000244) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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 30000245 , 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=30000240 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 (30000245) result : ((1402727668,), (1402727702,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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 30000246 , 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=30000240 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 (30000246) result : ((1402727666,), (1402727667,), (1402727709,), (1402728229,), (1402728231,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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 30000247 , 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=30000240 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 (30000247) result : ((1402727616,), (1402727617,), (1402727618,), (1402727650,), (1402727663,), (1402727664,), (1402727699,), (1402727707,), (1402727708,), (1402728201,), (1402731721,), (1402731935,), (1402731946,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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 30000248 , 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=30000240 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 (30000248) result : ((1402727619,), (1402727651,), (1402727665,), (1402727701,), (1402728219,), (1402731725,), (1402731726,), (1402731727,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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 30000249 , 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=30000240 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 (30000249) result : ((1402727649,), (1402727659,), (1402728182,), (1402728184,), (1402731720,), (1402731945,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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 30000250 , 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=30000240 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 (30000250) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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 30000251 , 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=30000240 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 (30000251) result : ((1402727660,), (1402727661,), (1402727698,), (1402728192,), (1402731744,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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 30000252 , 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=30000240 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 (30000252) result : ((1402727700,), (1402728209,), (1402731722,), (1402731723,), (1402731724,), (1402731936,), (1402731947,), (1402731948,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30000240) result : ((1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,)) 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`=30000240 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','mal_croppe','flou','Carton_gris','autre_refus','metal','Carton_brun','environnement','kraft','papier','Teint_Dans_La_Masse','cartonnette')) 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`=30000240 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','mal_croppe','flou','Carton_gris','autre_refus','metal','Carton_brun','environnement','kraft','papier','Teint_Dans_La_Masse','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 30000240, 'sub_port_id': 30000253, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531425, 'last_updated_at': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}, 'mal_croppe': {'main_port_id': 30000240, 'sub_port_id': 30000254, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531426, 'last_updated_at': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}, 'flou': {'main_port_id': 30000240, 'sub_port_id': 30000255, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531427, 'last_updated_at': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}, 'metal': {'main_port_id': 30000240, 'sub_port_id': 30000256, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531428, 'last_updated_at': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}, 'kraft': {'main_port_id': 30000240, 'sub_port_id': 30000257, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531429, 'last_updated_at': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}, 'plastique': {'main_port_id': 30000240, 'sub_port_id': 30000258, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531430, 'last_updated_at': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}, 'Carton_gris': {'main_port_id': 30000240, 'sub_port_id': 30000259, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531431, 'last_updated_at': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}, 'Carton_brun': {'main_port_id': 30000240, 'sub_port_id': 30000260, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531432, 'last_updated_at': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 30000240, 'sub_port_id': 30000261, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531433, 'last_updated_at': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}, 'environnement': {'main_port_id': 30000240, 'sub_port_id': 30000262, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531434, 'last_updated_at': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}, 'autre_refus': {'main_port_id': 30000240, 'sub_port_id': 30000263, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531435, 'last_updated_at': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 0, 37, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}, 'cartonnette': {'main_port_id': 30000240, 'sub_port_id': 30000264, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20531436, 'last_updated_at': datetime.datetime(2026, 1, 7, 5, 46, 13), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 5, 46, 13), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 0, 37, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000253,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000241 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000254,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000242 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000255,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000243 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000256,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000244 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000257,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000245 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000258,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000246 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000259,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000247 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000260,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000248 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000261,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000249 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000262,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000250 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000263,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000251 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30000264,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30000252 lien utilise dans velours : https://marlene.fotonower.com/velours/30000253,30000254,30000255,30000256,30000257,30000258,30000259,30000260,30000261,30000262,30000263,30000264?tags=papier,mal_croppe,flou,metal,kraft,plastique,Carton_gris,Carton_brun,Teint_Dans_La_Masse,environnement,autre_refus,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([30000240]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384] map_info['map_portfolio_photo'] : {30000240: [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384]} final : False mtd_id 4302 list_pids : [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384] Looping around the photos to save general results len do output : 1 /30000240. 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, '4325362') ('4302', '30000240', '1402727677', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727641', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727640', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727639', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727626', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727625', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727624', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727623', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727621', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727620', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727607', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727604', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727603', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727602', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727601', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727585', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727584', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727583', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727575', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727574', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727572', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727571', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727568', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727565', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727562', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727558', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727556', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727555', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727538', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727537', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727476', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727384', None, None, None, None, None, '4325362') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '30000240', "{'papier': 30000241, 'mal_croppe': 30000242, 'flou': 30000243, 'metal': 30000244, 'kraft': 30000245, 'plastique': 30000246, 'Carton_gris': 30000247, 'Carton_brun': 30000248, 'Teint_Dans_La_Masse': 30000249, 'environnement': 30000250, 'autre_refus': 30000251, 'cartonnette': 30000252}", None, None, None, None, '4325362'), ('4302', '30000240', '1402727677', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727641', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727640', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727639', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727626', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727625', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727624', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727623', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727621', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727620', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727607', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727604', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727603', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727602', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727601', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727585', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727584', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727583', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727575', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727574', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727572', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727571', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727568', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727565', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727562', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727558', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727556', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727555', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727538', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727537', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727476', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727384', None, None, None, None, None, '4325362')] time used for this insertion : 0.02150559425354004 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7863214015960693 time spend to save output : 0.021933555603027344 total time spend for step 1 : 1.8082549571990967 step2:final Thu Jan 8 05:35:59 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (30000240) 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 30000240 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1402727384,1402727476,1402727538,1402727537,1402727568,1402727565,1402727562,1402727555,1402727558,1402727556,1402727575,1402727574,1402727572,1402727571,1402727585,1402727584,1402727583,1402727607,1402727604,1402727603,1402727602,1402727601,1402727626,1402727625,1402727624,1402727623,1402727621,1402727620,1402727641,1402727640,1402727639,1402727677); 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([30000240]) Inside saveOutput : final : False verbose : True original output for save of step final : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} new output for save of step final : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384] map_info['map_portfolio_photo'] : {30000240: [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384]} final : False mtd_id 4302 list_pids : [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384] Looping around the photos to save general results len do output : 32 /1402727677.Didn't retrieve data . /1402727641.Didn't retrieve data . /1402727640.Didn't retrieve data . /1402727639.Didn't retrieve data . /1402727626.Didn't retrieve data . /1402727625.Didn't retrieve data . /1402727624.Didn't retrieve data . /1402727623.Didn't retrieve data . /1402727621.Didn't retrieve data . /1402727620.Didn't retrieve data . /1402727607.Didn't retrieve data . /1402727604.Didn't retrieve data . /1402727603.Didn't retrieve data . /1402727602.Didn't retrieve data . /1402727601.Didn't retrieve data . /1402727585.Didn't retrieve data . /1402727584.Didn't retrieve data . /1402727583.Didn't retrieve data . /1402727575.Didn't retrieve data . /1402727574.Didn't retrieve data . /1402727572.Didn't retrieve data . /1402727571.Didn't retrieve data . /1402727568.Didn't retrieve data . /1402727565.Didn't retrieve data . /1402727562.Didn't retrieve data . /1402727558.Didn't retrieve data . /1402727556.Didn't retrieve data . /1402727555.Didn't retrieve data . /1402727538.Didn't retrieve data . /1402727537.Didn't retrieve data . /1402727476.Didn't retrieve data . /1402727384.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, '4325362') ('4302', '30000240', '1402727677', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727641', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727640', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727639', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727626', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727625', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727624', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727623', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727621', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727620', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727607', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727604', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727603', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727602', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727601', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727585', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727584', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727583', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727575', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727574', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727572', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727571', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727568', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727565', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727562', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727558', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727556', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727555', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727538', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727537', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727476', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727384', None, None, None, None, None, '4325362') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 96 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', '30000240', '1402727677', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727641', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727640', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727639', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727626', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727625', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727624', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727623', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727621', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727620', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727607', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727604', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727603', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727602', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727601', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727585', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727584', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727583', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727575', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727574', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727572', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727571', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727568', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727565', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727562', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727558', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727556', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727555', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727538', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727537', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727476', '0.07013621338932265', None, None, None, None, '4325362'), ('4302', '30000240', '1402727384', '0.07013621338932265', None, None, None, None, '4325362')] time used for this insertion : 0.02094268798828125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0761864185333252 time spend to save output : 0.022092819213867188 total time spend for step 2 : 0.09827923774719238 step3:velours_tree Thu Jan 8 05:35:59 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {30000240: [{'papier': 30000241, 'mal_croppe': 30000242, 'flou': 30000243, 'metal': 30000244, 'kraft': 30000245, 'plastique': 30000246, 'Carton_gris': 30000247, 'Carton_brun': 30000248, 'Teint_Dans_La_Masse': 30000249, 'environnement': 30000250, 'autre_refus': 30000251, 'cartonnette': 30000252}]} input_args_next_step : {30000240: ()} output_args : {30000240: [{'papier': 30000241, 'mal_croppe': 30000242, 'flou': 30000243, 'metal': 30000244, 'kraft': 30000245, 'plastique': 30000246, 'Carton_gris': 30000247, 'Carton_brun': 30000248, 'Teint_Dans_La_Masse': 30000249, 'environnement': 30000250, 'autre_refus': 30000251, 'cartonnette': 30000252}]} args : 30000240 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 : ({'papier': 30000241, 'mal_croppe': 30000242, 'flou': 30000243, 'metal': 30000244, 'kraft': 30000245, 'plastique': 30000246, 'Carton_gris': 30000247, 'Carton_brun': 30000248, 'Teint_Dans_La_Masse': 30000249, 'environnement': 30000250, 'autre_refus': 30000251, 'cartonnette': 30000252},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30000240) 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([30000240]) 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.2515246868133545 time spend to save output : 5.078315734863281e-05 total time spend for step 3 : 0.2515754699707031 step4:send_mail_cod Thu Jan 8 05:36:00 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} input_args_next_step : {1402727677: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727677 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727641 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727640 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727639 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727626 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727625 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727624 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727623 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727621 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727620 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727607 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727604 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727603 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727602 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727601 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727585 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727584 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727583 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727575 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727574 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727572 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727571 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727568 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727565 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727562 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727558 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727556 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727555 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727538 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727537 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727476 depend.output_id : 0 input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ()} output_args : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',)} args : 1402727384 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 : {30000240: [{'papier': 30000241, 'mal_croppe': 30000242, 'flou': 30000243, 'metal': 30000244, 'kraft': 30000245, 'plastique': 30000246, 'Carton_gris': 30000247, 'Carton_brun': 30000248, 'Teint_Dans_La_Masse': 30000249, 'environnement': 30000250, 'autre_refus': 30000251, 'cartonnette': 30000252}]} input_args_next_step : {1402727677: ('0.07013621338932265',), 1402727641: ('0.07013621338932265',), 1402727640: ('0.07013621338932265',), 1402727639: ('0.07013621338932265',), 1402727626: ('0.07013621338932265',), 1402727625: ('0.07013621338932265',), 1402727624: ('0.07013621338932265',), 1402727623: ('0.07013621338932265',), 1402727621: ('0.07013621338932265',), 1402727620: ('0.07013621338932265',), 1402727607: ('0.07013621338932265',), 1402727604: ('0.07013621338932265',), 1402727603: ('0.07013621338932265',), 1402727602: ('0.07013621338932265',), 1402727601: ('0.07013621338932265',), 1402727585: ('0.07013621338932265',), 1402727584: ('0.07013621338932265',), 1402727583: ('0.07013621338932265',), 1402727575: ('0.07013621338932265',), 1402727574: ('0.07013621338932265',), 1402727572: ('0.07013621338932265',), 1402727571: ('0.07013621338932265',), 1402727568: ('0.07013621338932265',), 1402727565: ('0.07013621338932265',), 1402727562: ('0.07013621338932265',), 1402727558: ('0.07013621338932265',), 1402727556: ('0.07013621338932265',), 1402727555: ('0.07013621338932265',), 1402727538: ('0.07013621338932265',), 1402727537: ('0.07013621338932265',), 1402727476: ('0.07013621338932265',), 1402727384: ('0.07013621338932265',), 30000240: ()} output_args : {30000240: [{'papier': 30000241, 'mal_croppe': 30000242, 'flou': 30000243, 'metal': 30000244, 'kraft': 30000245, 'plastique': 30000246, 'Carton_gris': 30000247, 'Carton_brun': 30000248, 'Teint_Dans_La_Masse': 30000249, 'environnement': 30000250, 'autre_refus': 30000251, 'cartonnette': 30000252}]} args : 30000240 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 :33, first value : ('0.07013621338932265',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30000240) 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 (1402727677,1402727641,1402727640,1402727639,1402727626,1402727625,1402727624,1402727623,1402727621,1402727620,1402727607,1402727604,1402727603,1402727602,1402727601,1402727585,1402727584,1402727583,1402727575,1402727574,1402727572,1402727571,1402727568,1402727565,1402727562,1402727558,1402727556,1402727555,1402727538,1402727537,1402727476,1402727384) Found this number of photos: 32 ##### Call download_photos : nb_thread : 5 begin to download photo : 1402727384 begin to download photo : 1402727562 begin to download photo : 1402727583 begin to download photo : 1402727607 begin to download photo : 1402727639 download finish for photo 1402727384 begin to download photo : 1402727476 download finish for photo 1402727562 begin to download photo : 1402727565 download finish for photo 1402727639 begin to download photo : 1402727640 download finish for photo 1402727607 begin to download photo : 1402727620 download finish for photo 1402727583 begin to download photo : 1402727584 download finish for photo 1402727476 begin to download photo : 1402727537 download finish for photo 1402727640 begin to download photo : 1402727641 download finish for photo 1402727565 begin to download photo : 1402727568 download finish for photo 1402727620 begin to download photo : 1402727621 download finish for photo 1402727584 begin to download photo : 1402727585 download finish for photo 1402727537 begin to download photo : 1402727538 download finish for photo 1402727641 begin to download photo : 1402727677 download finish for photo 1402727585 begin to download photo : 1402727601 download finish for photo 1402727568 begin to download photo : 1402727571 download finish for photo 1402727621 begin to download photo : 1402727623 download finish for photo 1402727538 begin to download photo : 1402727555 download finish for photo 1402727571 begin to download photo : 1402727572 download finish for photo 1402727677 download finish for photo 1402727601 begin to download photo : 1402727602 download finish for photo 1402727623 begin to download photo : 1402727624 download finish for photo 1402727555 begin to download photo : 1402727556 download finish for photo 1402727572 begin to download photo : 1402727574 download finish for photo 1402727556 begin to download photo : 1402727558 download finish for photo 1402727624 begin to download photo : 1402727625 download finish for photo 1402727574 begin to download photo : 1402727575 download finish for photo 1402727602 begin to download photo : 1402727603 download finish for photo 1402727558 download finish for photo 1402727625 begin to download photo : 1402727626 download finish for photo 1402727603 begin to download photo : 1402727604 download finish for photo 1402727575 download finish for photo 1402727626 download finish for photo 1402727604 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette300002421767846961/ imagette300002431767846961/ imagette300002441767846961/ length of list_filenames : 32 ; length of list_pids : 32 ; length of list_args : 32 results_Auto_P30000240_08-01-2026_05_36_01.pdf 30000242 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=30000242 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300002421767846961 30000243 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=30000243 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300002431767846961 30000244 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=30000244 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300002441767846961 30000245 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=30000245 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402727668: '1767743127_1536462_1402727604_a8f6378874aa8b086ec17027d99474da_rle_crop_4092226605_0.png', 1402727702: '1767743226_1542884_1402727607_f9f27add787801bf5d4d25cb8f2f8a7f_rle_crop_4092230283_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/022eb49aec98af2e2275ea2653413306_83510762.png change filename to text .imagette300002451767846961/ imagette300002451767846961/1767743127_1536462_1402727604_a8f6378874aa8b086ec17027d99474da_rle_crop_4092226605_0.png.png imagette300002451767846961/1767743226_1542884_1402727607_f9f27add787801bf5d4d25cb8f2f8a7f_rle_crop_4092230283_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/98a14639af3cbe7a156598cc9ac83ab2_15917364.png imagette300002451767846961 30000246 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=30000246 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402727666: '1767743127_1536462_1402727603_590162418729fb76fa73484eee169d29_rle_crop_4092226624_0.png', 1402727667: '1767743127_1536462_1402727602_bc2f99a954b58407c349a6a23567f952_rle_crop_4092226633_0.png', 1402727709: '1767743248_1543289_1402727640_123093eb152dea38b30225d40cdd9d1c_rle_crop_4092230339_0.png', 1402728229: '1767743345_1548400_1402727623_57c995d958af028046b894fa87439414_rle_crop_4092230543_0.png', 1402728231: '1767743345_1548400_1402727623_57c995d958af028046b894fa87439414_rle_crop_4092230540_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/8f48f779794aaf280d2237b84cea6878_52182265.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/d549d63087d66908b7198d1339017068_74461907.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/7d25f9d0ea529b2a1b3d0a8f1ec2c2a7_61724344.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/1a472a605f8f520f754bb4b0be4ff305_24774468.png change filename to text .imagette300002461767846961/ imagette300002461767846961/1767743127_1536462_1402727603_590162418729fb76fa73484eee169d29_rle_crop_4092226624_0.png.png imagette300002461767846961/1767743127_1536462_1402727602_bc2f99a954b58407c349a6a23567f952_rle_crop_4092226633_0.png.png imagette300002461767846961/1767743345_1548400_1402727623_57c995d958af028046b894fa87439414_rle_crop_4092230540_0.png.png imagette300002461767846961/1767743248_1543289_1402727640_123093eb152dea38b30225d40cdd9d1c_rle_crop_4092230339_0.png.png imagette300002461767846961/1767743345_1548400_1402727623_57c995d958af028046b894fa87439414_rle_crop_4092230543_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/63e37c5bdad16890bdb8e5806f37b212_18321130.png imagette300002461767846961 30000251 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=30000251 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402727660: '1767743127_1536462_1402727603_590162418729fb76fa73484eee169d29_rle_crop_4092226621_0.png', 1402727661: '1767743127_1536462_1402727602_bc2f99a954b58407c349a6a23567f952_rle_crop_4092226631_0.png', 1402727698: '1767743226_1542884_1402727607_f9f27add787801bf5d4d25cb8f2f8a7f_rle_crop_4092230284_0.png', 1402728192: '1767743345_1548400_1402727620_a4819f878587fb192d84673ea60f5148_rle_crop_4092230564_0.png', 1402731744: '1767744906_1612241_1402727537_667285cebf748b0f4369f0dd4666c4d8_rle_crop_4092254329_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/116edda810ac25ea1ffed71333e53c5a_53695302.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/82f62d97b90ff6cbffe4525c9d8f2672_3984745.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/de57364128739670fb44f33daecaa0ae_7343318.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/31892662fdbe1e2d54a61133f85d77d2_25086307.png change filename to text .imagette300002511767846962/ imagette300002511767846962/1767743226_1542884_1402727607_f9f27add787801bf5d4d25cb8f2f8a7f_rle_crop_4092230284_0.png.png imagette300002511767846962/1767743127_1536462_1402727603_590162418729fb76fa73484eee169d29_rle_crop_4092226621_0.png.png imagette300002511767846962/1767743127_1536462_1402727602_bc2f99a954b58407c349a6a23567f952_rle_crop_4092226631_0.png.png imagette300002511767846962/1767744906_1612241_1402727537_667285cebf748b0f4369f0dd4666c4d8_rle_crop_4092254329_0.png.png imagette300002511767846962/1767743345_1548400_1402727620_a4819f878587fb192d84673ea60f5148_rle_crop_4092230564_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/75134636e5db0b72505e92228bb8bf57_51393226.png imagette300002511767846962 30000252 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=30000252 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402727700: '1767743226_1542884_1402727607_f9f27add787801bf5d4d25cb8f2f8a7f_rle_crop_4092230288_0.png', 1402728209: '1767743345_1548400_1402727620_a4819f878587fb192d84673ea60f5148_rle_crop_4092230563_0.png', 1402731722: '1767744807_1607353_1402727558_2b36063bcfbd55aea40097f37936a04b_rle_crop_4092254203_0.png', 1402731723: '1767744807_1607353_1402727558_2b36063bcfbd55aea40097f37936a04b_rle_crop_4092254202_0.png', 1402731724: '1767744807_1607353_1402727556_250f6d1cbe719bf9601df43bb3251c9a_rle_crop_4092254216_0.png', 1402731936: '1767745267_1628330_1402727677_a156ad495e2033699db2c60e244dfc63_rle_crop_4092255046_0.png', 1402731947: '1767745286_1628806_1402727626_a5a910278a1aba39727fd3231e51691c_rle_crop_4092255118_0.png', 1402731948: '1767745286_1628806_1402727626_a5a910278a1aba39727fd3231e51691c_rle_crop_4092255107_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/b1a1ee5a4cc973cbe8840a5025d31ff7_91523699.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/bb08d773eb9acaa4642050f5e3ab3502_60989645.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/38dbe233babc8643d221a8583a16368a_11394715.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/01a197cbff3a8a94bc381393f6a90316_3374144.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/a6b30440a52a4721f29d365578d15ba6_16533947.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/ca4e55d994f393461658817eb8ae99e7_76578865.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/23f6aa164dbfbbb4766386b5682a2cdf_87330766.png change filename to text .imagette300002521767846963/ imagette300002521767846963/1767744807_1607353_1402727558_2b36063bcfbd55aea40097f37936a04b_rle_crop_4092254203_0.png.png imagette300002521767846963/1767744807_1607353_1402727558_2b36063bcfbd55aea40097f37936a04b_rle_crop_4092254202_0.png.png imagette300002521767846963/1767743226_1542884_1402727607_f9f27add787801bf5d4d25cb8f2f8a7f_rle_crop_4092230288_0.png.png imagette300002521767846963/1767743345_1548400_1402727620_a4819f878587fb192d84673ea60f5148_rle_crop_4092230563_0.png.png imagette300002521767846963/1767745267_1628330_1402727677_a156ad495e2033699db2c60e244dfc63_rle_crop_4092255046_0.png.png imagette300002521767846963/1767744807_1607353_1402727556_250f6d1cbe719bf9601df43bb3251c9a_rle_crop_4092254216_0.png.png imagette300002521767846963/1767745286_1628806_1402727626_a5a910278a1aba39727fd3231e51691c_rle_crop_4092255107_0.png.png imagette300002521767846963/1767745286_1628806_1402727626_a5a910278a1aba39727fd3231e51691c_rle_crop_4092255118_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/fe62459bdf5dad450c9ee4f7692be342_3188004.png imagette300002521767846963 30000247 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=30000247 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402727616: '1767743005_1531200_1402727583_7150644bad02e72a07bb2eab6fd67890_rle_crop_4092226353_0.png', 1402727617: '1767743005_1531200_1402727583_7150644bad02e72a07bb2eab6fd67890_rle_crop_4092226350_0.png', 1402727618: '1767743005_1531200_1402727583_7150644bad02e72a07bb2eab6fd67890_rle_crop_4092226358_0.png', 1402727650: '1767743106_1536093_1402727572_cdbc6a583f5fc176d599448a9b2deec4_rle_crop_4092226469_0.png', 1402727663: '1767743127_1536462_1402727602_bc2f99a954b58407c349a6a23567f952_rle_crop_4092226635_0.png', 1402727664: '1767743127_1536462_1402727601_81bbe5f7aa1f95aa4cb1b397989184d8_rle_crop_4092226644_0.png', 1402727699: '1767743226_1542884_1402727607_f9f27add787801bf5d4d25cb8f2f8a7f_rle_crop_4092230286_0.png', 1402727707: '1767743248_1543289_1402727639_0917cdbdbb5f2c08b5875dba714aaa3e_rle_crop_4092230349_0.png', 1402727708: '1767743248_1543289_1402727639_0917cdbdbb5f2c08b5875dba714aaa3e_rle_crop_4092230344_0.png', 1402728201: '1767743345_1548400_1402727623_57c995d958af028046b894fa87439414_rle_crop_4092230539_0.png', 1402731721: '1767744807_1607353_1402727575_2030b1afc37664ef2ef3afba236b57ea_rle_crop_4092254176_0.png', 1402731935: '1767745267_1628330_1402727677_a156ad495e2033699db2c60e244dfc63_rle_crop_4092255047_0.png', 1402731946: '1767745286_1628806_1402727626_a5a910278a1aba39727fd3231e51691c_rle_crop_4092255114_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/d8b0d75c6a788283f418fd30394a6a94_96783760.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/ea6f1b46f0f0bd779eaf69492e95ca4d_75882684.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/80c0f4eb13b6ae7c19e6aea6768bd09e_40027002.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/5b7e946e054ae7db8a4e1feab1724be7_91941809.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/6544d61480f5d1ba11e06b7abf30fdd6_27743329.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/268b9b8ff67203cb37cd99ea4fd6d4fc_30569365.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/f8e44e27f5a26849c98f34e4f7e70e91_72786555.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/bffbca331d9e6b64ba32fbb5f903f413_51694134.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/e6a6fe89f3a1c544be9bb305d61d2280_55081696.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/44cb3602ff40bc04e053ad36851e5dc0_90350486.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/4ebd0441ff8dd2403a583a8851e8d15e_20005234.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/c2f963a995e4eb52c63e59080e273a5e_48706307.png change filename to text .imagette300002471767846964/ imagette300002471767846964/1767743248_1543289_1402727639_0917cdbdbb5f2c08b5875dba714aaa3e_rle_crop_4092230349_0.png.png imagette300002471767846964/1767743226_1542884_1402727607_f9f27add787801bf5d4d25cb8f2f8a7f_rle_crop_4092230286_0.png.png imagette300002471767846964/1767743005_1531200_1402727583_7150644bad02e72a07bb2eab6fd67890_rle_crop_4092226358_0.png.png imagette300002471767846964/1767745286_1628806_1402727626_a5a910278a1aba39727fd3231e51691c_rle_crop_4092255114_0.png.png imagette300002471767846964/1767744807_1607353_1402727575_2030b1afc37664ef2ef3afba236b57ea_rle_crop_4092254176_0.png.png imagette300002471767846964/1767743345_1548400_1402727623_57c995d958af028046b894fa87439414_rle_crop_4092230539_0.png.png imagette300002471767846964/1767743005_1531200_1402727583_7150644bad02e72a07bb2eab6fd67890_rle_crop_4092226353_0.png.png imagette300002471767846964/1767745267_1628330_1402727677_a156ad495e2033699db2c60e244dfc63_rle_crop_4092255047_0.png.png imagette300002471767846964/1767743005_1531200_1402727583_7150644bad02e72a07bb2eab6fd67890_rle_crop_4092226350_0.png.png imagette300002471767846964/1767743127_1536462_1402727602_bc2f99a954b58407c349a6a23567f952_rle_crop_4092226635_0.png.png imagette300002471767846964/1767743248_1543289_1402727639_0917cdbdbb5f2c08b5875dba714aaa3e_rle_crop_4092230344_0.png.png imagette300002471767846964/1767743127_1536462_1402727601_81bbe5f7aa1f95aa4cb1b397989184d8_rle_crop_4092226644_0.png.png imagette300002471767846964/1767743106_1536093_1402727572_cdbc6a583f5fc176d599448a9b2deec4_rle_crop_4092226469_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/120480cead58b1141990b0e48d6b83c5_52968222.png imagette300002471767846964 30000248 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=30000248 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402727619: '1767743005_1531200_1402727583_7150644bad02e72a07bb2eab6fd67890_rle_crop_4092226354_0.png', 1402727651: '1767743106_1536093_1402727574_b98277ada0f3c04172f9e33cbb1d87f6_rle_crop_4092226454_0.png', 1402727665: '1767743127_1536462_1402727604_a8f6378874aa8b086ec17027d99474da_rle_crop_4092226609_0.png', 1402727701: '1767743226_1542884_1402727607_f9f27add787801bf5d4d25cb8f2f8a7f_rle_crop_4092230291_0.png', 1402728219: '1767743345_1548400_1402727623_57c995d958af028046b894fa87439414_rle_crop_4092230538_0.png', 1402731725: '1767744807_1607353_1402727565_0f52cf5f23b963000d74fe0d50a14b85_rle_crop_4092254185_0.png', 1402731726: '1767744807_1607353_1402727562_f980ee6d6314f4ad289343490aea3118_rle_crop_4092254196_0.png', 1402731727: '1767744807_1607353_1402727555_d3a4cd60e8fdcf44976d57599a88ae67_rle_crop_4092254225_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/5d701662fdbc116f5811a34e7a4005df_63748044.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/e7d7f60790c8d513a54a6c5330612c24_18254433.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/b6dafc697fa1cd441212264608367d3f_2252100.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/560f82b8e82b42902897c38707d5564b_21242880.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/6dcd62ac8a51811754d5d8ed83f2a472_37158596.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/63b016a334f683abda3a2e67056460ab_67196251.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/85efc713c42b9bc398ce1d356e051827_74195853.png change filename to text .imagette300002481767846965/ imagette300002481767846965/1767743005_1531200_1402727583_7150644bad02e72a07bb2eab6fd67890_rle_crop_4092226354_0.png.png imagette300002481767846965/1767743345_1548400_1402727623_57c995d958af028046b894fa87439414_rle_crop_4092230538_0.png.png imagette300002481767846965/1767744807_1607353_1402727562_f980ee6d6314f4ad289343490aea3118_rle_crop_4092254196_0.png.png imagette300002481767846965/1767743127_1536462_1402727604_a8f6378874aa8b086ec17027d99474da_rle_crop_4092226609_0.png.png imagette300002481767846965/1767744807_1607353_1402727555_d3a4cd60e8fdcf44976d57599a88ae67_rle_crop_4092254225_0.png.png imagette300002481767846965/1767744807_1607353_1402727565_0f52cf5f23b963000d74fe0d50a14b85_rle_crop_4092254185_0.png.png imagette300002481767846965/1767743226_1542884_1402727607_f9f27add787801bf5d4d25cb8f2f8a7f_rle_crop_4092230291_0.png.png imagette300002481767846965/1767743106_1536093_1402727574_b98277ada0f3c04172f9e33cbb1d87f6_rle_crop_4092226454_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/dcafb0bd27aa7c40d566cb2a0e7ac9c6_41701786.png imagette300002481767846965 30000249 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=30000249 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402727649: '1767743106_1536093_1402727574_b98277ada0f3c04172f9e33cbb1d87f6_rle_crop_4092226451_0.png', 1402727659: '1767743127_1536462_1402727601_81bbe5f7aa1f95aa4cb1b397989184d8_rle_crop_4092226648_0.png', 1402728182: '1767743345_1548400_1402727625_6e8274aeab09a630f92677b64d8e3360_rle_crop_4092230520_0.png', 1402728184: '1767743345_1548400_1402727623_57c995d958af028046b894fa87439414_rle_crop_4092230544_0.png', 1402731720: '1767744807_1607353_1402727558_2b36063bcfbd55aea40097f37936a04b_rle_crop_4092254207_0.png', 1402731945: '1767745286_1628806_1402727626_a5a910278a1aba39727fd3231e51691c_rle_crop_4092255117_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/980bd8ac000e9da9b7b6dd91ccc34f9d_39820555.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/cfdaa63cc8af13918ccf74c8fd878687_46794982.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/79526f5b933f5cda22d3b1d0af74e05e_5296276.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/f2e1a45037209842de93f559f0db9b7f_5906189.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/585630fc69d9d1eb91d418db4eb9fd2a_53566881.png change filename to text .imagette300002491767846966/ imagette300002491767846966/1767744807_1607353_1402727558_2b36063bcfbd55aea40097f37936a04b_rle_crop_4092254207_0.png.png imagette300002491767846966/1767745286_1628806_1402727626_a5a910278a1aba39727fd3231e51691c_rle_crop_4092255117_0.png.png imagette300002491767846966/1767743106_1536093_1402727574_b98277ada0f3c04172f9e33cbb1d87f6_rle_crop_4092226451_0.png.png imagette300002491767846966/1767743345_1548400_1402727625_6e8274aeab09a630f92677b64d8e3360_rle_crop_4092230520_0.png.png imagette300002491767846966/1767743127_1536462_1402727601_81bbe5f7aa1f95aa4cb1b397989184d8_rle_crop_4092226648_0.png.png imagette300002491767846966/1767743345_1548400_1402727623_57c995d958af028046b894fa87439414_rle_crop_4092230544_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/eacff232ad33d0ff8176bc1e5446a9f9_35217559.png imagette300002491767846966 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30000240 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30000253,30000254,30000255,30000256,30000257,30000258,30000259,30000260,30000261,30000262,30000263,30000264?tags=papier,mal_croppe,flou,metal,kraft,plastique,Carton_gris,Carton_brun,Teint_Dans_La_Masse,environnement,autre_refus,cartonnette your option no_mail is active, we will not send the real mail to your client args[1402727677] : ('0.07013621338932265',) no score found for photo 1402727677 We are sending mail with results at report@fotonower.com args[1402727641] : ('0.07013621338932265',) no score found for photo 1402727641 We are sending mail with results at report@fotonower.com args[1402727640] : ('0.07013621338932265',) no score found for photo 1402727640 We are sending mail with results at report@fotonower.com args[1402727639] : ('0.07013621338932265',) no score found for photo 1402727639 We are sending mail with results at report@fotonower.com args[1402727626] : ('0.07013621338932265',) no score found for photo 1402727626 We are sending mail with results at report@fotonower.com args[1402727625] : ('0.07013621338932265',) no score found for photo 1402727625 We are sending mail with results at report@fotonower.com args[1402727624] : ('0.07013621338932265',) no score found for photo 1402727624 We are sending mail with results at report@fotonower.com args[1402727623] : ('0.07013621338932265',) no score found for photo 1402727623 We are sending mail with results at report@fotonower.com args[1402727621] : ('0.07013621338932265',) no score found for photo 1402727621 We are sending mail with results at report@fotonower.com args[1402727620] : ('0.07013621338932265',) no score found for photo 1402727620 We are sending mail with results at report@fotonower.com args[1402727607] : ('0.07013621338932265',) no score found for photo 1402727607 We are sending mail with results at report@fotonower.com args[1402727604] : ('0.07013621338932265',) no score found for photo 1402727604 We are sending mail with results at report@fotonower.com args[1402727603] : ('0.07013621338932265',) no score found for photo 1402727603 We are sending mail with results at report@fotonower.com args[1402727602] : ('0.07013621338932265',) no score found for photo 1402727602 We are sending mail with results at report@fotonower.com args[1402727601] : ('0.07013621338932265',) no score found for photo 1402727601 We are sending mail with results at report@fotonower.com args[1402727585] : ('0.07013621338932265',) no score found for photo 1402727585 We are sending mail with results at report@fotonower.com args[1402727584] : ('0.07013621338932265',) no score found for photo 1402727584 We are sending mail with results at report@fotonower.com args[1402727583] : ('0.07013621338932265',) no score found for photo 1402727583 We are sending mail with results at report@fotonower.com args[1402727575] : ('0.07013621338932265',) no score found for photo 1402727575 We are sending mail with results at report@fotonower.com args[1402727574] : ('0.07013621338932265',) no score found for photo 1402727574 We are sending mail with results at report@fotonower.com args[1402727572] : ('0.07013621338932265',) no score found for photo 1402727572 We are sending mail with results at report@fotonower.com args[1402727571] : ('0.07013621338932265',) no score found for photo 1402727571 We are sending mail with results at report@fotonower.com args[1402727568] : ('0.07013621338932265',) no score found for photo 1402727568 We are sending mail with results at report@fotonower.com args[1402727565] : ('0.07013621338932265',) no score found for photo 1402727565 We are sending mail with results at report@fotonower.com args[1402727562] : ('0.07013621338932265',) no score found for photo 1402727562 We are sending mail with results at report@fotonower.com args[1402727558] : ('0.07013621338932265',) no score found for photo 1402727558 We are sending mail with results at report@fotonower.com args[1402727556] : ('0.07013621338932265',) no score found for photo 1402727556 We are sending mail with results at report@fotonower.com args[1402727555] : ('0.07013621338932265',) no score found for photo 1402727555 We are sending mail with results at report@fotonower.com args[1402727538] : ('0.07013621338932265',) no score found for photo 1402727538 We are sending mail with results at report@fotonower.com args[1402727537] : ('0.07013621338932265',) no score found for photo 1402727537 We are sending mail with results at report@fotonower.com args[1402727476] : ('0.07013621338932265',) no score found for photo 1402727476 We are sending mail with results at report@fotonower.com args[1402727384] : ('0.07013621338932265',) no score found for photo 1402727384 We are sending mail with results at report@fotonower.com refus_total : 0.07013621338932265 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=30000240 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_P30000240_08-01-2026_05_36_01.pdf results_Auto_P30000240_08-01-2026_05_36_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000240_08-01-2026_05_36_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','30000240','results_Auto_P30000240_08-01-2026_05_36_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000240_08-01-2026_05_36_01.pdf','pdf','','0.39','0.07013621338932265') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([30000240]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384] map_info['map_portfolio_photo'] : {30000240: [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384]} final : False mtd_id 4302 list_pids : [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384] 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, '4325362') ('4302', '30000240', '1402727677', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727641', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727640', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727639', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727626', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727625', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727624', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727623', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727621', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727620', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727607', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727604', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727603', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727602', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727601', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727585', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727584', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727583', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727575', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727574', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727572', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727571', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727568', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727565', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727562', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727558', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727556', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727555', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727538', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727537', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727476', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727384', None, None, None, None, None, '4325362') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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', '30000240', '1402727677', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727641', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727640', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727639', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727626', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727625', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727624', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727623', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727621', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727620', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727607', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727604', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727603', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727602', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727601', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727585', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727584', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727583', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727575', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727574', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727572', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727571', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727568', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727565', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727562', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727558', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727556', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727555', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727538', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727537', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727476', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727384', None, None, None, None, None, '4325362')] time used for this insertion : 0.019680500030517578 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.276210069656372 time spend to save output : 0.020035743713378906 total time spend for step 4 : 9.296245813369751 step5:split_time_score Thu Jan 8 05:36:09 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['30000240'] 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 : [('30000240',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30000240) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1402727639: {'path': 'temp/1767846960_186828_1402727639_0917cdbdbb5f2c08b5875dba714aaa3e.jpg', 'extension': 'jpg'}, 1402727640: {'path': 'temp/1767846960_186828_1402727640_123093eb152dea38b30225d40cdd9d1c.jpg', 'extension': 'jpg'}, 1402727641: {'path': 'temp/1767846960_186828_1402727641_261714ca50689efaa182c2b3ebdd3c3d.jpg', 'extension': 'jpg'}, 1402727677: {'path': 'temp/1767846960_186828_1402727677_a156ad495e2033699db2c60e244dfc63.jpg', 'extension': 'jpg'}, 1402727384: {'path': 'temp/1767846960_186828_1402727384_b9ecd148fa03a07aca0d7de9e9b2d2d9.jpg', 'extension': 'jpg'}, 1402727476: {'path': 'temp/1767846960_186828_1402727476_7e7bc241f6b55f6be5599d3f75482ee7.jpg', 'extension': 'jpg'}, 1402727537: {'path': 'temp/1767846960_186828_1402727537_667285cebf748b0f4369f0dd4666c4d8.jpg', 'extension': 'jpg'}, 1402727538: {'path': 'temp/1767846960_186828_1402727538_bb8eb72eae25cee88391fe0edca082a1.jpg', 'extension': 'jpg'}, 1402727555: {'path': 'temp/1767846960_186828_1402727555_d3a4cd60e8fdcf44976d57599a88ae67.jpg', 'extension': 'jpg'}, 1402727556: {'path': 'temp/1767846960_186828_1402727556_250f6d1cbe719bf9601df43bb3251c9a.jpg', 'extension': 'jpg'}, 1402727558: {'path': 'temp/1767846960_186828_1402727558_2b36063bcfbd55aea40097f37936a04b.jpg', 'extension': 'jpg'}, 1402727562: {'path': 'temp/1767846960_186828_1402727562_f980ee6d6314f4ad289343490aea3118.jpg', 'extension': 'jpg'}, 1402727565: {'path': 'temp/1767846960_186828_1402727565_0f52cf5f23b963000d74fe0d50a14b85.jpg', 'extension': 'jpg'}, 1402727568: {'path': 'temp/1767846960_186828_1402727568_4797f6e5cf7922658c6ac8c5581ea838.jpg', 'extension': 'jpg'}, 1402727571: {'path': 'temp/1767846960_186828_1402727571_dbf82d19b0acb13e200473905ffd84fe.jpg', 'extension': 'jpg'}, 1402727572: {'path': 'temp/1767846960_186828_1402727572_cdbc6a583f5fc176d599448a9b2deec4.jpg', 'extension': 'jpg'}, 1402727574: {'path': 'temp/1767846960_186828_1402727574_b98277ada0f3c04172f9e33cbb1d87f6.jpg', 'extension': 'jpg'}, 1402727575: {'path': 'temp/1767846960_186828_1402727575_2030b1afc37664ef2ef3afba236b57ea.jpg', 'extension': 'jpg'}, 1402727607: {'path': 'temp/1767846960_186828_1402727607_f9f27add787801bf5d4d25cb8f2f8a7f.jpg', 'extension': 'jpg'}, 1402727620: {'path': 'temp/1767846960_186828_1402727620_a4819f878587fb192d84673ea60f5148.jpg', 'extension': 'jpg'}, 1402727621: {'path': 'temp/1767846960_186828_1402727621_1d64403d93532df1302c4c2c7bf899c5.jpg', 'extension': 'jpg'}, 1402727623: {'path': 'temp/1767846960_186828_1402727623_57c995d958af028046b894fa87439414.jpg', 'extension': 'jpg'}, 1402727624: {'path': 'temp/1767846960_186828_1402727624_54e7e47538089901247891b57c14d67b.jpg', 'extension': 'jpg'}, 1402727625: {'path': 'temp/1767846960_186828_1402727625_6e8274aeab09a630f92677b64d8e3360.jpg', 'extension': 'jpg'}, 1402727626: {'path': 'temp/1767846960_186828_1402727626_a5a910278a1aba39727fd3231e51691c.jpg', 'extension': 'jpg'}, 1402727583: {'path': 'temp/1767846960_186828_1402727583_7150644bad02e72a07bb2eab6fd67890.jpg', 'extension': 'jpg'}, 1402727584: {'path': 'temp/1767846960_186828_1402727584_081e4add4a67e92cbf5bbaa3d4743678.jpg', 'extension': 'jpg'}, 1402727585: {'path': 'temp/1767846960_186828_1402727585_0c246d8adb120729f8395179d1d40d3e.jpg', 'extension': 'jpg'}, 1402727601: {'path': 'temp/1767846960_186828_1402727601_81bbe5f7aa1f95aa4cb1b397989184d8.jpg', 'extension': 'jpg'}, 1402727602: {'path': 'temp/1767846960_186828_1402727602_bc2f99a954b58407c349a6a23567f952.jpg', 'extension': 'jpg'}, 1402727603: {'path': 'temp/1767846960_186828_1402727603_590162418729fb76fa73484eee169d29.jpg', 'extension': 'jpg'}, 1402727604: {'path': 'temp/1767846960_186828_1402727604_a8f6378874aa8b086ec17027d99474da.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 = 30000240; (('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 = 30000240 group by h (('00', 32),) 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=30000240 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 (30000240) 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 (30000240) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07012026 30000240 Nombre de photos uploadées : 32 / 23040 (0%) 07012026 30000240 Nombre de photos taguées (types de déchets): 0 / 32 (0%) 07012026 30000240 Nombre de photos taguées (volume) : 0 / 32 (0%) [{'photo_id': 1402727384, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/b9ecd148fa03a07aca0d7de9e9b2d2d9.jpg', 'username': None, 'uploaded_at': 1767742262, 'text': 'image_07012026_00_30_14_10137.jpg'}, {'photo_id': 1402727476, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/7e7bc241f6b55f6be5599d3f75482ee7.jpg', 'username': None, 'uploaded_at': 1767742508, 'text': 'image_07012026_00_33_13_9124.jpg'}, {'photo_id': 1402727538, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/bb8eb72eae25cee88391fe0edca082a1.jpg', 'username': None, 'uploaded_at': 1767742747, 'text': 'image_07012026_00_34_43_10139.jpg'}, {'photo_id': 1402727537, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/667285cebf748b0f4369f0dd4666c4d8.jpg', 'username': None, 'uploaded_at': 1767742747, 'text': 'image_07012026_00_38_24_010138m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ???????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014851093292236328 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 30000240, '2026-01-07' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2026-01-07' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2854728,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2494349479675293 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= 2854728 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 29999365, 'dashboard_result_id': 19142978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999365_08-01-2026_05_34_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999375, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999378, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 29999670, 'dashboard_result_id': 19142979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999670_08-01-2026_05_35_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999687, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30000240, 'dashboard_result_id': 19142980, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000240_07-01-2026_05_46_15.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30000241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000248, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000249, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000252, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30000381, 'dashboard_result_id': 19142981, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000381_07-01-2026_05_46_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30000396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000400, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30001385, 'dashboard_result_id': 19142982, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001385_07-01-2026_05_47_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001399, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30001625, 'dashboard_result_id': 19142983, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001625_07-01-2026_05_47_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001640, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30001993, 'dashboard_result_id': 19142984, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001993_07-01-2026_05_47_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002026, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30002683, 'dashboard_result_id': 19142985, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30002683_07-01-2026_05_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002720, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30003176, 'dashboard_result_id': 19142986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003176_07-01-2026_05_49_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003191, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30003654, 'dashboard_result_id': 19142987, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003654_07-01-2026_05_49_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003673, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30004058, 'dashboard_result_id': 19142988, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004058_07-01-2026_05_49_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30004096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004107, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30004504, 'dashboard_result_id': 19142989, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004504_07-01-2026_05_50_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30004512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004522, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30005091, 'dashboard_result_id': 19142990, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005091_07-01-2026_05_50_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005135, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30005616, 'dashboard_result_id': 19142991, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005616_07-01-2026_05_50_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30005617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005628, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30005785, 'dashboard_result_id': 19142992, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005785_07-01-2026_05_51_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30005830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005841, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30006433, 'dashboard_result_id': 19142993, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006433_07-01-2026_05_51_16.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30006459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006470, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30006862, 'dashboard_result_id': 19142994, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006862_07-01-2026_06_00_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30006923, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30008133, 'dashboard_result_id': 19142995, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30008133_07-01-2026_07_12_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30008134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30008135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30008136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30008137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30008138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30008139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30008140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30008141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30008142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30008143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30008144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30008145, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30009247, 'dashboard_result_id': 19142996, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009247_07-01-2026_07_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30009251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30009252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30009253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30009254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30009255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30009256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30009257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30009258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30009259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30009260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30009261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30009262, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30009593, 'dashboard_result_id': 19142997, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009593_07-01-2026_08_03_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30009597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30009598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30009599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30009600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30009601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30009602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30009603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30009604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30009605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30009606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30009607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30009608, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30010197, 'dashboard_result_id': 19142998, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010197_07-01-2026_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30010202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010209, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30010468, 'dashboard_result_id': 19142999, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010468_07-01-2026_08_46_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30010475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010486, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30011725, 'dashboard_result_id': 19143000, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011725_07-01-2026_09_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30011737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011740, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30011864, 'dashboard_result_id': 19143001, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011864_07-01-2026_10_07_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30011869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011880, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30012493, 'dashboard_result_id': 19143002, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30012493_07-01-2026_10_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30012497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30012498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30012499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30012500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30012501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30012502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30012503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30012504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30012505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30012506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30012507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30012508, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30013967, 'dashboard_result_id': 19143003, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30013967_07-01-2026_11_48_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30013971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30013972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30013973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30013974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30013975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30013976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30013977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30013978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30013979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30013980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30013981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30013982, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30014128, 'dashboard_result_id': 19143004, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30014128_07-01-2026_12_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30014142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30014143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30014144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30014145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30014146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30014147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30014148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30014149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30014150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30014151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30014152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30014153, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30015597, 'dashboard_result_id': 19143005, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015597_07-01-2026_14_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30015611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015612, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30015792, 'dashboard_result_id': 19143006, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015792_07-01-2026_14_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30015802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015813, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30016267, 'dashboard_result_id': 19143007, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016267_07-01-2026_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016317, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30016904, 'dashboard_result_id': 19143008, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016904_07-01-2026_14_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016936, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30017547, 'dashboard_result_id': 19143009, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30017547_07-01-2026_15_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30017555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30017556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30017557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30017558, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30017559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30017560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30017561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30017562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30017563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30017564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30017565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30017566, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30018015, 'dashboard_result_id': 19143010, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018015_07-01-2026_15_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018059, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30018710, 'dashboard_result_id': 19143011, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018710_07-01-2026_15_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018738, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30019466, 'dashboard_result_id': 19143012, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30019466_07-01-2026_15_54_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30019474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30019475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30019476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30019477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30019478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30019479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30019480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30019481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30019482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30019483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30019484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30019485, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30020121, 'dashboard_result_id': 19143013, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020121_07-01-2026_16_03_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020141, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30020366, 'dashboard_result_id': 19143014, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020366_07-01-2026_16_23_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020387, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30021157, 'dashboard_result_id': 19143015, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021157_07-01-2026_16_33_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021186, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30021437, 'dashboard_result_id': 19143016, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021437_07-01-2026_16_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021478, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30022124, 'dashboard_result_id': 19143017, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022124_07-01-2026_17_04_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022148, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30022669, 'dashboard_result_id': 19143018, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022669_07-01-2026_17_16_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022733, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30023270, 'dashboard_result_id': 19143019, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30023270_07-01-2026_18_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30023280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30023281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30023282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30023283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30023284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30023285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30023286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30023287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30023288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30023289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30023290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30023291, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30024335, 'dashboard_result_id': 19143020, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024335_07-01-2026_18_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024352, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30024849, 'dashboard_result_id': 19143021, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024849_07-01-2026_18_42_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024872, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30025289, 'dashboard_result_id': 19143022, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025289_07-01-2026_18_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30025329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025335, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30025482, 'dashboard_result_id': 19143023, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025482_07-01-2026_19_05_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30025493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30025497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025504, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30025984, 'dashboard_result_id': 19143024, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025984_07-01-2026_19_16_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026002, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30026491, 'dashboard_result_id': 19143025, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026491_07-01-2026_19_33_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026510, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30026977, 'dashboard_result_id': 19143026, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026977_07-01-2026_19_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026999, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30027607, 'dashboard_result_id': 19143027, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30027607_07-01-2026_20_03_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30027611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30027612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30027613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30027614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30027615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30027616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30027617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30027618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30027619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30027620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30027621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30027622, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30028025, 'dashboard_result_id': 19143028, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028025_07-01-2026_20_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30028033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30028043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028045, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30028596, 'dashboard_result_id': 19143029, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028596_07-01-2026_20_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30028645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30028656, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30029122, 'dashboard_result_id': 19143030, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029122_07-01-2026_21_08_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30029139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30029140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30029142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30029144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30029146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30029147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30029149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029150, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30029994, 'dashboard_result_id': 19143031, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029994_07-01-2026_21_16_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030006, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30030148, 'dashboard_result_id': 19143032, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030148_07-01-2026_21_34_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030162, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30030467, 'dashboard_result_id': 19143033, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030467_07-01-2026_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030492, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30030938, 'dashboard_result_id': 19143034, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030938_07-01-2026_22_06_12.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030953, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30031483, 'dashboard_result_id': 19143035, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30031483_07-01-2026_22_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30031486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30031487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30031488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30031489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30031490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30031491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30031492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30031493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30031494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30031495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30031496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30031497, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30032199, 'dashboard_result_id': 19143036, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032199_07-01-2026_22_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032250, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30032701, 'dashboard_result_id': 19143037, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032701_07-01-2026_22_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032744, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032747, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30033526, 'dashboard_result_id': 19143038, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30033526_07-01-2026_23_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30033539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30033540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30033541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30033542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30033543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30033544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30033545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30033546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30033547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30033548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30033549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30033550, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30034210, 'dashboard_result_id': 19143039, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034210_07-01-2026_23_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034230, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30034820, 'dashboard_result_id': 19143040, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034820_07-01-2026_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034840, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30035513, 'dashboard_result_id': 19143041, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30035513_07-01-2026_23_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30035514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30035515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30035516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30035517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30035518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30035519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30035520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30035521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30035522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30035523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30035524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30035525, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30036264, 'dashboard_result_id': 19143042, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036264_08-01-2026_00_26_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036295, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036301, '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 = 29999365 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325360, 'mtr_portfolio_id': 29999365, 'created_at': datetime.datetime(2026, 1, 8, 5, 34, 29), 'result': '0.049124932594421564', 'result_long': None, 'result_double': None}] Qualite : 0.049124932594421564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29999365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999365_08-01-2026_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29999365 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999365_08-01-2026_05_34_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999375, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999378, 'pht': 3726}}" where mtr_portfolio_id = 29999365 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29999365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142978, 0.049124932594421564, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999365_08-01-2026_05_34_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999375, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999378, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29999670 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325361, 'mtr_portfolio_id': 29999670, 'created_at': datetime.datetime(2026, 1, 8, 5, 35, 28), 'result': '0.06694766439685172', 'result_long': None, 'result_double': None}] Qualite : 0.06694766439685172 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29999670 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999670_08-01-2026_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29999670 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999670_08-01-2026_05_35_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999687, 'pht': 3726}}" where mtr_portfolio_id = 29999670 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29999670 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142979, 0.06694766439685172, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999670_08-01-2026_05_35_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999687, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30000240 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325362, 'mtr_portfolio_id': 30000240, 'created_at': datetime.datetime(2026, 1, 8, 5, 35, 59), 'result': '0.07013621338932265', 'result_long': None, 'result_double': None}] Qualite : 0.07013621338932265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30000240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000240_08-01-2026_05_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30000240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000240_08-01-2026_05_36_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30000241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000248, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000249, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000252, 'pht': 3726}}" where mtr_portfolio_id = 30000240 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30000240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142980, 0.07013621338932265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000240_08-01-2026_05_36_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30000241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000248, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000249, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000252, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30000381 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320488, 'mtr_portfolio_id': 30000381, 'created_at': datetime.datetime(2026, 1, 7, 5, 46, 30), 'result': '0.048472824194191244', 'result_long': None, 'result_double': None}] Qualite : 0.048472824194191244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30000381 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000381_07-01-2026_05_46_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30000381 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000381_07-01-2026_05_46_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30000396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000400, 'pht': 3726}}" where mtr_portfolio_id = 30000381 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30000381 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142981, 0.048472824194191244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000381_07-01-2026_05_46_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30000396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000400, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30001385 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320489, 'mtr_portfolio_id': 30001385, 'created_at': datetime.datetime(2026, 1, 7, 5, 46, 59), 'result': '0.04826813212001843', 'result_long': None, 'result_double': None}] Qualite : 0.04826813212001843 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30001385 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001385_07-01-2026_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30001385 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001385_07-01-2026_05_47_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001399, 'pht': 3726}}" where mtr_portfolio_id = 30001385 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30001385 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142982, 0.04826813212001843, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001385_07-01-2026_05_47_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001399, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30001625 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320490, 'mtr_portfolio_id': 30001625, 'created_at': datetime.datetime(2026, 1, 7, 5, 47, 27), 'result': '0.06660748843389316', 'result_long': None, 'result_double': None}] Qualite : 0.06660748843389316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30001625 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001625_07-01-2026_05_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30001625 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001625_07-01-2026_05_47_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001640, 'pht': 3726}}" where mtr_portfolio_id = 30001625 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30001625 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142983, 0.06660748843389316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001625_07-01-2026_05_47_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001640, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30001993 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320491, 'mtr_portfolio_id': 30001993, 'created_at': datetime.datetime(2026, 1, 7, 5, 47, 30), 'result': '0.06158784706174094', 'result_long': None, 'result_double': None}] Qualite : 0.06158784706174094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30001993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001993_07-01-2026_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30001993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001993_07-01-2026_05_47_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002026, 'pht': 3726}}" where mtr_portfolio_id = 30001993 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30001993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142984, 0.06158784706174094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001993_07-01-2026_05_47_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002026, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30002683 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320492, 'mtr_portfolio_id': 30002683, 'created_at': datetime.datetime(2026, 1, 7, 5, 47, 58), 'result': '0.07576182008037409', 'result_long': None, 'result_double': None}] Qualite : 0.07576182008037409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30002683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30002683_07-01-2026_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30002683 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30002683_07-01-2026_05_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002720, 'pht': 3726}}" where mtr_portfolio_id = 30002683 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30002683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142985, 0.07576182008037409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30002683_07-01-2026_05_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002720, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30003176 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320493, 'mtr_portfolio_id': 30003176, 'created_at': datetime.datetime(2026, 1, 7, 5, 48, 59), 'result': '0.04453398212877572', 'result_long': None, 'result_double': None}] Qualite : 0.04453398212877572 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30003176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003176_07-01-2026_05_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30003176 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003176_07-01-2026_05_49_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003191, 'pht': 3726}}" where mtr_portfolio_id = 30003176 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30003176 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142986, 0.04453398212877572, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003176_07-01-2026_05_49_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003191, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30003654 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320494, 'mtr_portfolio_id': 30003654, 'created_at': datetime.datetime(2026, 1, 7, 5, 49, 28), 'result': '0.05995918110148013', 'result_long': None, 'result_double': None}] Qualite : 0.05995918110148013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30003654 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003654_07-01-2026_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30003654 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003654_07-01-2026_05_49_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003673, 'pht': 3726}}" where mtr_portfolio_id = 30003654 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30003654 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142987, 0.05995918110148013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003654_07-01-2026_05_49_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003673, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30004058 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320495, 'mtr_portfolio_id': 30004058, 'created_at': datetime.datetime(2026, 1, 7, 5, 49, 34), 'result': '0.09219118715305291', 'result_long': None, 'result_double': None}] Qualite : 0.09219118715305291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30004058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004058_07-01-2026_05_49_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30004058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004058_07-01-2026_05_49_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30004096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004107, 'pht': 3726}}" where mtr_portfolio_id = 30004058 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30004058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142988, 0.09219118715305291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004058_07-01-2026_05_49_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30004096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004107, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30004504 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320496, 'mtr_portfolio_id': 30004504, 'created_at': datetime.datetime(2026, 1, 7, 5, 49, 57), 'result': '0.054357922348110085', 'result_long': None, 'result_double': None}] Qualite : 0.054357922348110085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30004504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004504_07-01-2026_05_50_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30004504 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004504_07-01-2026_05_50_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30004512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004522, 'pht': 3726}}" where mtr_portfolio_id = 30004504 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30004504 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142989, 0.054357922348110085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004504_07-01-2026_05_50_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30004512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004522, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30005091 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320497, 'mtr_portfolio_id': 30005091, 'created_at': datetime.datetime(2026, 1, 7, 5, 50, 31), 'result': '0.09144972504083636', 'result_long': None, 'result_double': None}] Qualite : 0.09144972504083636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30005091 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005091_07-01-2026_05_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30005091 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005091_07-01-2026_05_50_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005135, 'pht': 3726}}" where mtr_portfolio_id = 30005091 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30005091 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142990, 0.09144972504083636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005091_07-01-2026_05_50_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005135, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30005616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320498, 'mtr_portfolio_id': 30005616, 'created_at': datetime.datetime(2026, 1, 7, 5, 50, 41), 'result': '0.05525133397869822', 'result_long': None, 'result_double': None}] Qualite : 0.05525133397869822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30005616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005616_07-01-2026_05_50_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30005616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005616_07-01-2026_05_50_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30005617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005628, 'pht': 3726}}" where mtr_portfolio_id = 30005616 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30005616 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142991, 0.05525133397869822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005616_07-01-2026_05_50_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30005617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005628, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30005785 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320499, 'mtr_portfolio_id': 30005785, 'created_at': datetime.datetime(2026, 1, 7, 5, 51), 'result': '0.05482485725749406', 'result_long': None, 'result_double': None}] Qualite : 0.05482485725749406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30005785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005785_07-01-2026_05_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30005785 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005785_07-01-2026_05_51_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30005830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005841, 'pht': 3726}}" where mtr_portfolio_id = 30005785 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30005785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142992, 0.05482485725749406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005785_07-01-2026_05_51_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30005830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005841, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30006433 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320500, 'mtr_portfolio_id': 30006433, 'created_at': datetime.datetime(2026, 1, 7, 5, 51, 13), 'result': '0.05741888788846315', 'result_long': None, 'result_double': None}] Qualite : 0.05741888788846315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30006433 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006433_07-01-2026_05_51_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30006433 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006433_07-01-2026_05_51_16.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30006459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006470, 'pht': 3726}}" where mtr_portfolio_id = 30006433 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30006433 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142993, 0.05741888788846315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006433_07-01-2026_05_51_16.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30006459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006470, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30006862 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320501, 'mtr_portfolio_id': 30006862, 'created_at': datetime.datetime(2026, 1, 7, 5, 59, 59), 'result': '0.06259747425914222', 'result_long': None, 'result_double': None}] Qualite : 0.06259747425914222 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30006862 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006862_07-01-2026_06_00_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30006862 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006862_07-01-2026_06_00_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30006923, 'pht': 3726}}" where mtr_portfolio_id = 30006862 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30006862 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142994, 0.06259747425914222, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006862_07-01-2026_06_00_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30006923, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30008133 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320651, 'mtr_portfolio_id': 30008133, 'created_at': datetime.datetime(2026, 1, 7, 7, 12, 59), 'result': '0.01419840844167656', 'result_long': None, 'result_double': None}] Qualite : 0.01419840844167656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30008133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30008133_07-01-2026_07_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30008133 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30008133_07-01-2026_07_12_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30008134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30008135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30008136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30008137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30008138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30008139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30008140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30008141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30008142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30008143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30008144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30008145, 'pht': 3726}}" where mtr_portfolio_id = 30008133 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30008133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142995, 0.01419840844167656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30008133_07-01-2026_07_12_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30008134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30008135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30008136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30008137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30008138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30008139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30008140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30008141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30008142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30008143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30008144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30008145, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30009247 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30009247 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 30009247 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30009247 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30009247 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30009247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009247_07-01-2026_07_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30009247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009247_07-01-2026_07_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30009251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30009252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30009253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30009254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30009255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30009256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30009257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30009258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30009259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30009260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30009261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30009262, 'pht': 3726}}" where mtr_portfolio_id = 30009247 and dashboard_run_id = 2868582 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30009593 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320830, 'mtr_portfolio_id': 30009593, 'created_at': datetime.datetime(2026, 1, 7, 8, 3), 'result': '0.03511085588339204', 'result_long': None, 'result_double': None}] Qualite : 0.03511085588339204 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30009593 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009593_07-01-2026_08_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30009593 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009593_07-01-2026_08_03_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30009597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30009598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30009599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30009600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30009601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30009602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30009603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30009604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30009605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30009606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30009607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30009608, 'pht': 3726}}" where mtr_portfolio_id = 30009593 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30009593 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142997, 0.03511085588339204, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009593_07-01-2026_08_03_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30009597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30009598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30009599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30009600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30009601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30009602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30009603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30009604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30009605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30009606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30009607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30009608, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30010197 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320903, 'mtr_portfolio_id': 30010197, 'created_at': datetime.datetime(2026, 1, 7, 8, 33), 'result': '0.14204512058446242', 'result_long': None, 'result_double': None}] Qualite : 0.14204512058446242 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30010197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010197_07-01-2026_08_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30010197 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010197_07-01-2026_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30010202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010209, 'pht': 3726}}" where mtr_portfolio_id = 30010197 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30010197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142998, 0.14204512058446242, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010197_07-01-2026_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30010202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010209, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30010468 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4320953, 'mtr_portfolio_id': 30010468, 'created_at': datetime.datetime(2026, 1, 7, 8, 46, 31), 'result': '0.07337793488127957', 'result_long': None, 'result_double': None}] Qualite : 0.07337793488127957 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30010468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010468_07-01-2026_08_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30010468 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010468_07-01-2026_08_46_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30010475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010486, 'pht': 3726}}" where mtr_portfolio_id = 30010468 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30010468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142999, 0.07337793488127957, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010468_07-01-2026_08_46_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30010475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010486, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30011725 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321106, 'mtr_portfolio_id': 30011725, 'created_at': datetime.datetime(2026, 1, 7, 9, 46, 57), 'result': '0.0027404002051390555', 'result_long': None, 'result_double': None}] Qualite : 0.0027404002051390555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30011725 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011725_07-01-2026_09_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30011725 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011725_07-01-2026_09_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30011737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011740, 'pht': 3726}}" where mtr_portfolio_id = 30011725 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30011725 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143000, 0.0027404002051390555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011725_07-01-2026_09_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30011737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011740, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30011864 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321127, 'mtr_portfolio_id': 30011864, 'created_at': datetime.datetime(2026, 1, 7, 10, 7, 1), 'result': '0.13208933847964371', 'result_long': None, 'result_double': None}] Qualite : 0.13208933847964371 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30011864 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011864_07-01-2026_10_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30011864 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011864_07-01-2026_10_07_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30011869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011880, 'pht': 3726}}" where mtr_portfolio_id = 30011864 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30011864 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143001, 0.13208933847964371, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011864_07-01-2026_10_07_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30011869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011880, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30012493 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321210, 'mtr_portfolio_id': 30012493, 'created_at': datetime.datetime(2026, 1, 7, 10, 34, 58), 'result': '0.14011543555550385', 'result_long': None, 'result_double': None}] Qualite : 0.14011543555550385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30012493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30012493_07-01-2026_10_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30012493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30012493_07-01-2026_10_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30012497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30012498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30012499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30012500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30012501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30012502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30012503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30012504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30012505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30012506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30012507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30012508, 'pht': 3726}}" where mtr_portfolio_id = 30012493 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30012493 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143002, 0.14011543555550385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30012493_07-01-2026_10_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30012497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30012498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30012499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30012500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30012501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30012502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30012503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30012504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30012505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30012506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30012507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30012508, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30013967 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321423, 'mtr_portfolio_id': 30013967, 'created_at': datetime.datetime(2026, 1, 7, 11, 48, 32), 'result': '0.029487182326342013', 'result_long': None, 'result_double': None}] Qualite : 0.029487182326342013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30013967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30013967_07-01-2026_11_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30013967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30013967_07-01-2026_11_48_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30013971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30013972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30013973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30013974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30013975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30013976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30013977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30013978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30013979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30013980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30013981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30013982, 'pht': 3726}}" where mtr_portfolio_id = 30013967 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30013967 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143003, 0.029487182326342013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30013967_07-01-2026_11_48_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30013971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30013972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30013973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30013974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30013975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30013976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30013977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30013978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30013979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30013980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30013981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30013982, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30014128 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321444, 'mtr_portfolio_id': 30014128, 'created_at': datetime.datetime(2026, 1, 7, 12, 2, 59), 'result': '0.030986524367860566', 'result_long': None, 'result_double': None}] Qualite : 0.030986524367860566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30014128 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30014128_07-01-2026_12_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30014128 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30014128_07-01-2026_12_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30014142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30014143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30014144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30014145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30014146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30014147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30014148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30014149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30014150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30014151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30014152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30014153, 'pht': 3726}}" where mtr_portfolio_id = 30014128 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30014128 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143004, 0.030986524367860566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30014128_07-01-2026_12_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30014142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30014143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30014144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30014145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30014146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30014147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30014148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30014149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30014150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30014151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30014152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30014153, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30015597 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321718, 'mtr_portfolio_id': 30015597, 'created_at': datetime.datetime(2026, 1, 7, 14, 2, 59), 'result': '0.0406502017629576', 'result_long': None, 'result_double': None}] Qualite : 0.0406502017629576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30015597 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015597_07-01-2026_14_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30015597 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015597_07-01-2026_14_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30015611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015612, 'pht': 3726}}" where mtr_portfolio_id = 30015597 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30015597 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143005, 0.0406502017629576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015597_07-01-2026_14_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30015611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015612, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30015792 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321760, 'mtr_portfolio_id': 30015792, 'created_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'result': '0.04460728276283382', 'result_long': None, 'result_double': None}] Qualite : 0.04460728276283382 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30015792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015792_07-01-2026_14_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30015792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015792_07-01-2026_14_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30015802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015813, 'pht': 3726}}" where mtr_portfolio_id = 30015792 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30015792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143006, 0.04460728276283382, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015792_07-01-2026_14_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30015802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015813, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30016267 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321798, 'mtr_portfolio_id': 30016267, 'created_at': datetime.datetime(2026, 1, 7, 14, 32, 59), 'result': '0.050502616469643165', 'result_long': None, 'result_double': None}] Qualite : 0.050502616469643165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30016267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016267_07-01-2026_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30016267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016267_07-01-2026_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016317, 'pht': 3726}}" where mtr_portfolio_id = 30016267 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30016267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143007, 0.050502616469643165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016267_07-01-2026_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016317, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30016904 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321858, 'mtr_portfolio_id': 30016904, 'created_at': datetime.datetime(2026, 1, 7, 14, 46, 58), 'result': '0.033514886236474216', 'result_long': None, 'result_double': None}] Qualite : 0.033514886236474216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30016904 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016904_07-01-2026_14_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30016904 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016904_07-01-2026_14_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016936, 'pht': 3726}}" where mtr_portfolio_id = 30016904 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30016904 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143008, 0.033514886236474216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016904_07-01-2026_14_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016936, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30017547 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321929, 'mtr_portfolio_id': 30017547, 'created_at': datetime.datetime(2026, 1, 7, 15, 2, 56), 'result': '0.05897271963902756', 'result_long': None, 'result_double': None}] Qualite : 0.05897271963902756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30017547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30017547_07-01-2026_15_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30017547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30017547_07-01-2026_15_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30017555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30017556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30017557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30017558, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30017559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30017560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30017561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30017562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30017563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30017564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30017565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30017566, 'pht': 3726}}" where mtr_portfolio_id = 30017547 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30017547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143009, 0.05897271963902756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30017547_07-01-2026_15_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30017555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30017556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30017557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30017558, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30017559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30017560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30017561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30017562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30017563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30017564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30017565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30017566, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30018015 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322005, 'mtr_portfolio_id': 30018015, 'created_at': datetime.datetime(2026, 1, 7, 15, 17), 'result': '0.05064700904018109', 'result_long': None, 'result_double': None}] Qualite : 0.05064700904018109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30018015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018015_07-01-2026_15_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30018015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018015_07-01-2026_15_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018059, 'pht': 3726}}" where mtr_portfolio_id = 30018015 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30018015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143010, 0.05064700904018109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018015_07-01-2026_15_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018059, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30018710 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322065, 'mtr_portfolio_id': 30018710, 'created_at': datetime.datetime(2026, 1, 7, 15, 34, 59), 'result': '0.05353529490218719', 'result_long': None, 'result_double': None}] Qualite : 0.05353529490218719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30018710 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018710_07-01-2026_15_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30018710 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018710_07-01-2026_15_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018738, 'pht': 3726}}" where mtr_portfolio_id = 30018710 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30018710 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143011, 0.05353529490218719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018710_07-01-2026_15_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018738, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30019466 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322150, 'mtr_portfolio_id': 30019466, 'created_at': datetime.datetime(2026, 1, 7, 15, 54, 59), 'result': '0.08661749733974249', 'result_long': None, 'result_double': None}] Qualite : 0.08661749733974249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30019466 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30019466_07-01-2026_15_54_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30019466 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30019466_07-01-2026_15_54_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30019474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30019475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30019476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30019477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30019478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30019479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30019480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30019481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30019482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30019483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30019484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30019485, 'pht': 3726}}" where mtr_portfolio_id = 30019466 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30019466 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143012, 0.08661749733974249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30019466_07-01-2026_15_54_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30019474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30019475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30019476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30019477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30019478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30019479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30019480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30019481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30019482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30019483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30019484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30019485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30020121 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322220, 'mtr_portfolio_id': 30020121, 'created_at': datetime.datetime(2026, 1, 7, 16, 3, 31), 'result': '0.04863153590090776', 'result_long': None, 'result_double': None}] Qualite : 0.04863153590090776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30020121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020121_07-01-2026_16_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30020121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020121_07-01-2026_16_03_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020141, 'pht': 3726}}" where mtr_portfolio_id = 30020121 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30020121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143013, 0.04863153590090776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020121_07-01-2026_16_03_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020141, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30020366 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322254, 'mtr_portfolio_id': 30020366, 'created_at': datetime.datetime(2026, 1, 7, 16, 22, 59), 'result': '0.0546993632285205', 'result_long': None, 'result_double': None}] Qualite : 0.0546993632285205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30020366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020366_07-01-2026_16_23_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30020366 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020366_07-01-2026_16_23_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020387, 'pht': 3726}}" where mtr_portfolio_id = 30020366 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30020366 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143014, 0.0546993632285205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020366_07-01-2026_16_23_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020387, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30021157 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322343, 'mtr_portfolio_id': 30021157, 'created_at': datetime.datetime(2026, 1, 7, 16, 33, 1), 'result': '0.0641264112184009', 'result_long': None, 'result_double': None}] Qualite : 0.0641264112184009 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30021157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021157_07-01-2026_16_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30021157 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021157_07-01-2026_16_33_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021186, 'pht': 3726}}" where mtr_portfolio_id = 30021157 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30021157 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143015, 0.0641264112184009, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021157_07-01-2026_16_33_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021186, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30021437 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322372, 'mtr_portfolio_id': 30021437, 'created_at': datetime.datetime(2026, 1, 7, 16, 48, 57), 'result': '0.0556395062731642', 'result_long': None, 'result_double': None}] Qualite : 0.0556395062731642 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30021437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021437_07-01-2026_16_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30021437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021437_07-01-2026_16_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021478, 'pht': 3726}}" where mtr_portfolio_id = 30021437 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30021437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143016, 0.0556395062731642, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021437_07-01-2026_16_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021478, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30022124 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322436, 'mtr_portfolio_id': 30022124, 'created_at': datetime.datetime(2026, 1, 7, 17, 4, 57), 'result': '0.06361911851027341', 'result_long': None, 'result_double': None}] Qualite : 0.06361911851027341 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30022124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022124_07-01-2026_17_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30022124 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022124_07-01-2026_17_04_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022148, 'pht': 3726}}" where mtr_portfolio_id = 30022124 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30022124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143017, 0.06361911851027341, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022124_07-01-2026_17_04_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022148, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30022669 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322510, 'mtr_portfolio_id': 30022669, 'created_at': datetime.datetime(2026, 1, 7, 17, 16, 57), 'result': '0.058487561501514525', 'result_long': None, 'result_double': None}] Qualite : 0.058487561501514525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30022669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022669_07-01-2026_17_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30022669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022669_07-01-2026_17_16_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022733, 'pht': 3726}}" where mtr_portfolio_id = 30022669 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30022669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143018, 0.058487561501514525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022669_07-01-2026_17_16_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022733, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30023270 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322591, 'mtr_portfolio_id': 30023270, 'created_at': datetime.datetime(2026, 1, 7, 18, 3, 30), 'result': '0.041293334368537674', 'result_long': None, 'result_double': None}] Qualite : 0.041293334368537674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30023270 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30023270_07-01-2026_18_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30023270 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30023270_07-01-2026_18_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30023280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30023281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30023282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30023283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30023284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30023285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30023286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30023287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30023288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30023289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30023290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30023291, 'pht': 3726}}" where mtr_portfolio_id = 30023270 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30023270 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143019, 0.041293334368537674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30023270_07-01-2026_18_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30023280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30023281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30023282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30023283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30023284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30023285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30023286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30023287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30023288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30023289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30023290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30023291, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30024335 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322755, 'mtr_portfolio_id': 30024335, 'created_at': datetime.datetime(2026, 1, 7, 18, 19), 'result': '0.03441686989838631', 'result_long': None, 'result_double': None}] Qualite : 0.03441686989838631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30024335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024335_07-01-2026_18_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30024335 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024335_07-01-2026_18_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024352, 'pht': 3726}}" where mtr_portfolio_id = 30024335 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30024335 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143020, 0.03441686989838631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024335_07-01-2026_18_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024352, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30024849 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322806, 'mtr_portfolio_id': 30024849, 'created_at': datetime.datetime(2026, 1, 7, 18, 42, 59), 'result': '0.09023403212272008', 'result_long': None, 'result_double': None}] Qualite : 0.09023403212272008 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30024849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024849_07-01-2026_18_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30024849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024849_07-01-2026_18_42_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024872, 'pht': 3726}}" where mtr_portfolio_id = 30024849 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30024849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143021, 0.09023403212272008, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024849_07-01-2026_18_42_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024872, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30025289 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322872, 'mtr_portfolio_id': 30025289, 'created_at': datetime.datetime(2026, 1, 7, 18, 48, 58), 'result': '0.07751083269401277', 'result_long': None, 'result_double': None}] Qualite : 0.07751083269401277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30025289 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025289_07-01-2026_18_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30025289 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025289_07-01-2026_18_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30025329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025335, 'pht': 3726}}" where mtr_portfolio_id = 30025289 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30025289 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143022, 0.07751083269401277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025289_07-01-2026_18_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30025329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025335, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30025482 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322889, 'mtr_portfolio_id': 30025482, 'created_at': datetime.datetime(2026, 1, 7, 19, 5, 27), 'result': '0.04293021410019511', 'result_long': None, 'result_double': None}] Qualite : 0.04293021410019511 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30025482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025482_07-01-2026_19_05_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30025482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025482_07-01-2026_19_05_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30025493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30025497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025504, 'pht': 3726}}" where mtr_portfolio_id = 30025482 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30025482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143023, 0.04293021410019511, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025482_07-01-2026_19_05_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30025493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30025497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025504, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30025984 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322952, 'mtr_portfolio_id': 30025984, 'created_at': datetime.datetime(2026, 1, 7, 19, 16, 30), 'result': '0.05682182459698059', 'result_long': None, 'result_double': None}] Qualite : 0.05682182459698059 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30025984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025984_07-01-2026_19_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30025984 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025984_07-01-2026_19_16_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026002, 'pht': 3726}}" where mtr_portfolio_id = 30025984 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30025984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143024, 0.05682182459698059, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025984_07-01-2026_19_16_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30026491 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323015, 'mtr_portfolio_id': 30026491, 'created_at': datetime.datetime(2026, 1, 7, 19, 33, 29), 'result': '0.09021418692795662', 'result_long': None, 'result_double': None}] Qualite : 0.09021418692795662 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30026491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026491_07-01-2026_19_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30026491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026491_07-01-2026_19_33_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026510, 'pht': 3726}}" where mtr_portfolio_id = 30026491 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30026491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143025, 0.09021418692795662, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026491_07-01-2026_19_33_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026510, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30026977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323089, 'mtr_portfolio_id': 30026977, 'created_at': datetime.datetime(2026, 1, 7, 19, 46, 59), 'result': '0.06697732932951117', 'result_long': None, 'result_double': None}] Qualite : 0.06697732932951117 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30026977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026977_07-01-2026_19_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30026977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026977_07-01-2026_19_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026999, 'pht': 3726}}" where mtr_portfolio_id = 30026977 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30026977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143026, 0.06697732932951117, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026977_07-01-2026_19_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026999, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30027607 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323165, 'mtr_portfolio_id': 30027607, 'created_at': datetime.datetime(2026, 1, 7, 20, 3, 28), 'result': '0.036326983012224076', 'result_long': None, 'result_double': None}] Qualite : 0.036326983012224076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30027607 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30027607_07-01-2026_20_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30027607 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30027607_07-01-2026_20_03_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30027611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30027612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30027613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30027614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30027615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30027616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30027617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30027618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30027619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30027620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30027621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30027622, 'pht': 3726}}" where mtr_portfolio_id = 30027607 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30027607 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143027, 0.036326983012224076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30027607_07-01-2026_20_03_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30027611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30027612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30027613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30027614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30027615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30027616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30027617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30027618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30027619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30027620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30027621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30027622, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30028025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323224, 'mtr_portfolio_id': 30028025, 'created_at': datetime.datetime(2026, 1, 7, 20, 17), 'result': '0.06696223389743043', 'result_long': None, 'result_double': None}] Qualite : 0.06696223389743043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30028025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028025_07-01-2026_20_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30028025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028025_07-01-2026_20_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30028033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30028043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028045, 'pht': 3726}}" where mtr_portfolio_id = 30028025 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30028025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143028, 0.06696223389743043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028025_07-01-2026_20_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30028033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30028043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028045, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30028596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323287, 'mtr_portfolio_id': 30028596, 'created_at': datetime.datetime(2026, 1, 7, 20, 32, 58), 'result': '0.04581538682374502', 'result_long': None, 'result_double': None}] Qualite : 0.04581538682374502 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30028596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028596_07-01-2026_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30028596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028596_07-01-2026_20_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30028645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30028656, 'pht': 3726}}" where mtr_portfolio_id = 30028596 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30028596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143029, 0.04581538682374502, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028596_07-01-2026_20_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30028645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30028656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30029122 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323366, 'mtr_portfolio_id': 30029122, 'created_at': datetime.datetime(2026, 1, 7, 21, 8, 29), 'result': '0.05666302682078423', 'result_long': None, 'result_double': None}] Qualite : 0.05666302682078423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30029122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029122_07-01-2026_21_08_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30029122 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029122_07-01-2026_21_08_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30029139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30029140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30029142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30029144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30029146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30029147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30029149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029150, 'pht': 3726}}" where mtr_portfolio_id = 30029122 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30029122 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143030, 0.05666302682078423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029122_07-01-2026_21_08_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30029139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30029140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30029142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30029144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30029146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30029147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30029149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029150, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30029994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323500, 'mtr_portfolio_id': 30029994, 'created_at': datetime.datetime(2026, 1, 7, 21, 16, 32), 'result': '0.04371468392825144', 'result_long': None, 'result_double': None}] Qualite : 0.04371468392825144 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30029994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029994_07-01-2026_21_16_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30029994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029994_07-01-2026_21_16_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030006, 'pht': 3726}}" where mtr_portfolio_id = 30029994 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30029994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143031, 0.04371468392825144, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029994_07-01-2026_21_16_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30030148 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323518, 'mtr_portfolio_id': 30030148, 'created_at': datetime.datetime(2026, 1, 7, 21, 34, 57), 'result': '0.07802346702967553', 'result_long': None, 'result_double': None}] Qualite : 0.07802346702967553 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30030148 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030148_07-01-2026_21_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30030148 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030148_07-01-2026_21_34_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030162, 'pht': 3726}}" where mtr_portfolio_id = 30030148 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30030148 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143032, 0.07802346702967553, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030148_07-01-2026_21_34_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030162, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30030467 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323561, 'mtr_portfolio_id': 30030467, 'created_at': datetime.datetime(2026, 1, 7, 21, 48, 59), 'result': '0.05641630702449453', 'result_long': None, 'result_double': None}] Qualite : 0.05641630702449453 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30030467 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030467_07-01-2026_21_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30030467 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030467_07-01-2026_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030492, 'pht': 3726}}" where mtr_portfolio_id = 30030467 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30030467 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143033, 0.05641630702449453, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030467_07-01-2026_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030492, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30030938 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323611, 'mtr_portfolio_id': 30030938, 'created_at': datetime.datetime(2026, 1, 7, 22, 6, 11), 'result': '0.04873842150937715', 'result_long': None, 'result_double': None}] Qualite : 0.04873842150937715 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30030938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030938_07-01-2026_22_06_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30030938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030938_07-01-2026_22_06_12.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030953, 'pht': 3726}}" where mtr_portfolio_id = 30030938 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30030938 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143034, 0.04873842150937715, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030938_07-01-2026_22_06_12.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030953, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30031483 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323741, 'mtr_portfolio_id': 30031483, 'created_at': datetime.datetime(2026, 1, 7, 22, 17), 'result': '0.06228336133050739', 'result_long': None, 'result_double': None}] Qualite : 0.06228336133050739 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30031483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30031483_07-01-2026_22_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30031483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30031483_07-01-2026_22_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30031486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30031487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30031488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30031489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30031490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30031491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30031492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30031493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30031494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30031495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30031496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30031497, 'pht': 3726}}" where mtr_portfolio_id = 30031483 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30031483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143035, 0.06228336133050739, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30031483_07-01-2026_22_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30031486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30031487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30031488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30031489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30031490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30031491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30031492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30031493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30031494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30031495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30031496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30031497, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30032199 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323803, 'mtr_portfolio_id': 30032199, 'created_at': datetime.datetime(2026, 1, 7, 22, 32, 59), 'result': '0.05541676535868887', 'result_long': None, 'result_double': None}] Qualite : 0.05541676535868887 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30032199 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032199_07-01-2026_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30032199 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032199_07-01-2026_22_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032250, 'pht': 3726}}" where mtr_portfolio_id = 30032199 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30032199 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143036, 0.05541676535868887, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032199_07-01-2026_22_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032250, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30032701 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323849, 'mtr_portfolio_id': 30032701, 'created_at': datetime.datetime(2026, 1, 7, 22, 48, 57), 'result': '0.07176312823161257', 'result_long': None, 'result_double': None}] Qualite : 0.07176312823161257 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30032701 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032701_07-01-2026_22_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30032701 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032701_07-01-2026_22_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032744, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032747, 'pht': 3726}}" where mtr_portfolio_id = 30032701 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30032701 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143037, 0.07176312823161257, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032701_07-01-2026_22_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032744, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032747, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30033526 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323914, 'mtr_portfolio_id': 30033526, 'created_at': datetime.datetime(2026, 1, 7, 23, 4, 57), 'result': '0.0703166300631407', 'result_long': None, 'result_double': None}] Qualite : 0.0703166300631407 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30033526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30033526_07-01-2026_23_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30033526 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30033526_07-01-2026_23_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30033539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30033540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30033541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30033542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30033543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30033544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30033545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30033546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30033547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30033548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30033549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30033550, 'pht': 3726}}" where mtr_portfolio_id = 30033526 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30033526 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143038, 0.0703166300631407, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30033526_07-01-2026_23_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30033539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30033540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30033541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30033542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30033543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30033544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30033545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30033546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30033547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30033548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30033549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30033550, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30034210 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323980, 'mtr_portfolio_id': 30034210, 'created_at': datetime.datetime(2026, 1, 7, 23, 19), 'result': '0.06028908752326231', 'result_long': None, 'result_double': None}] Qualite : 0.06028908752326231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30034210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034210_07-01-2026_23_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30034210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034210_07-01-2026_23_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034230, 'pht': 3726}}" where mtr_portfolio_id = 30034210 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30034210 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143039, 0.06028908752326231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034210_07-01-2026_23_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034230, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30034820 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4324054, 'mtr_portfolio_id': 30034820, 'created_at': datetime.datetime(2026, 1, 7, 23, 33), 'result': '0.07723029760992839', 'result_long': None, 'result_double': None}] Qualite : 0.07723029760992839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30034820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034820_07-01-2026_23_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30034820 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034820_07-01-2026_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034840, 'pht': 3726}}" where mtr_portfolio_id = 30034820 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30034820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143040, 0.07723029760992839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034820_07-01-2026_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034840, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30035513 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4324133, 'mtr_portfolio_id': 30035513, 'created_at': datetime.datetime(2026, 1, 7, 23, 48, 58), 'result': '0.06639760608195727', 'result_long': None, 'result_double': None}] Qualite : 0.06639760608195727 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30035513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30035513_07-01-2026_23_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30035513 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30035513_07-01-2026_23_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30035514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30035515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30035516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30035517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30035518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30035519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30035520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30035521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30035522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30035523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30035524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30035525, 'pht': 3726}}" where mtr_portfolio_id = 30035513 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30035513 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143041, 0.06639760608195727, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30035513_07-01-2026_23_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30035514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30035515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30035516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30035517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30035518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30035519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30035520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30035521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30035522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30035523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30035524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30035525, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30036264 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4324203, 'mtr_portfolio_id': 30036264, 'created_at': datetime.datetime(2026, 1, 8, 0, 26), 'result': '0.08630913194117598', 'result_long': None, 'result_double': None}] Qualite : 0.08630913194117598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30036264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036264_08-01-2026_00_26_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30036264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036264_08-01-2026_00_26_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036295, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036301, 'pht': 3726}}" where mtr_portfolio_id = 30036264 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30036264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143042, 0.08630913194117598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036264_08-01-2026_00_26_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036295, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036301, '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 (29999365,29999670,30000240,30000381,30001385,30001625,30001993,30002683,30003176,30003654,30004058,30004504,30005091,30005616,30005785,30006433,30006862,30008133,30009247,30009593,30010197,30010468,30011725,30011864,30012493,30013967,30014128,30015597,30015792,30016267,30016904,30017547,30018015,30018710,30019466,30020121,30020366,30021157,30021437,30022124,30022669,30023270,30024335,30024849,30025289,30025482,30025984,30026491,30026977,30027607,30028025,30028596,30029122,30029994,30030148,30030467,30030938,30031483,30032199,30032701,30033526,30034210,30034820,30035513,30036264) result : ((1402725806,), (1402725885,), (1402725888,), (1402725954,), (1402725956,), (1402725957,), (1402725959,), (1402726002,), (1402726004,), (1402726006,), (1402726033,), (1402726034,), (1402726036,), (1402726038,), (1402726054,), (1402726055,), (1402726058,), (1402726060,), (1402726064,), (1402726067,), (1402726080,), (1402726081,), (1402726086,), (1402726091,), (1402726189,), (1402726205,), (1402726236,), (1402726249,), (1402726250,), (1402726251,), (1402726261,), (1402726451,), (1402726452,), (1402726482,), (1402726520,), (1402726557,), (1402726579,), (1402726590,), (1402726591,), (1402726592,), (1402726656,), (1402726658,), (1402726661,), (1402726663,), (1402726666,), (1402726670,), (1402726677,), (1402726679,), (1402726680,), (1402726682,), (1402726683,), (1402726684,), (1402726686,), (1402726688,), (1402726692,), (1402726695,), (1402726734,), (1402726726,), (1402726727,), (1402726728,), (1402726730,), (1402726746,), (1402726747,), (1402726748,), (1402726790,), (1402726791,), (1402726793,), (1402726794,), (1402726837,), (1402726838,), (1402726839,), (1402726841,), (1402726844,), (1402726927,), (1402726931,), (1402726933,), (1402726935,), (1402726948,), (1402726949,), (1402726950,), (1402727047,), (1402727048,), (1402727049,), (1402727052,), (1402727055,), (1402727058,), (1402727061,), (1402727062,), (1402727063,), (1402727084,), (1402727085,), (1402727087,), (1402727104,), (1402727105,), (1402727129,), (1402727140,), (1402727149,), (1402727152,), (1402727156,), (1402727227,), (1402727229,), (1402727363,), (1402727462,), (1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,), (1402727670,), (1402727671,), (1402727673,), (1402727674,), (1402727687,), (1402727688,), (1402727690,), (1402727693,), (1402727696,), (1402727712,), (1402727713,), (1402727716,), (1402728061,), (1402728094,), (1402728127,), (1402728140,), (1402728144,), (1402728287,), (1402728320,), (1402728338,), (1402728340,), (1402728363,), (1402728391,), (1402728392,), (1402728393,), (1402728394,), (1402728398,), (1402728412,), (1402728413,), (1402728415,), (1402728425,), (1402728426,), (1402728427,), (1402728428,), (1402728431,), (1402728433,), (1402728452,), (1402728453,), (1402728454,), (1402728456,), (1402728470,), (1402728473,), (1402728475,), (1402728478,), (1402728482,), (1402728484,), (1402728496,), (1402728497,), (1402728498,), (1402728506,), (1402728507,), (1402728508,), (1402728509,), (1402728523,), (1402728524,), (1402728525,), (1402728526,), (1402728529,), (1402728536,), (1402728539,), (1402728542,), (1402728546,), (1402728549,), (1402728557,), (1402732292,), (1402732293,), (1402732328,), (1402732356,), (1402732359,), (1402732365,), (1402732369,), (1402732374,), (1402732548,), (1402732549,), (1402732550,), (1402732552,), (1402732556,), (1402732572,), (1402732582,), (1402732593,), (1402732594,), (1402732596,), (1402732597,), (1402732627,), (1402732628,), (1402732629,), (1402732653,), (1402732682,), (1402732711,), (1402732712,), (1402732713,), (1402732716,), (1402732719,), (1402732722,), (1402732731,), (1402732732,), (1402732733,), (1402732734,), (1402732751,), (1402732752,), (1402732754,), (1402732765,), (1402732766,), (1402732770,), (1402732771,), (1402732774,), (1402732776,), (1402732803,), (1402732793,), (1402732795,), (1402732798,), (1402732800,), (1402732809,), (1402732811,), (1402732814,), (1402732839,), (1402732845,), (1402732847,), (1402732850,), (1402732853,), (1402732865,), (1402732866,), (1402732867,), (1402732868,), (1402732872,), (1402732900,), (1402732901,), (1402732903,), (1402732916,), (1402732917,), (1402732919,), (1402732920,), (1402732923,), (1402732925,), (1402732957,), (1402732958,), (1402732959,), (1402732960,), (1402732963,), (1402732966,), (1402732976,), (1402732978,), (1402732997,), (1402732999,), (1402733001,), (1402733002,), (1402733005,), (1402733008,), (1402733019,), (1402733021,), (1402733023,), (1402733036,), (1402733038,), (1402733040,), (1402733044,), (1402733046,), (1402733079,), (1402733081,), (1402733101,), (1402733105,), (1402733110,), (1402733118,), (1402733119,), (1402733122,), (1402733123,), (1402733125,), (1402733126,), (1402733129,), (1402733131,), (1402733177,), (1402733140,), (1402733141,), (1402733142,), (1402733143,), (1402733147,), (1402733499,), (1402733531,), (1402733569,), (1402733994,), (1402734111,), (1402734241,), (1402734359,), (1402734465,), (1402734573,), (1402734885,), (1402734967,), (1402735029,), (1402735095,), (1402735161,), (1402735242,), (1402735613,), (1402735648,), (1402735676,), (1402735677,), (1402735951,), (1402735987,), (1402736022,), (1402736023,), (1402736049,), (1402736290,), (1402736304,), (1402736314,), (1402736348,), (1402736363,), (1402736366,), (1402736615,), (1402736652,), (1402737048,), (1402737050,), (1402737055,), (1402737058,), (1402737280,), (1402737287,), (1402737289,), (1402737311,), (1402737354,), (1402737409,), (1402737410,), (1402737411,), (1402737412,), (1402737424,), (1402737425,), (1402737426,), (1402737428,), (1402737432,), (1402737458,), (1402737460,), (1402737462,), (1402737464,), (1402737467,), (1402737489,), (1402737496,), (1402737510,), (1402737511,), (1402737513,), (1402737514,), (1402737547,), (1402737539,), (1402737540,), (1402737542,), (1402737544,), (1402737569,), (1402737571,), (1402737572,), (1402737573,), (1402737577,), (1402737581,), (1402737602,), (1402737603,), (1402737624,), (1402737625,), (1402737626,), (1402737628,), (1402737665,), (1402737696,), (1402737697,), (1402737698,), (1402737713,), (1402737714,), (1402737716,), (1402737718,), (1402737721,), (1402737740,), (1402737758,), (1402737759,), (1402737760,), (1402737761,), (1402737785,), (1402737786,), (1402737797,), (1402737799,), (1402737802,), (1402737806,), (1402737811,), (1402737816,), (1402737827,), (1402737828,), (1402737829,), (1402737831,), (1402737835,), (1402737854,), (1402737855,), (1402737856,), (1402737857,), (1402737887,), (1402737890,), (1402737891,), (1402737893,), (1402737917,), (1402737905,), (1402737906,), (1402737907,), (1402737910,), (1402737914,), (1402737939,), (1402737946,), (1402737947,), (1402737949,), (1402737953,), (1402737956,), (1402737971,), (1402737972,), (1402737973,), (1402737975,), (1402737979,), (1402737982,), (1402737994,), (1402738013,), (1402738014,), (1402738015,), (1402738017,), (1402738021,), (1402738037,), (1402738044,), (1402738050,), (1402738052,), (1402738055,), (1402738067,), (1402738068,), (1402738070,), (1402738072,), (1402738075,), (1402738099,), (1402738105,), (1402738114,), (1402738116,), (1402738118,), (1402738121,), (1402738123,), (1402738125,), (1402738149,), (1402738150,), (1402738151,), (1402738153,), (1402738157,), (1402738159,), (1402738171,), (1402738172,), (1402738173,), (1402738175,), (1402738209,), (1402738211,), (1402738213,), (1402738224,), (1402738226,), (1402738227,), (1402738230,), (1402738245,), (1402738247,), (1402738249,), (1402738252,), (1402738256,), (1402738263,), (1402738266,), (1402738268,), (1402738271,), (1402738275,), (1402738277,), (1402738298,), (1402738295,), (1402738297,), (1402738308,), (1402738309,), (1402738310,), (1402738311,), (1402738315,), (1402738318,), (1402738328,), (1402738330,), (1402738332,), (1402738335,), (1402738350,), (1402738353,), (1402738357,), (1402738388,), (1402738389,), (1402738391,), (1402738393,), (1402738403,), (1402738405,), (1402738409,), (1402738414,), (1402738418,), (1402738423,), (1402738436,), (1402738437,), (1402738438,), (1402738439,), (1402738441,), (1402738444,), (1402738447,), (1402738451,), (1402738456,), (1402738470,), (1402738471,), (1402738497,), (1402738498,), (1402738499,), (1402738501,), (1402738505,), (1402738507,), (1402738520,), (1402738521,), (1402738523,), (1402738525,), (1402738528,), (1402738541,), (1402738542,), (1402738544,), (1402738555,), (1402738557,), (1402738558,), (1402738562,), (1402738565,), (1402738592,), (1402738593,), (1402738595,), (1402738597,), (1402738613,), (1402738617,), (1402738621,), (1402738625,), (1402738628,), (1402738630,), (1402738662,), (1402738648,), (1402738651,), (1402738654,), (1402738658,), (1402738672,), (1402738674,), (1402738677,), (1402738680,), (1402738683,), (1402738686,), (1402738705,), (1402738714,), (1402738715,), (1402738717,), (1402738749,), (1402738751,), (1402738752,), (1402738755,), (1402738766,), (1402738767,), (1402738768,), (1402738769,), (1402738772,), (1402738785,), (1402738786,), (1402738787,), (1402738788,), (1402738813,), (1402738814,), (1402738815,), (1402738816,), (1402738819,), (1402738850,), (1402738851,), (1402738852,), (1402738854,), (1402738857,), (1402738859,), (1402738873,), (1402738874,), (1402738876,), (1402738878,), (1402738890,), (1402738892,), (1402738893,), (1402738907,), (1402738909,), (1402738911,), (1402738913,), (1402738915,), (1402738938,), (1402738940,), (1402738943,), (1402738945,), (1402738948,), (1402738950,), (1402738960,), (1402738962,), (1402738986,), (1402738988,), (1402738990,), (1402738992,), (1402739017,), (1402739019,), (1402739021,), (1402739054,), (1402739051,), (1402739052,), (1402739053,), (1402739064,), (1402739065,), (1402739094,), (1402739095,), (1402739097,), (1402739099,), (1402739101,), (1402739134,), (1402739135,), (1402739136,), (1402739138,), (1402739142,), (1402739170,), (1402739171,), (1402739172,), (1402739174,), (1402739178,), (1402739195,), (1402739196,), (1402739198,), (1402739199,), (1402739203,), (1402739232,), (1402739233,), (1402739235,), (1402739237,), (1402739240,), (1402739255,), (1402739256,), (1402739257,), (1402739259,), (1402739284,), (1402739291,), (1402739292,), (1402739294,), (1402739312,), (1402739326,), (1402739327,), (1402739331,), (1402739334,), (1402739357,), (1402739358,), (1402739359,), (1402739361,), (1402739365,), (1402739368,), (1402739378,), (1402739379,), (1402739380,), (1402739381,), (1402739385,), (1402739389,), (1402739414,), (1402739417,), (1402739419,), (1402739430,), (1402739431,), (1402739432,), (1402739433,), (1402739460,), (1402739463,), (1402739465,), (1402739467,), (1402739501,), (1402739491,), (1402739493,), (1402739494,), (1402739497,), (1402739519,), (1402739523,), (1402739525,), (1402739526,), (1402739540,), (1402739541,), (1402739542,), (1402739544,), (1402739547,), (1402739566,), (1402739568,), (1402739570,), (1402739573,), (1402739576,), (1402739579,), (1402739586,), (1402739587,), (1402739589,), (1402739606,), (1402739607,), (1402739609,), (1402739610,), (1402739614,), (1402739643,), (1402739646,), (1402739648,), (1402739653,), (1402739657,), (1402739672,), (1402739673,), (1402739675,), (1402739685,), (1402739686,), (1402739687,), (1402739688,), (1402739690,), (1402739692,), (1402739719,), (1402739720,), (1402739722,), (1402739724,), (1402739727,), (1402739729,), (1402739748,), (1402739751,), (1402739752,), (1402739754,), (1402739757,), (1402739759,), (1402739788,), (1402739789,), (1402739790,), (1402739793,), (1402739796,), (1402739798,), (1402739808,), (1402739972,), (1402739971,), (1402739994,), (1402740019,), (1402740020,), (1402740040,), (1402740041,), (1402740042,), (1402740045,), (1402740048,), (1402740051,), (1402740056,), (1402740057,), (1402740058,), (1402740059,), (1402740060,), (1402740061,), (1402740064,), (1402740083,), (1402740084,), (1402740086,), (1402740087,), (1402740102,), (1402740103,), (1402740104,), (1402740105,), (1402740116,), (1402740117,), (1402740118,), (1402740119,), (1402740128,), (1402740130,), (1402740132,), (1402740136,), (1402740140,), (1402740157,), (1402740158,), (1402740159,), (1402740160,), (1402740163,), (1402740645,), (1402740648,), (1402740651,), (1402740674,), (1402740709,), (1402740763,), (1402741047,), (1402741093,), (1402741125,), (1402741664,), (1402741344,), (1402741414,), (1402741489,), (1402741595,), (1402742243,), (1402742305,), (1402742364,), (1402742432,), (1402742476,), (1402742511,), (1402742774,), (1402742786,), (1402742789,), (1402742793,), (1402743290,), (1402743324,), (1402743334,), (1402743335,), (1402743517,), (1402743546,), (1402743562,), (1402743608,), (1402743648,), (1402743682,), (1402743837,), (1402743849,), (1402743859,), (1402743862,), (1402743884,), (1402743886,), (1402743888,), (1402743891,), (1402743911,), (1402743913,), (1402743915,), (1402743918,), (1402743921,), (1402743939,), (1402743941,), (1402743943,), (1402743946,), (1402743983,), (1402743985,), (1402743987,), (1402743990,), (1402743994,), (1402743995,), (1402744015,), (1402744017,), (1402744020,), (1402744024,), (1402744027,), (1402744049,), (1402744051,), (1402744053,), (1402744062,), (1402744090,), (1402744092,), (1402744095,), (1402744097,), (1402744098,), (1402744100,), (1402744129,), (1402744131,), (1402744133,), (1402744136,), (1402744139,), (1402744140,), (1402744153,), (1402744155,), (1402744205,), (1402744246,), (1402744196,), (1402744202,), (1402744241,), (1402744242,), (1402744243,), (1402744285,), (1402744287,), (1402744289,), (1402744319,), (1402744321,), (1402744324,), (1402744326,), (1402744356,), (1402744358,), (1402744360,), (1402744363,), (1402744379,), (1402744381,), (1402744383,), (1402744417,), (1402744418,), (1402744419,), (1402744421,), (1402744424,), (1402744427,), (1402744438,), (1402744439,), (1402744442,), (1402744445,), (1402744448,), (1402744452,), (1402744476,), (1402744484,), (1402744486,), (1402744488,), (1402744489,), (1402744491,), (1402744498,), (1402744501,), (1402744504,), (1402744511,), (1402744519,), (1402744528,), (1402744529,), (1402744531,), (1402744532,), (1402744565,), (1402744566,), (1402744567,), (1402744569,), (1402744573,), (1402744574,), (1402744590,), (1402744591,), (1402744592,), (1402744595,), (1402744598,), (1402744601,), (1402744626,), (1402744637,), (1402744665,), (1402744666,), (1402744667,), (1402744668,), (1402744671,), (1402744674,), (1402744707,), (1402744712,), (1402744713,), (1402744714,), (1402744718,), (1402744722,), (1402744748,), (1402744744,), (1402744746,), (1402744768,), (1402744770,), (1402744772,), (1402744774,), (1402744834,), (1402744841,), (1402744845,), (1402744849,), (1402744853,), (1402744873,), (1402744876,), (1402744879,), (1402744882,), (1402744885,), (1402744898,), (1402744900,), (1402744903,), (1402744944,), (1402744951,), (1402744954,), (1402744956,), (1402744988,), (1402744990,), (1402744993,), (1402744998,), (1402745002,), (1402745006,), (1402745044,), (1402745045,), (1402745047,), (1402745049,), (1402745064,), (1402745066,), (1402745068,), (1402745070,), (1402745073,), (1402745076,), (1402745115,), (1402745116,), (1402745118,), (1402745119,), (1402745122,), (1402745125,), (1402748303,), (1402752157,), (1402752172,), (1402752247,), (1402752265,), (1402752281,), (1402752282,), (1402752341,), (1402752344,), (1402752598,), (1402752765,), (1402755283,), (1402755370,), (1402755381,), (1402755577,), (1402755740,), (1402755795,), (1402755829,), (1402755864,), (1402755865,), (1402755896,), (1402755958,), (1402755959,), (1402755975,), (1402755976,), (1402755988,), (1402755989,), (1402756583,), (1402756958,), (1402761251,), (1402761379,), (1402761380,), (1402761552,), (1402761553,), (1402761554,), (1402761580,), (1402761581,), (1402761594,), (1402761608,), (1402761680,), (1402761679,), (1402761723,), (1402761814,), (1402761817,), (1402762297,), (1402762344,), (1402762414,), (1402762516,), (1402762767,), (1402762980,), (1402769082,), (1402769245,), (1402769309,), (1402769310,), (1402769391,), (1402769654,), (1402769762,), (1402769992,), (1402770192,), (1402770211,), (1402770212,), (1402770213,), (1402770222,), (1402770223,), (1402770247,), (1402770607,), (1402770643,), (1402770644,), (1402770651,), (1402770676,), (1402770750,), (1402770751,), (1402771332,), (1402773716,), (1402774740,), (1402774765,), (1402774842,), (1402775125,), (1402775451,), (1402775452,), (1402775465,), (1402775555,), (1402775556,), (1402775585,), (1402775681,), (1402780931,), (1402781103,), (1402781114,), (1402781120,), (1402781367,), (1402781540,), (1402781541,), (1402781697,), (1402781888,), (1402781889,), (1402782119,), (1402782141,), (1402782144,), (1402782167,), (1402782169,), (1402782174,), (1402782490,), (1402782626,), (1402783562,), (1402787988,), (1402788140,), (1402788204,), (1402788205,), (1402788207,), (1402788209,), (1402788212,), (1402788240,), (1402788257,), (1402788263,), (1402788267,), (1402788270,), (1402788303,), (1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,), (1402789629,), (1402789662,), (1402789699,), (1402789736,), (1402790068,), (1402790122,), (1402790209,), (1402790247,), (1402790298,), (1402790568,), (1402790570,), (1402790590,), (1402790786,), (1402790788,), (1402790791,), (1402790794,), (1402790798,), (1402791154,), (1402791172,), (1402791192,), (1402791216,), (1402791218,), (1402791221,), (1402791256,), (1402791258,), (1402791316,), (1402791358,), (1402791361,), (1402791364,), (1402791588,), (1402791593,), (1402791703,), (1402791712,), (1402791713,), (1402791719,), (1402791725,), (1402791732,), (1402791870,), (1402791884,), (1402791904,), (1402791906,), (1402791927,), (1402791951,), (1402791954,), (1402791986,), (1402791988,), (1402792010,), (1402792074,), (1402792077,), (1402792080,), (1402792082,), (1402792104,), (1402792132,), (1402792134,), (1402792137,), (1402792156,), (1402792157,), (1402792158,), (1402792191,), (1402792195,), (1402792196,), (1402792199,), (1402792201,), (1402792202,), (1402792216,), (1402792218,), (1402792237,), (1402792271,), (1402792305,), (1402792430,), (1402792503,), (1402792511,), (1402792518,), (1402792530,), (1402792534,), (1402792549,), (1402792551,), (1402792553,), (1402792557,), (1402792562,), (1402792590,), (1402792592,), (1402792595,), (1402792615,), (1402792617,), (1402792619,), (1402792623,), (1402792665,), (1402792667,), (1402792669,), (1402792671,), (1402792675,), (1402792678,), (1402792686,), (1402792695,), (1402792698,), (1402792714,), (1402792724,), (1402792776,), (1402792809,), (1402792845,), (1402792982,), (1402793200,), (1402793198,), (1402793218,), (1402793219,), (1402793240,), (1402793251,), (1402793255,), (1402793256,), (1402793277,), (1402793279,), (1402793281,), (1402793284,), (1402793288,), (1402793290,), (1402793318,), (1402793320,), (1402793323,), (1402793326,), (1402793331,), (1402793360,), (1402793362,), (1402793390,), (1402793430,), (1402793466,), (1402793499,), (1402793501,), (1402793505,), (1402793509,), (1402793554,), (1402793556,), (1402793560,), (1402793563,), (1402793567,), (1402793596,), (1402793611,), (1402793616,), (1402793619,), (1402793623,), (1402793643,), (1402793644,), (1402793647,), (1402793650,), (1402793693,), (1402793696,), (1402793716,), (1402793720,), (1402793725,), (1402793729,), (1402793744,), (1402793746,), (1402793750,), (1402793753,), (1402793798,), (1402793800,), (1402793802,), (1402793953,), (1402793957,), (1402793960,), (1402793965,), (1402793968,), (1402794031,), (1402794023,), (1402794027,), (1402794440,), (1402794672,), (1402794752,), (1402794829,), (1402794897,), (1402795016,), (1402795479,), (1402795549,), (1402799051,), (1402799083,), (1402799137,), (1402799516,), (1402799618,), (1402799651,), (1402799666,), (1402799669,), (1402799829,), (1402799830,), (1402799833,), (1402799835,), (1402800050,), (1402800081,), (1402800112,), (1402800149,), (1402800444,), (1402800451,), (1402800466,), (1402800496,), (1402800529,), (1402800714,), (1402800716,), (1402800743,), (1402801139,), (1402801034,), (1402801069,), (1402801103,), (1402801623,), (1402801658,), (1402801690,), (1402801694,), (1402801698,), (1402801833,), (1402802015,), (1402802018,), (1402802023,), (1402802173,), (1402802270,), (1402802361,), (1402802471,), (1402803329,), (1402803331,), (1402803348,), (1402803353,), (1402803356,), (1402803658,), (1402803660,), (1402803740,), (1402803762,), (1402803796,), (1402804071,), (1402804077,), (1402804086,), (1402804116,), (1402804118,), (1402804120,), (1402804228,), (1402804246,), (1402804265,), (1402804271,), (1402804292,), (1402804307,), (1402804309,), (1402804311,), (1402804314,), (1402804318,), (1402804321,), (1402804347,), (1402804349,), (1402804352,), (1402804447,), (1402804483,), (1402804493,), (1402804517,), (1402804537,), (1402804578,), (1402804580,), (1402804583,), (1402804586,), (1402804590,), (1402804636,), (1402804879,), (1402804629,), (1402804631,), (1402804633,), (1402804776,), (1402804778,), (1402804796,), (1402804829,), (1402804832,), (1402804855,), (1402804877,), (1402804878,), (1402804883,), (1402804884,), (1402804886,), (1402804889,), (1402804892,), (1402805408,), (1402806658,), (1402806708,), (1402806516,), (1402806679,), (1402806680,), (1402806692,), (1402806698,), (1402806773,), (1402806823,), (1402806826,), (1402806828,), (1402806832,), (1402806838,), (1402806845,), (1402806847,), (1402806850,), (1402806864,), (1402806867,), (1402806870,), (1402806873,), (1402806876,), (1402806929,), (1402806964,), (1402806965,), (1402806967,), (1402806970,), (1402806974,), (1402806977,), (1402806995,), (1402807007,), (1402807017,), (1402807021,), (1402807034,), (1402807060,), (1402807052,), (1402807054,), (1402807057,), (1402807084,), (1402807085,), (1402807108,), (1402807145,), (1402807507,), (1402807539,), (1402807587,), (1402807655,), (1402807721,), (1402807792,), (1402808398,), (1402808400,), (1402808984,), (1402809062,), (1402809077,), (1402809096,), (1402809099,), (1402809101,), (1402809119,), (1402809120,), (1402809123,), (1402809141,), (1402809597,), (1402809629,), (1402809670,), (1402809924,), (1402809955,), (1402809994,), (1402810234,), (1402810238,), (1402810243,), (1402810254,), (1402810316,), (1402810318,), (1402810332,), (1402810355,), (1402810392,), (1402810394,), (1402810397,), (1402810399,), (1402810405,), (1402810798,), (1402812106,), (1402812096,), (1402812102,), (1402812150,), (1402812152,), (1402812154,), (1402812198,), (1402812231,), (1402812233,), (1402812235,), (1402812237,), (1402812241,), (1402812306,), (1402812313,), (1402812319,), (1402812322,), (1402812325,), (1402812328,), (1402812445,), (1402812451,), (1402812623,), (1402812628,), (1402812631,), (1402812633,), (1402812636,), (1402812711,), (1402812656,), (1402812657,), (1402812687,), (1402812704,), (1402812707,), (1402812823,), (1402812858,), (1402812860,), (1402812923,), (1402812924,), (1402812927,), (1402812930,), (1402812953,), (1402812955,), (1402812958,), (1402812961,), (1402812964,), (1402812984,), (1402812986,), (1402813008,), (1402813046,), (1402813079,), (1402813086,), (1402813104,), (1402813162,), (1402813165,), (1402813167,), (1402813169,), (1402813172,), (1402813174,), (1402813267,), (1402813282,), (1402813289,), (1402813305,), (1402813316,), (1402813335,), (1402813342,), (1402813344,), (1402813346,), (1402813348,), (1402813383,), (1402813389,), (1402813391,), (1402813394,), (1402813398,), (1402813400,), (1402813409,), (1402813410,), (1402813413,), (1402813416,), (1402813547,), (1402813582,), (1402813620,), (1402813926,), (1402813959,), (1402814171,), (1402814183,), (1402814199,), (1402814205,), (1402814238,), (1402814250,), (1402814253,), (1402814255,), (1402814301,), (1402814290,), (1402814292,), (1402814294,), (1402814297,), (1402814310,), (1402814312,), (1402814486,), (1402814488,), (1402814491,), (1402814511,), (1402814513,), (1402814515,), (1402814518,), (1402814544,), (1402814546,), (1402814548,), (1402814551,), (1402814555,), (1402814573,), (1402814575,), (1402814577,), (1402814608,), (1402814825,), (1402814829,), (1402814967,), (1402814969,), (1402815020,), (1402815022,), (1402815631,), (1402815692,), (1402815755,), (1402815808,), (1402815960,), (1402815961,), (1402815996,), (1402816001,), (1402816031,), (1402816036,), (1402816227,), (1402816610,), (1402816184,), (1402816192,), (1402816196,), (1402816200,), (1402816480,), (1402816512,), (1402816529,), (1402816532,), (1402816548,), (1402816581,), (1402816608,), (1402816609,), (1402816615,), (1402816617,), (1402816619,), (1402816637,), (1402816639,), (1402816644,), (1402816646,), (1402816650,), (1402816652,), (1402816659,), (1402816667,), (1402816671,), (1402816673,), (1402816687,), (1402816717,), (1402816719,), (1402816721,), (1402816724,), (1402816728,), (1402816731,), (1402816741,), (1402816743,), (1402816745,), (1402816748,), (1402816862,), (1402816863,), (1402816865,), (1402816868,), (1402816871,), (1402816873,), (1402816876,), (1402816878,), (1402816880,), (1402816883,), (1402816894,), (1402816896,), (1402816904,), (1402816972,), (1402816974,), (1402816976,), (1402816979,), (1402816983,), (1402816986,), (1402817177,), (1402817178,), (1402817181,), (1402817184,), (1402817247,), (1402817265,), (1402817270,), (1402817273,), (1402817277,), (1402817341,), (1402817585,), (1402817581,), (1402817583,), (1402817612,), (1402817613,), (1402817615,), (1402817618,), (1402817653,), (1402817809,), (1402817982,), (1402817984,), (1402817986,), (1402817989,), (1402817992,), (1402818006,), (1402818007,), (1402818009,), (1402818010,), (1402818138,), (1402818139,), (1402818210,), (1402818242,), (1402818275,), (1402818311,), (1402818385,), (1402818386,), (1402818388,), (1402818390,), (1402818420,), (1402818423,), (1402818424,), (1402818425,), (1402818443,), (1402818534,), (1402818562,), (1402818570,), (1402818579,), (1402818588,), (1402818689,), (1402818692,), (1402818695,), (1402818699,), (1402818703,), (1402818718,), (1402818724,), (1402818727,), (1402818730,), (1402818732,), (1402818734,), (1402818738,), (1402818740,), (1402818741,), (1402818761,), (1402818763,), (1402818776,), (1402818787,), (1402818903,), (1402822476,), (1402822391,), (1402823113,), (1402823114,), (1402823115,), (1402823583,), (1402823607,), (1402823608,), (1402823609,), (1402823612,), (1402824451,), (1402824577,), (1402824580,), (1402824660,), (1402824661,), (1402824662,), (1402824683,), (1402824684,), (1402824685,), (1402824686,), (1402824688,), (1402824705,), (1402824706,), (1402824707,), (1402824708,), (1402824711,), (1402824716,), (1402824717,), (1402824718,), (1402824719,), (1402824720,), (1402824721,), (1402824751,), (1402824752,), (1402824753,), (1402824754,), (1402824765,), (1402824766,), (1402824767,), (1402824769,), (1402824772,), (1402824785,), (1402824786,), (1402824787,), (1402824790,), (1402824793,), (1402824795,), (1402824805,), (1402824807,), (1402824809,), (1402824811,), (1402824812,), (1402824815,), (1402824818,), (1402824844,), (1402824845,), (1402824847,), (1402824848,), (1402824852,), (1402824862,), (1402824863,), (1402824864,), (1402824905,), (1402824893,), (1402824894,), (1402824895,), (1402824898,), (1402824901,), (1402824912,), (1402824913,), (1402824915,), (1402824917,), (1402824920,), (1402824940,), (1402824941,), (1402824943,), (1402824946,), (1402824948,), (1402824960,), (1402824961,), (1402825054,), (1402825098,), (1402825496,), (1402825494,), (1402825532,), (1402825533,), (1402825534,), (1402825724,), (1402825725,), (1402825908,), (1402825909,), (1402825911,), (1402825912,), (1402826129,), (1402826079,), (1402826113,), (1402826125,), (1402826126,), (1402826137,), (1402826138,), (1402826139,), (1402826140,), (1402826143,), (1402826159,), (1402826160,), (1402826405,), (1402826438,), (1402826490,), (1402826491,), (1402826492,), (1402826500,), (1402826501,), (1402826503,), (1402826504,), (1402826532,), (1402826556,), (1402826557,), (1402826558,), (1402826578,), (1402826579,), (1402826597,), (1402826598,), (1402826611,), (1402826612,), (1402826613,), (1402826676,), (1402826687,), (1402826688,), (1402826707,), (1402826709,), (1402826737,), (1402826739,), (1402826741,), (1402826743,), (1402826746,), (1402826748,), (1402826755,), (1402826760,), (1402826764,), (1402826767,), (1402826795,), (1402827240,), (1402826790,), (1402826793,), (1402826920,), (1402826956,), (1402827007,), (1402827043,), (1402827081,), (1402827113,), (1402827446,), (1402827479,), (1402827512,), (1402827544,), (1402827859,), (1402827860,), (1402827862,), (1402828360,), (1402828477,), (1402828587,), (1402828699,), (1402828802,), (1402829138,), (1402829168,), (1402829201,), (1402829208,), (1402829211,), (1402829212,), (1402829225,), (1402829226,), (1402829227,), (1402829229,), (1402829232,), (1402829242,), (1402829243,), (1402829244,), (1402829246,), (1402829257,), (1402829258,), (1402829259,), (1402829261,), (1402829265,), (1402829268,), (1402829296,), (1402829297,), (1402829299,), (1402829300,), (1402829304,), (1402829311,), (1402829349,), (1402829354,), (1402829388,), (1402829389,), (1402829390,), (1402829392,), (1402829396,), (1402829398,), (1402829421,), (1402829428,), (1402829433,), (1402829434,), (1402829438,), (1402829441,), (1402829447,), (1402829448,), (1402829449,), (1402829522,), (1402829521,), (1402829534,), (1402829535,), (1402829537,), (1402829539,), (1402829542,), (1402829545,), (1402829568,), (1402829575,), (1402829584,), (1402829586,), (1402829627,), (1402829628,), (1402829630,), (1402829632,), (1402829635,), (1402829637,), (1402829683,), (1402829685,), (1402829696,), (1402829704,), (1402829723,), (1402829724,), (1402829725,), (1402829793,), (1402829794,), (1402829795,), (1402829797,), (1402829801,), (1402829808,), (1402829809,), (1402829810,), (1402829812,), (1402829816,), (1402829817,), (1402829847,), (1402829852,), (1402829898,), (1402829901,), (1402829903,), (1402829917,), (1402829921,), (1402829924,), (1402829945,), (1402829946,), (1402829947,), (1402829949,), (1402830019,), (1402830052,), (1402830083,), (1402830090,), (1402830095,), (1402830176,), (1402830177,), (1402830179,), (1402830180,), (1402830193,), (1402830194,), (1402830195,), (1402830197,), (1402830200,), (1402830226,), (1402830234,), (1402830245,), (1402830246,), (1402830249,), (1402830268,), (1402830261,), (1402830317,), (1402830323,), (1402830328,), (1402830330,), (1402830354,), (1402830355,), (1402830356,), (1402830382,), (1402830383,), (1402830384,), (1402830387,), (1402830399,), (1402830400,), (1402830402,), (1402830415,), (1402830416,), (1402830417,), (1402830434,), (1402830435,), (1402830437,), (1402830439,), (1402830441,), (1402830463,), (1402830464,), (1402830465,), (1402830467,), (1402830471,), (1402830479,), (1402830480,), (1402830481,), (1402830482,), (1402830485,), (1402830494,), (1402830496,), (1402830497,), (1402830502,), (1402830505,), (1402830537,), (1402830538,), (1402830540,), (1402830541,), (1402830543,), (1402830544,), (1402830562,), (1402830563,), (1402830576,), (1402830590,), (1402830591,), (1402830656,), (1402830655,), (1402830737,), (1402830762,), (1402830763,), (1402830764,), (1402830765,), (1402830773,), (1402830775,), (1402830777,), (1402830780,), (1402830784,), (1402830786,), (1402830817,), (1402830818,), (1402830819,), (1402830829,), (1402830830,), (1402830832,), (1402830833,), (1402830836,), (1402830895,), (1402830898,), (1402830910,), (1402830913,), (1402830917,), (1402830928,), (1402830952,), (1402830954,), (1402830956,), (1402830958,), (1402830960,), (1402830962,), (1402830976,), (1402830977,), (1402830979,), (1402831003,), (1402831007,), (1402831012,), (1402831022,), (1402831054,), (1402831056,), (1402831057,), (1402831059,), (1402831062,), (1402831064,), (1402831255,), (1402831293,), (1402831330,), (1402831369,), (1402831405,), (1402831442,), (1402831655,), (1402831743,), (1402831819,), (1402832283,), (1402832093,), (1402832138,), (1402832175,), (1402832211,), (1402832246,), (1402832541,), (1402832609,), (1402832670,), (1402832720,), (1402832979,), (1402832980,), (1402832982,), (1402832983,), (1402832985,), (1402833601,), (1402833835,), (1402833871,), (1402833946,), (1402833998,), (1402834033,), (1402834465,), (1402834497,), (1402834531,), (1402834546,), (1402834549,), (1402834555,), (1402834658,), (1402834659,), (1402834660,), (1402834684,), (1402834686,), (1402834708,), (1402834709,), (1402834710,), (1402834711,), (1402834714,), (1402834716,), (1402834744,), (1402834748,), (1402834749,), (1402834751,), (1402834755,), (1402834757,), (1402834764,), (1402834765,), (1402834766,), (1402834802,), (1402834804,), (1402834805,), (1402834807,), (1402834825,), (1402834828,), (1402834830,), (1402834832,), (1402834835,), (1402834849,), (1402834850,), (1402834851,), (1402834853,), (1402834879,), (1402834880,), (1402834883,), (1402834885,), (1402835092,), (1402835090,), (1402835091,), (1402835498,), (1402835529,), (1402835563,), (1402835593,), (1402835607,), (1402835608,), (1402835609,), (1402835634,), (1402835667,), (1402835672,), (1402835744,), (1402835746,), (1402835748,), (1402835757,), (1402835758,), (1402835760,), (1402835762,), (1402835765,), (1402835769,), (1402835782,), (1402835783,), (1402835784,), (1402835786,), (1402835805,), (1402835806,), (1402835808,), (1402835810,), (1402835836,), (1402835837,), (1402835838,), (1402835840,), (1402835844,), (1402835845,), (1402835852,), (1402835853,), (1402835855,), (1402835856,), (1402835859,), (1402835860,), (1402835886,), (1402835887,), (1402835888,), (1402835890,), (1402835893,), (1402835897,), (1402835898,), (1402835899,), (1402835900,), (1402835903,), (1402835905,), (1402835920,), (1402835923,), (1402835925,), (1402835928,), (1402835932,), (1402835935,), (1402835967,), (1402835960,), (1402835962,), (1402835964,), (1402835989,), (1402835992,), (1402835995,), (1402835997,), (1402836000,), (1402836002,), (1402836007,), (1402836009,), (1402836011,), (1402836251,), (1402836283,), (1402836301,), (1402836304,), (1402836307,), (1402836308,), (1402836322,), (1402836323,), (1402836324,), (1402836351,), (1402836352,), (1402836353,), (1402836355,), (1402836359,), (1402836362,), (1402836369,), (1402836370,), (1402836372,), (1402836374,), (1402836377,), (1402836391,), (1402836392,), (1402836394,), (1402836395,), (1402836430,), (1402836432,), (1402836444,), (1402836462,), (1402836466,), (1402836487,), (1402836492,), (1402836493,), (1402836494,), (1402836497,), (1402840310,), (1402840309,), (1402840334,), (1402840346,), (1402840347,), (1402840355,), (1402840356,), (1402840370,), (1402840371,), (1402840372,), (1402840373,), (1402840424,), (1402840434,), (1402840435,), (1402840438,), (1402840440,), (1402840459,), (1402840460,), (1402840462,), (1402840477,), (1402840478,), (1402840480,), (1402840482,), (1402840485,), (1402840488,), (1402840498,), (1402840499,), (1402840500,), (1402840502,), (1402840506,), (1402840508,), (1402840515,), (1402840517,), (1402840520,), (1402840558,), (1402840564,), (1402840567,), (1402840571,), (1402840582,), (1402840585,), (1402840588,), (1402840591,), (1402840609,), (1402840610,), (1402840611,), (1402840613,), (1402840625,), (1402840626,), (1402840627,), (1402840643,), (1402840644,), (1402840645,), (1402840655,), (1402840683,), (1402840684,), (1402840685,), (1402840686,), (1402840699,), (1402840700,), (1402840701,), (1402840702,), (1402840705,), (1402840727,), (1402840728,), (1402840730,), (1402840731,), (1402840734,), (1402840750,), (1402841089,), (1402840745,), (1402840746,), (1402840747,), (1402840748,), (1402840770,), (1402840772,), (1402840845,), (1402840938,), (1402841028,), (1402841077,), (1402841085,), (1402841086,), (1402841087,), (1402841088,), (1402841091,), (1402841093,), (1402841095,), (1402841097,), (1402841101,), (1402841116,), (1402841156,), (1402841157,), (1402841158,), (1402841160,), (1402841163,), (1402841168,), (1402841169,), (1402841170,), (1402841172,), (1402841175,), (1402841177,), (1402841204,), (1402841205,), (1402841206,), (1402841211,), (1402841272,), (1402841274,), (1402841275,), (1402841277,), (1402841280,), (1402841301,), (1402841303,), (1402841306,), (1402841308,), (1402841311,), (1402841314,), (1402841463,), (1402841464,), (1402841467,), (1402841493,), (1402841495,), (1402841497,), (1402841499,), (1402841501,), (1402841518,), (1402841521,), (1402841524,), (1402841540,), (1402841552,), (1402841556,), (1402841595,), (1402841632,), (1402841664,), (1402841717,), (1402841718,), (1402841719,), (1402841720,), (1402841724,), (1402841728,), (1402841752,), (1402841744,), (1402841745,), (1402841747,), (1402841749,), (1402841763,), (1402841765,), (1402841767,), (1402841770,), (1402841788,), (1402841797,), (1402841803,), (1402841806,), (1402841810,), (1402841811,), (1402841822,), (1402841823,), (1402841825,), (1402841826,), (1402841830,), (1402841832,), (1402841842,), (1402841843,), (1402841844,), (1402841846,), (1402841850,), (1402841858,), (1402841859,), (1402841894,), (1402841895,), (1402841896,), (1402841908,), (1402841909,), (1402841910,), (1402841957,), (1402841958,), (1402841959,), (1402841987,), (1402842021,), (1402842045,), (1402842046,), (1402842047,), (1402842049,), (1402842077,), (1402842078,), (1402842080,), (1402842081,), (1402842084,), (1402842103,), (1402842107,), (1402842111,), (1402842115,), (1402842122,), (1402842123,), (1402842124,), (1402842131,), (1402842134,), (1402842145,), (1402842137,), (1402842139,), (1402842142,), (1402842385,), (1402842425,), (1402842471,), (1402842526,), (1402842565,), (1402842603,), (1402842883,), (1402842884,), (1402842886,), (1402842888,), (1402842891,), (1402843095,), (1402843105,), (1402843107,), (1402843122,), (1402843161,), (1402843289,), (1402843290,), (1402843292,), (1402843296,), (1402843299,), (1402843308,), (1402843311,), (1402843312,), (1402843314,), (1402843316,), (1402843324,), (1402843459,), (1402843460,), (1402843461,), (1402843734,), (1402843764,), (1402843796,), (1402843829,), (1402843862,), (1402844837,), (1402844946,), (1402845052,), (1402845166,), (1402845266,), (1402845295,), (1402845725,), (1402845800,), (1402845942,), (1402846582,), (1402846607,), (1402846661,), (1402846696,), (1402846718,), (1402846723,), (1402846800,), (1402846801,), (1402846803,), (1402846804,), (1402846807,), (1402846809,), (1402846993,), (1402846994,), (1402846996,), (1402847036,), (1402847676,), (1402847714,), (1402847752,), (1402847786,), (1402847820,), (1402847855,), (1402848631,), (1402848719,), (1402848771,), (1402849427,), (1402849394,), (1402849915,), (1402849916,), (1402850106,), (1402850107,), (1402850109,), (1402850111,), (1402850302,), (1402850381,), (1402850450,), (1402850497,), (1402850558,), (1402850598,), (1402850905,), (1402850940,), (1402850975,), (1402851011,), (1402851053,), (1402851122,), (1402851475,), (1402851515,), (1402851554,), (1402851795,), (1402851796,), (1402851797,), (1402851799,), (1402851803,), (1402851805,), (1402852268,), (1402852358,), (1402852455,), (1402852555,), (1402852993,), (1402853102,), (1402853257,), (1402853457,), (1402853921,), (1402853978,), (1402853981,), (1402853982,), (1402854051,), (1402854103,), (1402854111,), (1402854115,), (1402854116,), (1402854167,), (1402854168,), (1402854169,), (1402854170,), (1402854173,), (1402854175,), (1402854212,), (1402854213,), (1402854214,), (1402854216,), (1402854220,), (1402854221,), (1402855402,), (1402856224,), (1402856157,), (1402856192,), (1402856795,), (1402856857,), (1402856919,), (1402856962,), (1402857642,), (1402857665,), (1402857682,), (1402857782,), (1402857891,), (1402858004,), (1402858243,), (1402858268,), (1402858277,), (1402858406,), (1402858407,), (1402858408,), (1402858510,), (1402858513,), (1402858515,), (1402858516,), (1402858520,), (1402858522,), (1402858555,), (1402858556,), (1402858558,), (1402858559,), (1402858563,), (1402858572,), (1402858573,), (1402858575,), (1402858577,), (1402858585,), (1402858600,), (1402858601,), (1402858603,), (1402858605,), (1402858890,), (1402858915,), (1402858927,), (1402858944,), (1402858949,), (1402859218,), (1402859305,), (1402859388,), (1402859497,), (1402859594,), (1402859810,), (1402859832,), (1402859968,), (1402859969,), (1402859970,), (1402859972,), (1402859975,), (1402859978,), (1402859991,), (1402859992,), (1402859993,), (1402859995,), (1402859997,), (1402860006,), (1402860266,), (1402860392,), (1402860509,), (1402860636,), (1402860868,), (1402860903,), (1402860936,), (1402860972,), (1402861007,), (1402861486,), (1402861511,), (1402861515,), (1402861812,), (1402861742,), (1402861743,), (1402861772,), (1402861795,), (1402861818,), (1402861819,), (1402861821,), (1402861822,), (1402861826,), (1402861873,), (1402861876,), (1402861877,), (1402861879,), (1402861883,), (1402861893,), (1402861894,), (1402861922,), (1402861953,), (1402862510,), (1402862619,), (1402862737,), (1402863469,), (1402864010,), (1402864011,), (1402864013,), (1402864027,), (1402864129,), (1402864457,), (1402864458,), (1402864459,), (1402864462,), (1402864465,), (1402864467,), (1402864471,), (1402864472,), (1402864477,), (1402864478,), (1402864479,), (1402864480,), (1402864483,), (1402864486,), (1402864488,), (1402864590,), (1402864621,), (1402864653,), (1402864684,), (1402864724,), (1402864760,), (1402865084,), (1402865116,), (1402865151,), (1402865180,), (1402865344,), (1402865358,), (1402865365,), (1402865366,), (1402865795,), (1402865800,), (1402865802,), (1402865805,), (1402866249,), (1402866286,), (1402866315,), (1402866326,), (1402866335,), (1402866336,), (1402866350,), (1402866352,), (1402866354,), (1402866356,), (1402867039,), (1402867546,), (1402866872,), (1402866913,), (1402866972,), (1402867445,), (1402867446,), (1402867447,), (1402867450,), (1402867452,), (1402867454,), (1402867483,), (1402867515,), (1402868057,), (1402868179,), (1402868603,), (1402868604,), (1402868620,), (1402868708,), (1402868752,), (1402868976,), (1402868977,), (1402868993,), (1402868995,), (1402868998,), (1402869000,), (1402869002,), (1402869008,), (1402869009,), (1402869011,), (1402869013,), (1402869016,), (1402869019,), (1402869553,), (1402869560,), (1402869561,), (1402870153,), (1402870186,), (1402870219,), (1402870255,), (1402870289,), (1402870483,), (1402870516,), (1402870523,), (1402870538,), (1402870558,), (1402870594,), (1402870600,), (1402870602,), (1402870625,), (1402870626,), (1402870627,), (1402870630,), (1402870639,), (1402870740,), (1402871150,), (1402871269,), (1402871431,), (1402871463,), (1402871503,), (1402871616,), (1402871660,), (1402872097,), (1402872098,), (1402872100,), (1402872685,), (1402872394,), (1402872550,), (1402872586,), (1402872623,), (1402873033,), (1402873034,), (1402873035,), (1402873037,), (1402873045,), (1402873268,), (1402873273,), (1402873307,), (1402873323,), (1402873344,), (1402873362,), (1402873363,), (1402873365,), (1402873416,), (1402874191,), (1402874224,), (1402874255,), (1402874288,), (1402874399,), (1402874520,), (1402874962,), (1402875038,), (1402875070,), (1402875110,), (1402875148,), (1402875153,), (1402875258,), (1402875288,), (1402875317,), (1402875350,), (1402875384,), (1402875398,), (1402875555,), (1402875643,), (1402875847,), (1402875933,), (1402875956,), (1402875960,), (1402875963,), (1402876080,), (1402876087,), (1402876088,), (1402876090,), (1402876093,), (1402876100,), (1402876102,), (1402876109,), (1402876113,), (1402876118,), (1402876428,), (1402876519,), (1402876599,), (1402876869,), (1402877074,), (1402877738,), (1402877739,), (1402877741,), (1402877742,), (1402877983,), (1402877984,), (1402877986,), (1402877992,), (1402877994,), (1402878020,), (1402878017,), (1402878019,), (1402878034,), (1402878036,), (1402878038,), (1402878046,), (1402878050,), (1402878058,), (1402878060,), (1402878062,), (1402878065,), (1402878068,), (1402878092,), (1402878222,), (1402878259,), (1402878290,), (1402878417,), (1402878450,), (1402878498,), (1402878646,), (1402879300,), (1402879377,), (1402879479,), (1402879506,), (1402879511,), (1402879514,), (1402879772,), (1402879773,), (1402879774,), (1402879776,), (1402879780,), (1402879800,), (1402879801,), (1402879803,), (1402879839,), (1402879840,), (1402879842,), (1402879846,), (1402879847,), (1402879855,), (1402879856,), (1402879857,), (1402879858,), (1402879881,), (1402879883,), (1402879884,), (1402879886,), (1402879889,), (1402879891,), (1402880092,), (1402880180,), (1402880266,), (1402880745,), (1402880748,), (1402880801,), (1402880926,), (1402880969,), (1402880971,), (1402881136,), (1402881137,), (1402881138,), (1402881141,), (1402881144,), (1402881147,), (1402881158,), (1402881174,), (1402881273,), (1402881368,), (1402881472,), (1402881575,), (1402881720,), (1402881754,), (1402881787,), (1402882324,), (1402882357,), (1402882425,), (1402882470,), (1402882506,), (1402882942,), (1402882885,), (1402882925,), (1402882934,), (1402882936,), (1402882939,), (1402882997,), (1402883028,), (1402883058,), (1402883311,), (1402883336,), (1402883425,), (1402883528,), (1402883641,), (1402883752,), (1402884210,), (1402884353,), (1402884467,), (1402884508,), (1402884543,), (1402884562,), (1402884583,), (1402884613,), (1402884644,), (1402884676,), (1402884813,), (1402884814,), (1402884815,), (1402884841,), (1402884847,), (1402884852,), (1402884866,), (1402884873,), (1402884875,), (1402886847,), (1402886865,), (1402886880,), (1402887119,), (1402887120,), (1402887126,), (1402887127,), (1402887147,), (1402887154,), (1402888230,), (1402888266,), (1402888303,), (1402888392,), (1402888496,), (1402888531,), (1402889345,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07012026': {'nb_upload': 32, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([30000240]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384] map_info['map_portfolio_photo'] : {30000240: [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384]} final : True mtd_id 4302 list_pids : [1402727677, 1402727641, 1402727640, 1402727639, 1402727626, 1402727625, 1402727624, 1402727623, 1402727621, 1402727620, 1402727607, 1402727604, 1402727603, 1402727602, 1402727601, 1402727585, 1402727584, 1402727583, 1402727575, 1402727574, 1402727572, 1402727571, 1402727568, 1402727565, 1402727562, 1402727558, 1402727556, 1402727555, 1402727538, 1402727537, 1402727476, 1402727384] Looping around the photos to save general results len do output : 1 /30000240Didn'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, '4325362') ('4302', '30000240', '1402727677', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727641', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727640', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727639', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727626', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727625', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727624', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727623', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727621', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727620', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727607', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727604', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727603', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727602', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727601', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727585', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727584', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727583', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727575', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727574', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727572', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727571', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727568', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727565', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727562', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727558', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727556', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727555', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727538', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727537', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727476', None, None, None, None, None, '4325362') ('4302', None, None, None, None, None, None, None, '4325362') ('4302', '30000240', '1402727384', None, None, None, None, None, '4325362') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '30000240', 'None', None, None, None, None, '4325362'), ('4302', '30000240', '1402727677', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727641', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727640', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727639', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727626', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727625', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727624', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727623', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727621', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727620', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727607', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727604', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727603', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727602', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727601', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727585', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727584', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727583', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727575', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727574', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727572', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727571', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727568', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727565', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727562', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727558', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727556', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727555', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727538', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727537', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727476', None, None, None, None, None, '4325362'), ('4302', '30000240', '1402727384', None, None, None, None, None, '4325362')] time used for this insertion : 0.019717931747436523 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.7109315395355225 time spend to save output : 0.020047426223754883 total time spend for step 5 : 6.730978965759277 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 (4325362) 3.02user 2.48system 0:21.73elapsed 25%CPU (0avgtext+0avgdata 174000maxresident)k 672inputs+27240outputs (0major+82504minor)pagefaults 0swaps