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 : 1073453 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 (3656484) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3656484) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426742 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3656484'] with mtr_portfolio_ids : ['26426742'] and first list_photo_ids : [] new path : /proc/1073453/ Name: python3 Umask: 0002 State: R (running) Tgid: 1073453 Ngid: 0 Pid: 1073453 PPid: 1073452 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1073453 NSpid: 1073453 NSpgid: 1072017 NSsid: 1072017 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99464 kB VmRSS: 99464 kB RssAnon: 60172 kB RssFile: 39292 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 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: 58 nonvoluntary_ctxt_switches: 80 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1073453', 'Ngid': '0', 'Pid': '1073453', 'PPid': '1073452', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1073453', 'NSpid': '1073453', 'NSpgid': '1072017', 'NSsid': '1072017', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99464 kB', 'VmRSS': '99464 kB', 'RssAnon': '60172 kB', 'RssFile': '39292 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 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': '58', 'nonvoluntary_ctxt_switches': '80'} ('datou_batch_current', '1073453', '1107252', '0', '1107252', '866004', '99464', b'', 'marlene', '3656484') 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 ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26426742) 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 (3656484 ) ) 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 (26426742) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1380779372, 'portfolio_id': 26426742}, {'photo_id': 1380779343, 'portfolio_id': 26426742}, {'photo_id': 1380779342, 'portfolio_id': 26426742}, {'photo_id': 1380779340, 'portfolio_id': 26426742}, {'photo_id': 1380779339, 'portfolio_id': 26426742}, {'photo_id': 1380779338, 'portfolio_id': 26426742}, {'photo_id': 1380779306, 'portfolio_id': 26426742}, {'photo_id': 1380779305, 'portfolio_id': 26426742}, {'photo_id': 1380779304, 'portfolio_id': 26426742}, {'photo_id': 1380779303, 'portfolio_id': 26426742}, {'photo_id': 1380779302, 'portfolio_id': 26426742}, {'photo_id': 1380779301, 'portfolio_id': 26426742}, {'photo_id': 1380779264, 'portfolio_id': 26426742}, {'photo_id': 1380779263, 'portfolio_id': 26426742}, {'photo_id': 1380779262, 'portfolio_id': 26426742}, {'photo_id': 1380779261, 'portfolio_id': 26426742}, {'photo_id': 1380779162, 'portfolio_id': 26426742}, {'photo_id': 1380779160, 'portfolio_id': 26426742}, {'photo_id': 1380779093, 'portfolio_id': 26426742}, {'photo_id': 1380779090, 'portfolio_id': 26426742}, {'photo_id': 1380779086, 'portfolio_id': 26426742}, {'photo_id': 1380779083, 'portfolio_id': 26426742}, {'photo_id': 1380779080, 'portfolio_id': 26426742}, {'photo_id': 1380779077, 'portfolio_id': 26426742}, {'photo_id': 1380778841, 'portfolio_id': 26426742}, {'photo_id': 1380778840, 'portfolio_id': 26426742}, {'photo_id': 1380778839, 'portfolio_id': 26426742}, {'photo_id': 1380778838, 'portfolio_id': 26426742}, {'photo_id': 1380778735, 'portfolio_id': 26426742}, {'photo_id': 1380778734, 'portfolio_id': 26426742}, {'photo_id': 1380778733, 'portfolio_id': 26426742}, {'photo_id': 1380778732, 'portfolio_id': 26426742}] map_portfolio_id_photo_id: {26426742: [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732]} ##### 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.01905536651611328 #### 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 Wed Sep 3 05:47:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26426742) 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 : 26426742 get user id for portfolio 26426742 get sub ptf for main ptf 26426742, type 3726 and hashtags ['mal_croppe', 'papier', 'Teint_Dans_La_Masse', 'Carton_brun', 'flou', 'metal', 'plastique', 'cartonnette', 'kraft', 'autre_refus', 'Carton_gris', 'environnement'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26426742 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','papier','Teint_Dans_La_Masse','Carton_brun','flou','metal','plastique','cartonnette','kraft','autre_refus','Carton_gris','environnement')) 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`=26426742 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','papier','Teint_Dans_La_Masse','Carton_brun','flou','metal','plastique','cartonnette','kraft','autre_refus','Carton_gris','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 26426742, 'sub_port_id': 26426745, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784441, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 26426742, 'sub_port_id': 26426746, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784442, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}, 'autre_refus': {'main_port_id': 26426742, 'sub_port_id': 26426747, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784443, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}, 'environnement': {'main_port_id': 26426742, 'sub_port_id': 26426748, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784444, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}, 'kraft': {'main_port_id': 26426742, 'sub_port_id': 26426749, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784445, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}, 'metal': {'main_port_id': 26426742, 'sub_port_id': 26426750, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784446, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}, 'papier': {'main_port_id': 26426742, 'sub_port_id': 26426751, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784447, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}, 'plastique': {'main_port_id': 26426742, 'sub_port_id': 26426752, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784448, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}, 'cartonnette': {'main_port_id': 26426742, 'sub_port_id': 26426753, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784449, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}, 'flou': {'main_port_id': 26426742, 'sub_port_id': 26426754, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784450, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}, 'mal_croppe': {'main_port_id': 26426742, 'sub_port_id': 26426755, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784451, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}, 'Carton_brun': {'main_port_id': 26426742, 'sub_port_id': 26426756, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784452, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 26, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26426745 , 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=26426742 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 (26426745) result : ((1380779256,), (1380779257,), (1380783015,), (1380783017,), (1380791422,), (1380791425,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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 26426746 , 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=26426742 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 (26426746) result : ((1380779251,), (1380779252,), (1380779275,), (1380779276,), (1380779277,), (1380779547,), (1380779652,), (1380779653,), (1380779654,), (1380779655,), (1380782992,), (1380782994,), (1380782996,), (1380782998,), (1380783218,), (1380783219,), (1380783220,), (1380783221,), (1380783222,), (1380783223,), (1380783224,), (1380791393,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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 26426747 , 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=26426742 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 (26426747) result : ((1380779253,), (1380779278,), (1380779279,), (1380779280,), (1380779344,), (1380779548,), (1380779550,), (1380783007,), (1380783227,), (1380783229,), (1380783231,), (1380783233,), (1380783235,), (1380783236,), (1380783237,), (1380791407,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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 26426748 , 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=26426742 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 (26426748) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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 26426749 , 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=26426742 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 (26426749) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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 26426750 , 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=26426742 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 (26426750) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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 26426751 , 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=26426742 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 (26426751) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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 26426752 , 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=26426742 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 (26426752) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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 26426753 , 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=26426742 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 (26426753) result : ((1380779258,), (1380783027,), (1380791437,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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 26426754 , 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=26426742 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 (26426754) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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 26426755 , 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=26426742 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 (26426755) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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 26426756 , 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=26426742 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 (26426756) result : ((1380779259,), (1380779260,), (1380779281,), (1380779345,), (1380779346,), (1380779544,), (1380779551,), (1380779657,), (1380783040,), (1380783044,), (1380783238,), (1380783239,), (1380791459,), (1380791462,), (1380791465,), (1380791468,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26426742) result : ((1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,)) 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`=26426742 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','papier','Teint_Dans_La_Masse','Carton_brun','flou','metal','plastique','cartonnette','kraft','autre_refus','Carton_gris','environnement')) 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`=26426742 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','papier','Teint_Dans_La_Masse','Carton_brun','flou','metal','plastique','cartonnette','kraft','autre_refus','Carton_gris','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 26426742, 'sub_port_id': 26426757, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784453, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 26426742, 'sub_port_id': 26426758, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784454, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}, 'autre_refus': {'main_port_id': 26426742, 'sub_port_id': 26426759, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784455, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}, 'environnement': {'main_port_id': 26426742, 'sub_port_id': 26426760, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784456, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}, 'kraft': {'main_port_id': 26426742, 'sub_port_id': 26426761, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784457, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}, 'metal': {'main_port_id': 26426742, 'sub_port_id': 26426762, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784458, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}, 'papier': {'main_port_id': 26426742, 'sub_port_id': 26426763, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784459, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}, 'plastique': {'main_port_id': 26426742, 'sub_port_id': 26426764, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784460, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}, 'cartonnette': {'main_port_id': 26426742, 'sub_port_id': 26426765, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784461, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}, 'flou': {'main_port_id': 26426742, 'sub_port_id': 26426766, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784462, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}, 'mal_croppe': {'main_port_id': 26426742, 'sub_port_id': 26426767, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784463, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}, 'Carton_brun': {'main_port_id': 26426742, 'sub_port_id': 26426768, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17784464, 'last_updated_at': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 7, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 7, 27, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426757,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426745 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426758,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426746 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426759,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426747 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426760,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426748 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426761,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426749 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426762,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426750 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426763,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426751 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426764,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426752 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426765,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426753 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426766,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426754 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426767,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426755 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26426768,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26426756 lien utilise dans velours : https://marlene.fotonower.com/velours/26426757,26426758,26426759,26426760,26426761,26426762,26426763,26426764,26426765,26426766,26426767,26426768?tags=Carton_gris,Teint_Dans_La_Masse,autre_refus,environnement,kraft,metal,papier,plastique,cartonnette,flou,mal_croppe,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26426742]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732] map_info['map_portfolio_photo'] : {26426742: [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732]} final : False mtd_id 4302 list_pids : [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732] Looping around the photos to save general results len do output : 1 /26426742. 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, '3656484') ('4302', '26426742', '1380779372', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779343', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779342', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779340', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779339', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779338', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779306', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779305', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779304', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779303', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779302', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779301', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779264', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779263', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779262', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779261', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779162', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779160', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779093', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779090', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779086', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779083', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779080', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779077', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778841', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778840', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778839', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778838', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778735', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778734', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778733', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778732', None, None, None, None, None, '3656484') 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, '26426742', "{'Carton_gris': 26426745, 'Teint_Dans_La_Masse': 26426746, 'autre_refus': 26426747, 'environnement': 26426748, 'kraft': 26426749, 'metal': 26426750, 'papier': 26426751, 'plastique': 26426752, 'cartonnette': 26426753, 'flou': 26426754, 'mal_croppe': 26426755, 'Carton_brun': 26426756}", None, None, None, None, '3656484'), ('4302', '26426742', '1380779372', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779343', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779342', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779340', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779339', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779338', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779306', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779305', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779304', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779303', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779302', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779301', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779264', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779263', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779262', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779261', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779162', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779160', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779093', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779090', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779086', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779083', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779080', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779077', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778841', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778840', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778839', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778838', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778735', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778734', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778733', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778732', None, None, None, None, None, '3656484')] time used for this insertion : 0.02888655662536621 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.154066562652588 time spend to save output : 0.029323339462280273 total time spend for step 1 : 2.183389902114868 step2:final Wed Sep 3 05:48:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26426742) 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 26426742 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1380778735,1380778734,1380778733,1380778732,1380778841,1380779162,1380778840,1380779160,1380778839,1380779093,1380778838,1380779090,1380779086,1380779083,1380779080,1380779077,1380779264,1380779263,1380779262,1380779261,1380779306,1380779305,1380779304,1380779303,1380779302,1380779301,1380779343,1380779342,1380779340,1380779339,1380779338,1380779372); 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([26426742]) Inside saveOutput : final : False verbose : True original output for save of step final : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} new output for save of step final : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732] map_info['map_portfolio_photo'] : {26426742: [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732]} final : False mtd_id 4302 list_pids : [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732] Looping around the photos to save general results len do output : 32 /1380779372.Didn't retrieve data . /1380779343.Didn't retrieve data . /1380779342.Didn't retrieve data . /1380779340.Didn't retrieve data . /1380779339.Didn't retrieve data . /1380779338.Didn't retrieve data . /1380779306.Didn't retrieve data . /1380779305.Didn't retrieve data . /1380779304.Didn't retrieve data . /1380779303.Didn't retrieve data . /1380779302.Didn't retrieve data . /1380779301.Didn't retrieve data . /1380779264.Didn't retrieve data . /1380779263.Didn't retrieve data . /1380779262.Didn't retrieve data . /1380779261.Didn't retrieve data . /1380779162.Didn't retrieve data . /1380779160.Didn't retrieve data . /1380779093.Didn't retrieve data . /1380779090.Didn't retrieve data . /1380779086.Didn't retrieve data . /1380779083.Didn't retrieve data . /1380779080.Didn't retrieve data . /1380779077.Didn't retrieve data . /1380778841.Didn't retrieve data . /1380778840.Didn't retrieve data . /1380778839.Didn't retrieve data . /1380778838.Didn't retrieve data . /1380778735.Didn't retrieve data . /1380778734.Didn't retrieve data . /1380778733.Didn't retrieve data . /1380778732.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, '3656484') ('4302', '26426742', '1380779372', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779343', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779342', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779340', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779339', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779338', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779306', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779305', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779304', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779303', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779302', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779301', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779264', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779263', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779262', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779261', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779162', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779160', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779093', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779090', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779086', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779083', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779080', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779077', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778841', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778840', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778839', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778838', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778735', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778734', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778733', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778732', None, None, None, None, None, '3656484') 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', '26426742', '1380779372', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779343', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779342', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779340', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779339', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779338', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779306', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779305', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779304', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779303', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779302', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779301', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779264', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779263', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779262', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779261', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779162', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779160', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779093', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779090', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779086', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779083', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779080', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380779077', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380778841', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380778840', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380778839', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380778838', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380778735', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380778734', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380778733', '0.053293942207177196', None, None, None, None, '3656484'), ('4302', '26426742', '1380778732', '0.053293942207177196', None, None, None, None, '3656484')] time used for this insertion : 0.023531675338745117 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06857967376708984 time spend to save output : 0.024774789810180664 total time spend for step 2 : 0.09335446357727051 step3:velours_tree Wed Sep 3 05:48:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {26426742: [{'Carton_gris': 26426745, 'Teint_Dans_La_Masse': 26426746, 'autre_refus': 26426747, 'environnement': 26426748, 'kraft': 26426749, 'metal': 26426750, 'papier': 26426751, 'plastique': 26426752, 'cartonnette': 26426753, 'flou': 26426754, 'mal_croppe': 26426755, 'Carton_brun': 26426756}]} input_args_next_step : {26426742: ()} output_args : {26426742: [{'Carton_gris': 26426745, 'Teint_Dans_La_Masse': 26426746, 'autre_refus': 26426747, 'environnement': 26426748, 'kraft': 26426749, 'metal': 26426750, 'papier': 26426751, 'plastique': 26426752, 'cartonnette': 26426753, 'flou': 26426754, 'mal_croppe': 26426755, 'Carton_brun': 26426756}]} args : 26426742 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_gris': 26426745, 'Teint_Dans_La_Masse': 26426746, 'autre_refus': 26426747, 'environnement': 26426748, 'kraft': 26426749, 'metal': 26426750, 'papier': 26426751, 'plastique': 26426752, 'cartonnette': 26426753, 'flou': 26426754, 'mal_croppe': 26426755, 'Carton_brun': 26426756},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26426742) 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([26426742]) 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.2677879333496094 time spend to save output : 4.744529724121094e-05 total time spend for step 3 : 0.2678353786468506 step4:send_mail_cod Wed Sep 3 05:48:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} input_args_next_step : {1380779372: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779372 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779343 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779342 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779340 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779339 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779338 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779306 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779305 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779304 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779303 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779302 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779301 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779264 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779263 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779262 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779261 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779162 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779160 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779093 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779090 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779086 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779083 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779080 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380779077 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380778841 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380778840 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380778839 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380778838 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380778735 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380778734 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380778733 depend.output_id : 0 input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ()} output_args : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',)} args : 1380778732 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 : {26426742: [{'Carton_gris': 26426745, 'Teint_Dans_La_Masse': 26426746, 'autre_refus': 26426747, 'environnement': 26426748, 'kraft': 26426749, 'metal': 26426750, 'papier': 26426751, 'plastique': 26426752, 'cartonnette': 26426753, 'flou': 26426754, 'mal_croppe': 26426755, 'Carton_brun': 26426756}]} input_args_next_step : {1380779372: ('0.053293942207177196',), 1380779343: ('0.053293942207177196',), 1380779342: ('0.053293942207177196',), 1380779340: ('0.053293942207177196',), 1380779339: ('0.053293942207177196',), 1380779338: ('0.053293942207177196',), 1380779306: ('0.053293942207177196',), 1380779305: ('0.053293942207177196',), 1380779304: ('0.053293942207177196',), 1380779303: ('0.053293942207177196',), 1380779302: ('0.053293942207177196',), 1380779301: ('0.053293942207177196',), 1380779264: ('0.053293942207177196',), 1380779263: ('0.053293942207177196',), 1380779262: ('0.053293942207177196',), 1380779261: ('0.053293942207177196',), 1380779162: ('0.053293942207177196',), 1380779160: ('0.053293942207177196',), 1380779093: ('0.053293942207177196',), 1380779090: ('0.053293942207177196',), 1380779086: ('0.053293942207177196',), 1380779083: ('0.053293942207177196',), 1380779080: ('0.053293942207177196',), 1380779077: ('0.053293942207177196',), 1380778841: ('0.053293942207177196',), 1380778840: ('0.053293942207177196',), 1380778839: ('0.053293942207177196',), 1380778838: ('0.053293942207177196',), 1380778735: ('0.053293942207177196',), 1380778734: ('0.053293942207177196',), 1380778733: ('0.053293942207177196',), 1380778732: ('0.053293942207177196',), 26426742: ()} output_args : {26426742: [{'Carton_gris': 26426745, 'Teint_Dans_La_Masse': 26426746, 'autre_refus': 26426747, 'environnement': 26426748, 'kraft': 26426749, 'metal': 26426750, 'papier': 26426751, 'plastique': 26426752, 'cartonnette': 26426753, 'flou': 26426754, 'mal_croppe': 26426755, 'Carton_brun': 26426756}]} args : 26426742 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.053293942207177196',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26426742) 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 ph WHERE photo_id IN (1380779372,1380779343,1380779342,1380779340,1380779339,1380779338,1380779306,1380779305,1380779304,1380779303,1380779302,1380779301,1380779264,1380779263,1380779262,1380779261,1380779162,1380779160,1380779093,1380779090,1380779086,1380779083,1380779080,1380779077,1380778841,1380778840,1380778839,1380778838,1380778735,1380778734,1380778733,1380778732) Found this number of photos: 32 ##### Call download_photos : nb_thread : 5 begin to download photo : 1380778732 begin to download photo : 1380778841 begin to download photo : 1380779160 begin to download photo : 1380779302 begin to download photo : 1380779340 download finish for photo 1380778732 begin to download photo : 1380778733 download finish for photo 1380778841 begin to download photo : 1380779077 download finish for photo 1380779160 begin to download photo : 1380779162 download finish for photo 1380779340 begin to download photo : 1380779342 download finish for photo 1380779302 begin to download photo : 1380779303 download finish for photo 1380779077 begin to download photo : 1380779080 download finish for photo 1380779162 begin to download photo : 1380779261 download finish for photo 1380779342 begin to download photo : 1380779343 download finish for photo 1380778733 begin to download photo : 1380778734 download finish for photo 1380779303 begin to download photo : 1380779304 download finish for photo 1380779080 begin to download photo : 1380779083 download finish for photo 1380779261 begin to download photo : 1380779262 download finish for photo 1380778734 begin to download photo : 1380778735 download finish for photo 1380779343 begin to download photo : 1380779372 download finish for photo 1380779304 begin to download photo : 1380779305 download finish for photo 1380779083 begin to download photo : 1380779086 download finish for photo 1380778735 begin to download photo : 1380778838 download finish for photo 1380779262 begin to download photo : 1380779263 download finish for photo 1380779305 begin to download photo : 1380779306 download finish for photo 1380779372 download finish for photo 1380779263 begin to download photo : 1380779264 download finish for photo 1380778838 begin to download photo : 1380778839 download finish for photo 1380779086 begin to download photo : 1380779090 download finish for photo 1380779306 begin to download photo : 1380779338 download finish for photo 1380779264 begin to download photo : 1380779301 download finish for photo 1380779090 begin to download photo : 1380779093 download finish for photo 1380779338 begin to download photo : 1380779339 download finish for photo 1380778839 begin to download photo : 1380778840 download finish for photo 1380779301 download finish for photo 1380778840 download finish for photo 1380779339 download finish for photo 1380779093 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 32 ; length of list_pids : 32 ; length of list_args : 32 results_Auto_P26426742_03-09-2025_05_48_01.pdf 26426747 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426747 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380779253: '1756790825_2425266_1380778732_d8484d44f615fb6134127af25919838a_56985648_rle_crop_3940071031_0.png', 1380779278: '1756790844_2425646_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071467_0.png', 1380779279: '1756790844_2425646_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071469_0.png', 1380779280: '1756790844_2425646_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071466_0.png', 1380779344: '1756790967_2429596_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077674_0.png', 1380779548: '1756791065_2434985_1380779083_0c51f0020ddd59674b1ccda582a4d251_88817968_rle_crop_3940078603_0.png', 1380779550: '1756791065_2434985_1380779080_af6a99fefb91ef0aa48724f8fca2f3ca_60464237_rle_crop_3940078751_0.png', 1380783007: '1756793105_2547850_1380778732_d8484d44f615fb6134127af25919838a_56985648_rle_crop_3940071031_0.png', 1380783227: '1756793225_2550719_1380779160_5aac374ccd3f8d9a08c37f367c47fe28_70101466_rle_crop_3940112897_0.png', 1380783229: '1756793225_2550719_1380779160_5aac374ccd3f8d9a08c37f367c47fe28_70101466_rle_crop_3940112899_0.png', 1380783231: '1756793225_2550719_1380779160_5aac374ccd3f8d9a08c37f367c47fe28_70101466_rle_crop_3940112896_0.png', 1380783233: '1756793225_2550719_1380779086_5c67c69e7ec6e1d1f2593aea569233b1_78361177_rle_crop_3940114083_0.png', 1380783235: '1756793225_2550719_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071467_0.png', 1380783236: '1756793225_2550719_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071469_0.png', 1380783237: '1756793225_2550719_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071466_0.png', 1380791407: '1756796465_2662338_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077674_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/ed3adc7d3b21e6d19fd4684b761f6d4a_10886956.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/1eae4259cccb8c4c66ca8a1648107621_5500763.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/9022db8855c5d62e65f003fe222a8b62_29486666.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/5f4e3ce899c7b66b559f1ff25029f8d5_97465846.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/ec837b2c37bbf758e55fc01c07f19599_74645553.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/ff92c362aebe7ea9e2fa5a090bb262e9_47754475.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/c5b9ee4f34f144138ef5549cd2d1bfc0_4513193.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/ed3adc7d3b21e6d19fd4684b761f6d4a_98652976.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/1eae4259cccb8c4c66ca8a1648107621_40173945.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/9022db8855c5d62e65f003fe222a8b62_82298042.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/5f4e3ce899c7b66b559f1ff25029f8d5_6080493.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/cf20a088357742e446a6d2f9f17d0015_11928786.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/1eae4259cccb8c4c66ca8a1648107621_14290636.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/9022db8855c5d62e65f003fe222a8b62_82207296.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/5f4e3ce899c7b66b559f1ff25029f8d5_74555871.png change filename to text .imagette264267471756871281/ imagette264267471756871281/1756791065_2434985_1380779083_0c51f0020ddd59674b1ccda582a4d251_88817968_rle_crop_3940078603_0.png.png imagette264267471756871281/1756793225_2550719_1380779160_5aac374ccd3f8d9a08c37f367c47fe28_70101466_rle_crop_3940112897_0.png.png imagette264267471756871281/1756793225_2550719_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071469_0.png.png imagette264267471756871281/1756793105_2547850_1380778732_d8484d44f615fb6134127af25919838a_56985648_rle_crop_3940071031_0.png.png imagette264267471756871281/1756790844_2425646_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071467_0.png.png imagette264267471756871281/1756790967_2429596_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077674_0.png.png imagette264267471756871281/1756793225_2550719_1380779160_5aac374ccd3f8d9a08c37f367c47fe28_70101466_rle_crop_3940112899_0.png.png imagette264267471756871281/1756796465_2662338_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077674_0.png.png imagette264267471756871281/1756793225_2550719_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071467_0.png.png imagette264267471756871281/1756790844_2425646_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071469_0.png.png imagette264267471756871281/1756793225_2550719_1380779160_5aac374ccd3f8d9a08c37f367c47fe28_70101466_rle_crop_3940112896_0.png.png imagette264267471756871281/1756793225_2550719_1380779086_5c67c69e7ec6e1d1f2593aea569233b1_78361177_rle_crop_3940114083_0.png.png imagette264267471756871281/1756793225_2550719_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071466_0.png.png imagette264267471756871281/1756790825_2425266_1380778732_d8484d44f615fb6134127af25919838a_56985648_rle_crop_3940071031_0.png.png imagette264267471756871281/1756791065_2434985_1380779080_af6a99fefb91ef0aa48724f8fca2f3ca_60464237_rle_crop_3940078751_0.png.png imagette264267471756871281/1756790844_2425646_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071466_0.png.png imagette264267491756871283/ imagette264267501756871283/ imagette264267521756871284/ wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/ec837b2c37bbf758e55fc01c07f19599_57814733.png imagette264267471756871281 26426749 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426749 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264267491756871283 26426750 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426750 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264267501756871283 26426752 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426752 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264267521756871284 26426753 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426753 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380779258: '1756790825_2425266_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071013_0.png', 1380783027: '1756793105_2547850_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071013_0.png', 1380791437: '1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118310_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/180326798330592f2867264b7f3d243b_56752876.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/180326798330592f2867264b7f3d243b_10576439.png change filename to text .imagette264267531756871284/ imagette264267531756871284/1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118310_0.png.png imagette264267531756871284/1756793105_2547850_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071013_0.png.png imagette264267531756871284/1756790825_2425266_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071013_0.png.png imagette264267541756871284/ imagette264267551756871284/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/a686142a1446c565fb205c9d5a6caa45_34823129.png imagette264267531756871284 26426754 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426754 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264267541756871284 26426755 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426755 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264267551756871284 26426745 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426745 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380779256: '1756790825_2425266_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071005_0.png', 1380779257: '1756790825_2425266_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071006_0.png', 1380783015: '1756793105_2547850_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071005_0.png', 1380783017: '1756793105_2547850_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071006_0.png', 1380791422: '1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118306_0.png', 1380791425: '1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118307_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/588ee3796baa024dc397c5bddb3ff3ba_7465879.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/8a6b7434432046f007f40fb3a4b7dd98_58657399.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/588ee3796baa024dc397c5bddb3ff3ba_91700436.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/8a6b7434432046f007f40fb3a4b7dd98_72000273.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/4374436758d4d93ca3f849cedad99517_4594108.png change filename to text .imagette264267451756871284/ imagette264267451756871284/1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118306_0.png.png imagette264267451756871284/1756790825_2425266_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071006_0.png.png imagette264267451756871284/1756790825_2425266_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071005_0.png.png imagette264267451756871284/1756793105_2547850_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071005_0.png.png imagette264267451756871284/1756793105_2547850_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071006_0.png.png imagette264267451756871284/1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118307_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/3c791ca9ba2882aea2fe337497fd60c5_98155538.png imagette264267451756871284 26426746 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426746 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380782994: '1756793105_2547850_1380779162_e1f0adfb83c71ff51044891870477138_78814831_rle_crop_3940110234_0.png', 1380791393: '1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118313_0.png', 1380783224: '1756793225_2550719_1380778838_1cbb3825eb95fa46f499835232d88c67_47054963_rle_crop_3940071973_0.png', 1380783223: '1756793225_2550719_1380778839_a24749404defa4b2f35feed541c02ee8_50514638_rle_crop_3940071948_0.png', 1380783222: '1756793225_2550719_1380778839_a24749404defa4b2f35feed541c02ee8_50514638_rle_crop_3940071951_0.png', 1380783221: '1756793225_2550719_1380779086_5c67c69e7ec6e1d1f2593aea569233b1_78361177_rle_crop_3940114085_0.png', 1380783220: '1756793225_2550719_1380779090_1cbb3825eb95fa46f499835232d88c67_17029364_rle_crop_3940113476_0.png', 1380783219: '1756793225_2550719_1380779093_a24749404defa4b2f35feed541c02ee8_12664263_rle_crop_3940113295_0.png', 1380783218: '1756793225_2550719_1380779093_a24749404defa4b2f35feed541c02ee8_12664263_rle_crop_3940113298_0.png', 1380782998: '1756793105_2547850_1380778841_e1f0adfb83c71ff51044891870477138_10316264_rle_crop_3940070976_0.png', 1380782996: '1756793105_2547850_1380778841_e1f0adfb83c71ff51044891870477138_10316264_rle_crop_3940070974_0.png', 1380779251: '1756790825_2425266_1380778841_e1f0adfb83c71ff51044891870477138_10316264_rle_crop_3940070974_0.png', 1380782992: '1756793105_2547850_1380779162_e1f0adfb83c71ff51044891870477138_78814831_rle_crop_3940110232_0.png', 1380779655: '1756791187_2436957_1380779304_944f64851eee0f5c2ecad29ebba3ead3_10169279_rle_crop_3940079456_0.png', 1380779654: '1756791187_2436957_1380779304_944f64851eee0f5c2ecad29ebba3ead3_10169279_rle_crop_3940079458_0.png', 1380779653: '1756791187_2436957_1380779305_cab4a999e2199e63e863d6485ff1c429_20700468_rle_crop_3940079379_0.png', 1380779652: '1756791187_2436957_1380779305_cab4a999e2199e63e863d6485ff1c429_20700468_rle_crop_3940079382_0.png', 1380779547: '1756791065_2434985_1380779083_0c51f0020ddd59674b1ccda582a4d251_88817968_rle_crop_3940078602_0.png', 1380779277: '1756790844_2425646_1380778838_1cbb3825eb95fa46f499835232d88c67_47054963_rle_crop_3940071973_0.png', 1380779276: '1756790844_2425646_1380778839_a24749404defa4b2f35feed541c02ee8_50514638_rle_crop_3940071948_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/83277ca375164a7d9735f2cf11fd2a45_11874974.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/74397dec73db2e19f43c60e1e3d272f5_48990915.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/8c0afd2e84f78ab6681caffb603f6159_88359403.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/11a86ec1cc6e07cbd973a1ed0e142e4b_52879933.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/7e5acbfd0fbfd8f40c69d95be724666f_4391057.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/147f3135a174c71ead27864d5015a43d_26190327.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/8c0afd2e84f78ab6681caffb603f6159_3556239.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/11a86ec1cc6e07cbd973a1ed0e142e4b_35931081.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/7e5acbfd0fbfd8f40c69d95be724666f_98548151.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/83277ca375164a7d9735f2cf11fd2a45_64735183.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/82313acbf1c6c612528436a4e8b68b0d_42412860.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/82313acbf1c6c612528436a4e8b68b0d_68519280.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/82313acbf1c6c612528436a4e8b68b0d_66353434.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/6393c3b43dc21456fbe13d3ecfc5a1d0_78570608.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/b49a83793ec40eb7da642a3c149a8c20_77300711.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/db1e3d0852f667e44a33d9110a361f4a_14973326.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/f62637fe1fb6bd9e28f5a887d0f25b42_78182592.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/d92242682ad55187a1c5c1d0e267e1a0_46539034.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/8c0afd2e84f78ab6681caffb603f6159_88443897.png change filename to text .imagette264267461756871285/ imagette264267461756871285/1756791187_2436957_1380779304_944f64851eee0f5c2ecad29ebba3ead3_10169279_rle_crop_3940079456_0.png.png imagette264267461756871285/1756791187_2436957_1380779305_cab4a999e2199e63e863d6485ff1c429_20700468_rle_crop_3940079379_0.png.png imagette264267461756871285/1756793225_2550719_1380779090_1cbb3825eb95fa46f499835232d88c67_17029364_rle_crop_3940113476_0.png.png imagette264267461756871285/1756791065_2434985_1380779083_0c51f0020ddd59674b1ccda582a4d251_88817968_rle_crop_3940078602_0.png.png imagette264267461756871285/1756790844_2425646_1380778838_1cbb3825eb95fa46f499835232d88c67_47054963_rle_crop_3940071973_0.png.png imagette264267461756871285/1756790825_2425266_1380778841_e1f0adfb83c71ff51044891870477138_10316264_rle_crop_3940070974_0.png.png imagette264267461756871285/1756793105_2547850_1380779162_e1f0adfb83c71ff51044891870477138_78814831_rle_crop_3940110232_0.png.png imagette264267461756871285/1756791187_2436957_1380779304_944f64851eee0f5c2ecad29ebba3ead3_10169279_rle_crop_3940079458_0.png.png imagette264267461756871285/1756793225_2550719_1380779093_a24749404defa4b2f35feed541c02ee8_12664263_rle_crop_3940113295_0.png.png imagette264267461756871285/1756793105_2547850_1380779162_e1f0adfb83c71ff51044891870477138_78814831_rle_crop_3940110234_0.png.png imagette264267461756871285/1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118313_0.png.png imagette264267461756871285/1756793105_2547850_1380778841_e1f0adfb83c71ff51044891870477138_10316264_rle_crop_3940070976_0.png.png imagette264267461756871285/1756790844_2425646_1380778839_a24749404defa4b2f35feed541c02ee8_50514638_rle_crop_3940071948_0.png.png imagette264267461756871285/1756793225_2550719_1380778839_a24749404defa4b2f35feed541c02ee8_50514638_rle_crop_3940071951_0.png.png imagette264267461756871285/1756793225_2550719_1380778838_1cbb3825eb95fa46f499835232d88c67_47054963_rle_crop_3940071973_0.png.png imagette264267461756871285/1756793225_2550719_1380778839_a24749404defa4b2f35feed541c02ee8_50514638_rle_crop_3940071948_0.png.png imagette264267461756871285/1756793225_2550719_1380779086_5c67c69e7ec6e1d1f2593aea569233b1_78361177_rle_crop_3940114085_0.png.png imagette264267461756871285/1756793105_2547850_1380778841_e1f0adfb83c71ff51044891870477138_10316264_rle_crop_3940070974_0.png.png imagette264267461756871285/1756791187_2436957_1380779305_cab4a999e2199e63e863d6485ff1c429_20700468_rle_crop_3940079382_0.png.png imagette264267461756871285/1756793225_2550719_1380779093_a24749404defa4b2f35feed541c02ee8_12664263_rle_crop_3940113298_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/11a86ec1cc6e07cbd973a1ed0e142e4b_91969400.png imagette264267461756871285 26426756 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426756 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380779259: '1756790825_2425266_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071012_0.png', 1380779260: '1756790825_2425266_1380778732_d8484d44f615fb6134127af25919838a_56985648_rle_crop_3940071036_0.png', 1380779281: '1756790844_2425646_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071473_0.png', 1380779345: '1756790967_2429596_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077681_0.png', 1380779346: '1756790967_2429596_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077678_0.png', 1380779544: '1756791087_2435676_1380779338_638c8a888461ba0d27266dbfc3f8c83c_26577565_rle_crop_3940078899_0.png', 1380779551: '1756791065_2434985_1380779080_af6a99fefb91ef0aa48724f8fca2f3ca_60464237_rle_crop_3940078754_0.png', 1380779657: '1756791187_2436957_1380779304_944f64851eee0f5c2ecad29ebba3ead3_10169279_rle_crop_3940079460_0.png', 1380783040: '1756793105_2547850_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071012_0.png', 1380783044: '1756793105_2547850_1380778732_d8484d44f615fb6134127af25919838a_56985648_rle_crop_3940071036_0.png', 1380783238: '1756793225_2550719_1380779160_5aac374ccd3f8d9a08c37f367c47fe28_70101466_rle_crop_3940112903_0.png', 1380783239: '1756793225_2550719_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071473_0.png', 1380791459: '1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118315_0.png', 1380791462: '1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118314_0.png', 1380791465: '1756796465_2662338_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077681_0.png', 1380791468: '1756796465_2662338_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077678_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/da305e43ef8a24b096e4d1cfa82deabf_38642208.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/dc5027e58b0dbf104a056a3a7d886c78_15164623.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/bba152976febd54edef5807fb482c549_65557181.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/dbdae3f0defa97603f76e5ec755dac63_65318289.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/b7688d39268aa6494a42252e64d2da60_61491776.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/27a6e6fb8c3233e530767d966be88d74_35167728.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/cd6da3aa7560bbfab1df0ff47a0399f8_15493604.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/f88280f65cd7cbf852f1f6b96e808450_46412585.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/da305e43ef8a24b096e4d1cfa82deabf_66339399.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/dc5027e58b0dbf104a056a3a7d886c78_5442446.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/bba152976febd54edef5807fb482c549_31136832.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/bba152976febd54edef5807fb482c549_51462378.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/c3046846f91dbed8c1241c7e005406e9_89300667.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/0f206c4f0803a0a558a046db7bc9c270_85726449.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/dbdae3f0defa97603f76e5ec755dac63_65469624.png change filename to text .imagette264267561756871287/ imagette264267561756871287/1756791065_2434985_1380779080_af6a99fefb91ef0aa48724f8fca2f3ca_60464237_rle_crop_3940078754_0.png.png imagette264267561756871287/1756791087_2435676_1380779338_638c8a888461ba0d27266dbfc3f8c83c_26577565_rle_crop_3940078899_0.png.png imagette264267561756871287/1756793105_2547850_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071012_0.png.png imagette264267561756871287/1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118315_0.png.png imagette264267561756871287/1756790967_2429596_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077678_0.png.png imagette264267561756871287/1756791187_2436957_1380779304_944f64851eee0f5c2ecad29ebba3ead3_10169279_rle_crop_3940079460_0.png.png imagette264267561756871287/1756790967_2429596_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077681_0.png.png imagette264267561756871287/1756793105_2547850_1380778732_d8484d44f615fb6134127af25919838a_56985648_rle_crop_3940071036_0.png.png imagette264267561756871287/1756793225_2550719_1380779160_5aac374ccd3f8d9a08c37f367c47fe28_70101466_rle_crop_3940112903_0.png.png imagette264267561756871287/1756790825_2425266_1380778732_d8484d44f615fb6134127af25919838a_56985648_rle_crop_3940071036_0.png.png imagette264267561756871287/1756796465_2662338_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077681_0.png.png imagette264267561756871287/1756793225_2550719_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071473_0.png.png imagette264267561756871287/1756796465_2662338_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659_rle_crop_3940118314_0.png.png imagette264267561756871287/1756790844_2425646_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694_rle_crop_3940071473_0.png.png imagette264267561756871287/1756796465_2662338_1380779261_435d60d7712945bc4553454793bfc696_13078526_rle_crop_3940077678_0.png.png imagette264267561756871287/1756790825_2425266_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206_rle_crop_3940071012_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/b7688d39268aa6494a42252e64d2da60_27575806.png imagette264267561756871287 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26426742 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26426757,26426758,26426759,26426760,26426761,26426762,26426763,26426764,26426765,26426766,26426767,26426768?tags=Carton_gris,Teint_Dans_La_Masse,autre_refus,environnement,kraft,metal,papier,plastique,cartonnette,flou,mal_croppe,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1380779372] : ('0.053293942207177196',) no score found for photo 1380779372 We are sending mail with results at report@fotonower.com args[1380779343] : ('0.053293942207177196',) no score found for photo 1380779343 We are sending mail with results at report@fotonower.com args[1380779342] : ('0.053293942207177196',) no score found for photo 1380779342 We are sending mail with results at report@fotonower.com args[1380779340] : ('0.053293942207177196',) no score found for photo 1380779340 We are sending mail with results at report@fotonower.com args[1380779339] : ('0.053293942207177196',) no score found for photo 1380779339 We are sending mail with results at report@fotonower.com args[1380779338] : ('0.053293942207177196',) no score found for photo 1380779338 We are sending mail with results at report@fotonower.com args[1380779306] : ('0.053293942207177196',) no score found for photo 1380779306 We are sending mail with results at report@fotonower.com args[1380779305] : ('0.053293942207177196',) no score found for photo 1380779305 We are sending mail with results at report@fotonower.com args[1380779304] : ('0.053293942207177196',) no score found for photo 1380779304 We are sending mail with results at report@fotonower.com args[1380779303] : ('0.053293942207177196',) no score found for photo 1380779303 We are sending mail with results at report@fotonower.com args[1380779302] : ('0.053293942207177196',) no score found for photo 1380779302 We are sending mail with results at report@fotonower.com args[1380779301] : ('0.053293942207177196',) no score found for photo 1380779301 We are sending mail with results at report@fotonower.com args[1380779264] : ('0.053293942207177196',) no score found for photo 1380779264 We are sending mail with results at report@fotonower.com args[1380779263] : ('0.053293942207177196',) no score found for photo 1380779263 We are sending mail with results at report@fotonower.com args[1380779262] : ('0.053293942207177196',) no score found for photo 1380779262 We are sending mail with results at report@fotonower.com args[1380779261] : ('0.053293942207177196',) no score found for photo 1380779261 We are sending mail with results at report@fotonower.com args[1380779162] : ('0.053293942207177196',) no score found for photo 1380779162 We are sending mail with results at report@fotonower.com args[1380779160] : ('0.053293942207177196',) no score found for photo 1380779160 We are sending mail with results at report@fotonower.com args[1380779093] : ('0.053293942207177196',) no score found for photo 1380779093 We are sending mail with results at report@fotonower.com args[1380779090] : ('0.053293942207177196',) no score found for photo 1380779090 We are sending mail with results at report@fotonower.com args[1380779086] : ('0.053293942207177196',) no score found for photo 1380779086 We are sending mail with results at report@fotonower.com args[1380779083] : ('0.053293942207177196',) no score found for photo 1380779083 We are sending mail with results at report@fotonower.com args[1380779080] : ('0.053293942207177196',) no score found for photo 1380779080 We are sending mail with results at report@fotonower.com args[1380779077] : ('0.053293942207177196',) no score found for photo 1380779077 We are sending mail with results at report@fotonower.com args[1380778841] : ('0.053293942207177196',) no score found for photo 1380778841 We are sending mail with results at report@fotonower.com args[1380778840] : ('0.053293942207177196',) no score found for photo 1380778840 We are sending mail with results at report@fotonower.com args[1380778839] : ('0.053293942207177196',) no score found for photo 1380778839 We are sending mail with results at report@fotonower.com args[1380778838] : ('0.053293942207177196',) no score found for photo 1380778838 We are sending mail with results at report@fotonower.com args[1380778735] : ('0.053293942207177196',) no score found for photo 1380778735 We are sending mail with results at report@fotonower.com args[1380778734] : ('0.053293942207177196',) no score found for photo 1380778734 We are sending mail with results at report@fotonower.com args[1380778733] : ('0.053293942207177196',) no score found for photo 1380778733 We are sending mail with results at report@fotonower.com args[1380778732] : ('0.053293942207177196',) no score found for photo 1380778732 We are sending mail with results at report@fotonower.com refus_total : 0.053293942207177196 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426742 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_P26426742_03-09-2025_05_48_01.pdf results_Auto_P26426742_03-09-2025_05_48_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_03-09-2025_05_48_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','26426742','results_Auto_P26426742_03-09-2025_05_48_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_03-09-2025_05_48_01.pdf','pdf','','0.32','0.053293942207177196') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26426742]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732] map_info['map_portfolio_photo'] : {26426742: [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732]} final : False mtd_id 4302 list_pids : [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732] 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, '3656484') ('4302', '26426742', '1380779372', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779343', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779342', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779340', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779339', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779338', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779306', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779305', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779304', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779303', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779302', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779301', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779264', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779263', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779262', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779261', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779162', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779160', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779093', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779090', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779086', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779083', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779080', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779077', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778841', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778840', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778839', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778838', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778735', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778734', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778733', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778732', None, None, None, None, None, '3656484') 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', '26426742', '1380779372', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779343', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779342', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779340', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779339', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779338', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779306', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779305', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779304', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779303', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779302', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779301', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779264', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779263', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779262', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779261', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779162', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779160', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779093', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779090', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779086', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779083', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779080', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779077', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778841', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778840', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778839', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778838', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778735', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778734', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778733', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778732', None, None, None, None, None, '3656484')] time used for this insertion : 0.3048825263977051 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.288285255432129 time spend to save output : 0.3052713871002197 total time spend for step 4 : 10.593556642532349 step5:split_time_score Wed Sep 3 05:48:11 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26426742'] 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 : [('26426742',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26426742) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1380779340: {'path': 'temp/1756871280_1073453_1380779340_d8a3089cce2e5d142ddb445da38a6d12_25556095.jpg', 'extension': 'jpg'}, 1380779342: {'path': 'temp/1756871280_1073453_1380779342_04ebb754efc3a4664d6f538b7478d950_50186534.jpg', 'extension': 'jpg'}, 1380779343: {'path': 'temp/1756871280_1073453_1380779343_5f6ce1a642ecaf485c6006a3e9c10501_23676589.jpg', 'extension': 'jpg'}, 1380779372: {'path': 'temp/1756871280_1073453_1380779372_ada4669f9a82cbc395ddc1ed179d5ed6_69316071.jpg', 'extension': 'jpg'}, 1380779160: {'path': 'temp/1756871280_1073453_1380779160_5aac374ccd3f8d9a08c37f367c47fe28_70101466.jpg', 'extension': 'jpg'}, 1380779162: {'path': 'temp/1756871280_1073453_1380779162_e1f0adfb83c71ff51044891870477138_78814831.jpg', 'extension': 'jpg'}, 1380779261: {'path': 'temp/1756871280_1073453_1380779261_435d60d7712945bc4553454793bfc696_13078526.jpg', 'extension': 'jpg'}, 1380779262: {'path': 'temp/1756871280_1073453_1380779262_6e1be1fc5abbafd60891e9b9ac6378b4_32723896.jpg', 'extension': 'jpg'}, 1380779263: {'path': 'temp/1756871280_1073453_1380779263_f0899611c59a1d255ec0d5b63d7e9b68_56068749.jpg', 'extension': 'jpg'}, 1380779264: {'path': 'temp/1756871280_1073453_1380779264_1e4aa25f6a5db6eccd9dcace83b2c25e_34816781.jpg', 'extension': 'jpg'}, 1380779301: {'path': 'temp/1756871280_1073453_1380779301_ad18fe93e5428e6cb08ac8d80228a0cb_2392636.jpg', 'extension': 'jpg'}, 1380778732: {'path': 'temp/1756871280_1073453_1380778732_d8484d44f615fb6134127af25919838a_56985648.jpg', 'extension': 'jpg'}, 1380778733: {'path': 'temp/1756871280_1073453_1380778733_13062497b1cb5983e03e62f6eef51e2e_25950206.jpg', 'extension': 'jpg'}, 1380778734: {'path': 'temp/1756871280_1073453_1380778734_a0b7b6e3a685826d7b125be304fff046_67907991.jpg', 'extension': 'jpg'}, 1380778735: {'path': 'temp/1756871280_1073453_1380778735_4d6b683ef2116f93d1a2596bfdce14a8_92434991.jpg', 'extension': 'jpg'}, 1380778838: {'path': 'temp/1756871280_1073453_1380778838_1cbb3825eb95fa46f499835232d88c67_47054963.jpg', 'extension': 'jpg'}, 1380778839: {'path': 'temp/1756871280_1073453_1380778839_a24749404defa4b2f35feed541c02ee8_50514638.jpg', 'extension': 'jpg'}, 1380778840: {'path': 'temp/1756871280_1073453_1380778840_5aac374ccd3f8d9a08c37f367c47fe28_57171694.jpg', 'extension': 'jpg'}, 1380779302: {'path': 'temp/1756871280_1073453_1380779302_0dc5076565a97ab5ec5fd8838a8a5e34_69399444.jpg', 'extension': 'jpg'}, 1380779303: {'path': 'temp/1756871280_1073453_1380779303_eb13e01addcf7208a5992aa8f2053eb8_65570905.jpg', 'extension': 'jpg'}, 1380779304: {'path': 'temp/1756871280_1073453_1380779304_944f64851eee0f5c2ecad29ebba3ead3_10169279.jpg', 'extension': 'jpg'}, 1380779305: {'path': 'temp/1756871280_1073453_1380779305_cab4a999e2199e63e863d6485ff1c429_20700468.jpg', 'extension': 'jpg'}, 1380779306: {'path': 'temp/1756871280_1073453_1380779306_a9f013a5689243c9e0094c2d147ec717_55948659.jpg', 'extension': 'jpg'}, 1380779338: {'path': 'temp/1756871280_1073453_1380779338_638c8a888461ba0d27266dbfc3f8c83c_26577565.jpg', 'extension': 'jpg'}, 1380779339: {'path': 'temp/1756871280_1073453_1380779339_05a666760a433698e39f5f06d9a5741e_54415981.jpg', 'extension': 'jpg'}, 1380778841: {'path': 'temp/1756871280_1073453_1380778841_e1f0adfb83c71ff51044891870477138_10316264.jpg', 'extension': 'jpg'}, 1380779077: {'path': 'temp/1756871280_1073453_1380779077_fe94d82733c99e8debd70699fdc3260e_53343598.jpg', 'extension': 'jpg'}, 1380779080: {'path': 'temp/1756871280_1073453_1380779080_af6a99fefb91ef0aa48724f8fca2f3ca_60464237.jpg', 'extension': 'jpg'}, 1380779083: {'path': 'temp/1756871280_1073453_1380779083_0c51f0020ddd59674b1ccda582a4d251_88817968.jpg', 'extension': 'jpg'}, 1380779086: {'path': 'temp/1756871280_1073453_1380779086_5c67c69e7ec6e1d1f2593aea569233b1_78361177.jpg', 'extension': 'jpg'}, 1380779090: {'path': 'temp/1756871280_1073453_1380779090_1cbb3825eb95fa46f499835232d88c67_17029364.jpg', 'extension': 'jpg'}, 1380779093: {'path': 'temp/1756871280_1073453_1380779093_a24749404defa4b2f35feed541c02ee8_12664263.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 = 26426742; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) 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 ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26426742 group by h (('07', 32),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26426742 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 (26426742) 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 (26426742) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02092025 26426742 Nombre de photos uploadées : 32 / 23040 (0%) 02092025 26426742 Nombre de photos taguées (types de déchets): 0 / 32 (0%) 02092025 26426742 Nombre de photos taguées (volume) : 0 / 32 (0%) [{'photo_id': 1380778735, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/4d6b683ef2116f93d1a2596bfdce14a8_92434991.jpg', 'username': None, 'uploaded_at': 1756790712, 'text': 'image_02092025_07_23_54_9131.jpg'}, {'photo_id': 1380778734, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/a0b7b6e3a685826d7b125be304fff046_67907991.jpg', 'username': None, 'uploaded_at': 1756790712, 'text': 'image_02092025_07_24_04_010168m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1380778733, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/13062497b1cb5983e03e62f6eef51e2e_25950206.jpg', 'username': None, 'uploaded_at': 1756790712, 'text': 'image_02092025_07_24_14_010133m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1380778732, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/d8484d44f615fb6134127af25919838a_56985648.jpg', 'username': None, 'uploaded_at': 1756790712, 'text': 'image_02092025_07_24_34_010146m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ???????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015363693237304688 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26426742, '2025-09-02' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-09-02' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2213047,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20867037773132324 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= 2213047 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26419800, 'dashboard_result_id': 14645188, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_03-09-2025_05_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26419801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26419802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26419803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26419804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26419805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26419806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26419807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26419808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26419809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26419810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26419811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26419812, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26420091, 'dashboard_result_id': 14645189, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_03-09-2025_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420103, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26420215, 'dashboard_result_id': 14645190, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_03-09-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420227, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26420269, 'dashboard_result_id': 14645191, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_03-09-2025_05_36_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420281, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26420665, 'dashboard_result_id': 14645192, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_03-09-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420677, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26420821, 'dashboard_result_id': 14645193, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_03-09-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420833, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26421082, 'dashboard_result_id': 14645194, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_03-09-2025_05_38_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421094, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26421275, 'dashboard_result_id': 14645195, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_03-09-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421288, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26421697, 'dashboard_result_id': 14645196, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_03-09-2025_05_40_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421709, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26421773, 'dashboard_result_id': 14645197, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_03-09-2025_05_40_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421786, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26421852, 'dashboard_result_id': 14645198, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_03-09-2025_05_41_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421864, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26422348, 'dashboard_result_id': 14645199, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_03-09-2025_05_42_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422361, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26422569, 'dashboard_result_id': 14645200, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_03-09-2025_05_42_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26422571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422582, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26422847, 'dashboard_result_id': 14645201, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_03-09-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26422888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422899, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26423247, 'dashboard_result_id': 14645202, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_03-09-2025_05_44_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423262, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26423697, 'dashboard_result_id': 14645203, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_03-09-2025_05_44_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423722, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26425366, 'dashboard_result_id': 14645204, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_03-09-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425458, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26425367, 'dashboard_result_id': 14645205, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_03-09-2025_05_45_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425428, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26425368, 'dashboard_result_id': 14645206, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_03-09-2025_05_46_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425380, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26426242, 'dashboard_result_id': 14645207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_03-09-2025_05_46_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426283, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26426742, 'dashboard_result_id': 14645208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_02-09-2025_07_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426756, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26426922, 'dashboard_result_id': 14645209, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_02-09-2025_07_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26426928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426939, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26427649, 'dashboard_result_id': 14645210, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_02-09-2025_08_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26427691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26427692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26427693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26427694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26427695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26427696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26427697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26427698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26427699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26427700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26427701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26427702, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26427997, 'dashboard_result_id': 14645211, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_02-09-2025_10_58_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26428044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26428045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26428046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26428047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26428048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26428049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26428050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26428051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26428052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26428053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26428054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26428055, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26429064, 'dashboard_result_id': 14645212, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429064_02-09-2025_10_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429189, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26429066, 'dashboard_result_id': 14645213, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429066_02-09-2025_10_57_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429112, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26429069, 'dashboard_result_id': 14645214, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429069_02-09-2025_09_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429082, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26430560, 'dashboard_result_id': 14645215, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26430560_02-09-2025_09_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26430574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26430575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26430576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26430577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26430578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26430579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26430580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26430581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26430582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26430583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26430584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26430585, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26431021, 'dashboard_result_id': 14645216, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431021_02-09-2025_10_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431061, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26431877, 'dashboard_result_id': 14645217, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431877_02-09-2025_10_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431894, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26432175, 'dashboard_result_id': 14645218, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432175_02-09-2025_10_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26432199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432205, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26432932, 'dashboard_result_id': 14645219, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432932_02-09-2025_10_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26432958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432969, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26433636, 'dashboard_result_id': 14645220, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26433636_02-09-2025_11_56_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26433703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26433704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26433705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26433706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26433707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26433708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26433709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26433710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26433711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26433712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26433713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26433714, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26434418, 'dashboard_result_id': 14645221, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26434418_02-09-2025_11_18_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26434426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26434427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26434428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26434429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26434430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26434431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26434432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26434433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26434434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26434435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26434436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26434437, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26435176, 'dashboard_result_id': 14645222, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435176_02-09-2025_11_33_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435196, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26435639, 'dashboard_result_id': 14645223, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435639_02-09-2025_11_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435667, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26435936, 'dashboard_result_id': 14645224, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435936_02-09-2025_13_00_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435973, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26437996, 'dashboard_result_id': 14645225, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26437996_02-09-2025_13_59_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26438000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26438001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26438003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26438004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26438005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26438007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26438008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26438009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26438010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438011, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26438994, 'dashboard_result_id': 14645226, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438994_02-09-2025_14_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439008, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26439239, 'dashboard_result_id': 14645227, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439239_02-09-2025_14_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439269, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26439847, 'dashboard_result_id': 14645228, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439847_02-09-2025_14_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26439863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439874, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26440428, 'dashboard_result_id': 14645229, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440428_02-09-2025_14_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440485, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26440892, 'dashboard_result_id': 14645230, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440892_02-09-2025_15_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440919, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26441460, 'dashboard_result_id': 14645231, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26441460_02-09-2025_15_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26441492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26441493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26441494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26441495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26441496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26441497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26441498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26441499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26441500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26441501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26441502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26441503, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26442297, 'dashboard_result_id': 14645232, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442297_02-09-2025_15_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26442302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442313, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26442757, 'dashboard_result_id': 14645233, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442757_02-09-2025_15_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26442789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442791, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26443340, 'dashboard_result_id': 14645234, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443340_02-09-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26443359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26443360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26443362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26443363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26443364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26443365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26443366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26443367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26443368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26443369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26443370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26443371, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26443863, 'dashboard_result_id': 14645235, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443863_02-09-2025_16_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26443876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26443877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26443878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26443879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26443880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26443881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26443882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26443883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26443884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26443885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26443886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26443887, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26444379, 'dashboard_result_id': 14645236, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444379_02-09-2025_16_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26444384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26444385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26444386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26444387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26444388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26444389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26444390, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26444391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26444392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26444393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26444394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26444395, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26444704, 'dashboard_result_id': 14645237, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444704_02-09-2025_16_48_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26444733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26444734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26444735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26444736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26444737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26444738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26444739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26444740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26444741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26444742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26444743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26444744, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26445193, 'dashboard_result_id': 14645238, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445193_02-09-2025_17_02_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26445219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26445220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26445221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26445222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26445223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26445224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26445225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26445226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26445227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26445228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26445229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26445230, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26445758, 'dashboard_result_id': 14645239, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445758_02-09-2025_17_18_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26445833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26445834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26445835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26445836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26445837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26445838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26445839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26445840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26445841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26445842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26445843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26445844, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26446696, 'dashboard_result_id': 14645240, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26446696_02-09-2025_18_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26446733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26446734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26446736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26446737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26446738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26446740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26446741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26446743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26446744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26446745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26446746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26446748, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26448770, 'dashboard_result_id': 14645241, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26448770_02-09-2025_18_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26448771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26448772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26448773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26448774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26448775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26448776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26448777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26448778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26448779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26448780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26448781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26448782, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26449340, 'dashboard_result_id': 14645242, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449340_02-09-2025_18_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26449345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26449346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26449347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26449348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26449349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26449350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26449351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26449352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26449353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26449354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26449355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26449356, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26449972, 'dashboard_result_id': 14645243, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449972_02-09-2025_18_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26450030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450040, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26450837, 'dashboard_result_id': 14645244, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26450837_02-09-2025_19_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26450849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450851, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450860, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26451319, 'dashboard_result_id': 14645245, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451319_02-09-2025_19_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451368, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26451938, 'dashboard_result_id': 14645246, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451938_02-09-2025_19_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451988, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26452404, 'dashboard_result_id': 14645247, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26452404_02-09-2025_19_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26452434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26452435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26452436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26452437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26452438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26452439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26452440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26452442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26452443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26452444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26452445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26452446, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26453009, 'dashboard_result_id': 14645248, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453009_02-09-2025_20_02_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453025, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26453547, 'dashboard_result_id': 14645249, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453547_02-09-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453603, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26454344, 'dashboard_result_id': 14645250, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26454344_02-09-2025_20_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26454369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26454370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26454371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26454372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26454373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26454374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26454375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26454376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26454377, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26454378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26454379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26454380, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26455141, 'dashboard_result_id': 14645251, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26455141_02-09-2025_20_50_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26455167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26455168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26455169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26455170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26455171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26455172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26455174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26455175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26455176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26455177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26455178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26455179, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26456193, 'dashboard_result_id': 14645252, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456193_02-09-2025_21_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456249, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26456881, 'dashboard_result_id': 14645253, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456881_02-09-2025_21_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456917, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26457358, 'dashboard_result_id': 14645254, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457358_02-09-2025_21_49_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26457435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457446, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26457917, 'dashboard_result_id': 14645255, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457917_02-09-2025_22_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26457964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457966, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26458595, 'dashboard_result_id': 14645256, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26458595_02-09-2025_22_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26458623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26458624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26458625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26458626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26458627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26458628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26458629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26458630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26458631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26458632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26458633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26458634, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26459238, 'dashboard_result_id': 14645257, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459238_02-09-2025_22_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459251, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26459901, 'dashboard_result_id': 14645258, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459901_02-09-2025_22_48_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459942, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26460689, 'dashboard_result_id': 14645259, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26460689_02-09-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26460746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26460747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26460748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26460749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26460750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26460751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26460752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26460753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26460754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26460755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26460756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26460757, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26461463, 'dashboard_result_id': 14645260, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461463_02-09-2025_23_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461485, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26461965, 'dashboard_result_id': 14645261, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461965_02-09-2025_23_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461987, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26462671, 'dashboard_result_id': 14645262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26462671_02-09-2025_23_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26462689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26462690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26462691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26462692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26462693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26462694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26462695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26462696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26462697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26462698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26462699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26462700, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26463320, 'dashboard_result_id': 14645263, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26463320_03-09-2025_00_55_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26463381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26463382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26463383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26463384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26463385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26463386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26463387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26463388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26463389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26463390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26463391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26463392, '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 = 26419800 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656464, 'mtr_portfolio_id': 26419800, 'created_at': datetime.datetime(2025, 9, 3, 5, 34, 58), 'result': '0.03686026602506332', 'result_long': None, 'result_double': None}] Qualite : 0.03686026602506332 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26419800 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_03-09-2025_05_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26419800 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_03-09-2025_05_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26419801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26419802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26419803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26419804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26419805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26419806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26419807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26419808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26419809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26419810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26419811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26419812, 'pht': 3726}}" where mtr_portfolio_id = 26419800 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26419800 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645188, 0.03686026602506332, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_03-09-2025_05_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26419801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26419802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26419803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26419804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26419805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26419806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26419807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26419808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26419809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26419810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26419811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26419812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420091 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656465, 'mtr_portfolio_id': 26420091, 'created_at': datetime.datetime(2025, 9, 3, 5, 35, 30), 'result': '0.0030135671054280005', 'result_long': None, 'result_double': None}] Qualite : 0.0030135671054280005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420091 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_03-09-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420091 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_03-09-2025_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420103, 'pht': 3726}}" where mtr_portfolio_id = 26420091 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420091 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645189, 0.0030135671054280005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_03-09-2025_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420103, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420215 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656466, 'mtr_portfolio_id': 26420215, 'created_at': datetime.datetime(2025, 9, 3, 5, 35, 58), 'result': '0.021580946659637567', 'result_long': None, 'result_double': None}] Qualite : 0.021580946659637567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_03-09-2025_05_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420215 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_03-09-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420227, 'pht': 3726}}" where mtr_portfolio_id = 26420215 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645190, 0.021580946659637567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_03-09-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420227, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420269 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656467, 'mtr_portfolio_id': 26420269, 'created_at': datetime.datetime(2025, 9, 3, 5, 36, 57), 'result': '0.024971925645642143', 'result_long': None, 'result_double': None}] Qualite : 0.024971925645642143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420269 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_03-09-2025_05_36_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420269 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_03-09-2025_05_36_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420281, 'pht': 3726}}" where mtr_portfolio_id = 26420269 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420269 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645191, 0.024971925645642143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_03-09-2025_05_36_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420281, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420665 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656468, 'mtr_portfolio_id': 26420665, 'created_at': datetime.datetime(2025, 9, 3, 5, 37, 29), 'result': '0.11729822377686816', 'result_long': None, 'result_double': None}] Qualite : 0.11729822377686816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_03-09-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_03-09-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420677, 'pht': 3726}}" where mtr_portfolio_id = 26420665 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645192, 0.11729822377686816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_03-09-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420677, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420821 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656469, 'mtr_portfolio_id': 26420821, 'created_at': datetime.datetime(2025, 9, 3, 5, 38), 'result': '0.017734543541633403', 'result_long': None, 'result_double': None}] Qualite : 0.017734543541633403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_03-09-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_03-09-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420833, 'pht': 3726}}" where mtr_portfolio_id = 26420821 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645193, 0.017734543541633403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_03-09-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420833, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421082 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656470, 'mtr_portfolio_id': 26421082, 'created_at': datetime.datetime(2025, 9, 3, 5, 38, 29), 'result': '0.047804041156876025', 'result_long': None, 'result_double': None}] Qualite : 0.047804041156876025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421082 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_03-09-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421082 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_03-09-2025_05_38_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421094, 'pht': 3726}}" where mtr_portfolio_id = 26421082 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421082 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645194, 0.047804041156876025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_03-09-2025_05_38_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421094, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656471, 'mtr_portfolio_id': 26421275, 'created_at': datetime.datetime(2025, 9, 3, 5, 39, 30), 'result': '0.02803459362490644', 'result_long': None, 'result_double': None}] Qualite : 0.02803459362490644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_03-09-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_03-09-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421288, 'pht': 3726}}" where mtr_portfolio_id = 26421275 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645195, 0.02803459362490644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_03-09-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421697 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656472, 'mtr_portfolio_id': 26421697, 'created_at': datetime.datetime(2025, 9, 3, 5, 39, 59), 'result': '0.032193565636688314', 'result_long': None, 'result_double': None}] Qualite : 0.032193565636688314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_03-09-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421697 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_03-09-2025_05_40_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421709, 'pht': 3726}}" where mtr_portfolio_id = 26421697 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645196, 0.032193565636688314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_03-09-2025_05_40_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421709, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421773 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656473, 'mtr_portfolio_id': 26421773, 'created_at': datetime.datetime(2025, 9, 3, 5, 40, 28), 'result': '0.041312166364478355', 'result_long': None, 'result_double': None}] Qualite : 0.041312166364478355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_03-09-2025_05_40_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_03-09-2025_05_40_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421786, 'pht': 3726}}" where mtr_portfolio_id = 26421773 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645197, 0.041312166364478355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_03-09-2025_05_40_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421786, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421852 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656474, 'mtr_portfolio_id': 26421852, 'created_at': datetime.datetime(2025, 9, 3, 5, 41, 28), 'result': '0.011354407159164243', 'result_long': None, 'result_double': None}] Qualite : 0.011354407159164243 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_03-09-2025_05_41_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_03-09-2025_05_41_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421864, 'pht': 3726}}" where mtr_portfolio_id = 26421852 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645198, 0.011354407159164243, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_03-09-2025_05_41_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421864, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26422348 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656475, 'mtr_portfolio_id': 26422348, 'created_at': datetime.datetime(2025, 9, 3, 5, 41, 59), 'result': '0.06504504754248332', 'result_long': None, 'result_double': None}] Qualite : 0.06504504754248332 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26422348 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_03-09-2025_05_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26422348 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_03-09-2025_05_42_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422361, 'pht': 3726}}" where mtr_portfolio_id = 26422348 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26422348 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645199, 0.06504504754248332, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_03-09-2025_05_42_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422361, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26422569 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656476, 'mtr_portfolio_id': 26422569, 'created_at': datetime.datetime(2025, 9, 3, 5, 42, 29), 'result': '0.054737163745790886', 'result_long': None, 'result_double': None}] Qualite : 0.054737163745790886 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26422569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_03-09-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26422569 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_03-09-2025_05_42_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26422571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422582, 'pht': 3726}}" where mtr_portfolio_id = 26422569 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26422569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645200, 0.054737163745790886, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_03-09-2025_05_42_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26422571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422582, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26422847 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656477, 'mtr_portfolio_id': 26422847, 'created_at': datetime.datetime(2025, 9, 3, 5, 43, 30), 'result': '0.052518251535466014', 'result_long': None, 'result_double': None}] Qualite : 0.052518251535466014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26422847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_03-09-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26422847 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_03-09-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26422888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422899, 'pht': 3726}}" where mtr_portfolio_id = 26422847 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26422847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645201, 0.052518251535466014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_03-09-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26422888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422899, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26423247 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656478, 'mtr_portfolio_id': 26423247, 'created_at': datetime.datetime(2025, 9, 3, 5, 44, 1), 'result': '0.05046983386628025', 'result_long': None, 'result_double': None}] Qualite : 0.05046983386628025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26423247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_03-09-2025_05_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26423247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_03-09-2025_05_44_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423262, 'pht': 3726}}" where mtr_portfolio_id = 26423247 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26423247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645202, 0.05046983386628025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_03-09-2025_05_44_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423262, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26423697 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656479, 'mtr_portfolio_id': 26423697, 'created_at': datetime.datetime(2025, 9, 3, 5, 44, 31), 'result': '0.09345634243956515', 'result_long': None, 'result_double': None}] Qualite : 0.09345634243956515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26423697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_03-09-2025_05_44_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26423697 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_03-09-2025_05_44_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423722, 'pht': 3726}}" where mtr_portfolio_id = 26423697 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26423697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645203, 0.09345634243956515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_03-09-2025_05_44_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423722, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26425366 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656480, 'mtr_portfolio_id': 26425366, 'created_at': datetime.datetime(2025, 9, 3, 5, 45, 30), 'result': '0.05077312142044408', 'result_long': None, 'result_double': None}] Qualite : 0.05077312142044408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26425366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_03-09-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26425366 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_03-09-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425458, 'pht': 3726}}" where mtr_portfolio_id = 26425366 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26425366 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645204, 0.05077312142044408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_03-09-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425458, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26425367 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656481, 'mtr_portfolio_id': 26425367, 'created_at': datetime.datetime(2025, 9, 3, 5, 45, 39), 'result': '0.05073036604512406', 'result_long': None, 'result_double': None}] Qualite : 0.05073036604512406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26425367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_03-09-2025_05_45_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26425367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_03-09-2025_05_45_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425428, 'pht': 3726}}" where mtr_portfolio_id = 26425367 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26425367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645205, 0.05073036604512406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_03-09-2025_05_45_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425428, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26425368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656482, 'mtr_portfolio_id': 26425368, 'created_at': datetime.datetime(2025, 9, 3, 5, 45, 58), 'result': '0.05544199859996701', 'result_long': None, 'result_double': None}] Qualite : 0.05544199859996701 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26425368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_03-09-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26425368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_03-09-2025_05_46_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425380, 'pht': 3726}}" where mtr_portfolio_id = 26425368 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26425368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645206, 0.05544199859996701, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_03-09-2025_05_46_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425380, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26426242 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656483, 'mtr_portfolio_id': 26426242, 'created_at': datetime.datetime(2025, 9, 3, 5, 46, 26), 'result': '0.04225780702116336', 'result_long': None, 'result_double': None}] Qualite : 0.04225780702116336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26426242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_03-09-2025_05_46_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26426242 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_03-09-2025_05_46_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426283, 'pht': 3726}}" where mtr_portfolio_id = 26426242 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26426242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645207, 0.04225780702116336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_03-09-2025_05_46_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426283, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26426742 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656484, 'mtr_portfolio_id': 26426742, 'created_at': datetime.datetime(2025, 9, 3, 5, 48), 'result': '0.053293942207177196', 'result_long': None, 'result_double': None}] Qualite : 0.053293942207177196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26426742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_03-09-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26426742 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_03-09-2025_05_48_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426756, 'pht': 3726}}" where mtr_portfolio_id = 26426742 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26426742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645208, 0.053293942207177196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_03-09-2025_05_48_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426756, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26426922 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650264, 'mtr_portfolio_id': 26426922, 'created_at': datetime.datetime(2025, 9, 2, 7, 48, 58), 'result': '0.07815691925885802', 'result_long': None, 'result_double': None}] Qualite : 0.07815691925885802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26426922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_02-09-2025_07_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26426922 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_02-09-2025_07_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26426928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426939, 'pht': 3726}}" where mtr_portfolio_id = 26426922 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26426922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645209, 0.07815691925885802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_02-09-2025_07_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26426928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426939, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427649 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650333, 'mtr_portfolio_id': 26427649, 'created_at': datetime.datetime(2025, 9, 2, 8, 3, 1), 'result': '0.0064983107930800255', 'result_long': None, 'result_double': None}] Qualite : 0.0064983107930800255 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26427649 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_02-09-2025_08_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26427649 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_02-09-2025_08_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26427691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26427692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26427693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26427694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26427695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26427696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26427697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26427698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26427699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26427700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26427701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26427702, 'pht': 3726}}" where mtr_portfolio_id = 26427649 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26427649 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645210, 0.0064983107930800255, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_02-09-2025_08_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26427691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26427692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26427693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26427694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26427695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26427696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26427697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26427698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26427699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26427700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26427701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26427702, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427997 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 = 26427997 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 = 26427997 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427997 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 = 26427997 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 = 26427997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_02-09-2025_10_58_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26427997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_02-09-2025_10_58_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26428044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26428045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26428046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26428047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26428048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26428049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26428050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26428051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26428052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26428053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26428054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26428055, 'pht': 3726}}" where mtr_portfolio_id = 26427997 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429064 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651285, 'mtr_portfolio_id': 26429064, 'created_at': datetime.datetime(2025, 9, 2, 10, 57, 29), 'result': '0.04928245450208556', 'result_long': None, 'result_double': None}] Qualite : 0.04928245450208556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26429064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429064_02-09-2025_10_57_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26429064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429064_02-09-2025_10_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429189, 'pht': 3726}}" where mtr_portfolio_id = 26429064 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26429064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645212, 0.04928245450208556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429064_02-09-2025_10_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429189, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429066 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651286, 'mtr_portfolio_id': 26429066, 'created_at': datetime.datetime(2025, 9, 2, 10, 56, 59), 'result': '0.06253374620855036', 'result_long': None, 'result_double': None}] Qualite : 0.06253374620855036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26429066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429066_02-09-2025_10_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26429066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429066_02-09-2025_10_57_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429112, 'pht': 3726}}" where mtr_portfolio_id = 26429066 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26429066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645213, 0.06253374620855036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429066_02-09-2025_10_57_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429112, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429069 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650450, 'mtr_portfolio_id': 26429069, 'created_at': datetime.datetime(2025, 9, 2, 9, 32, 57), 'result': '0.08166377855555111', 'result_long': None, 'result_double': None}] Qualite : 0.08166377855555111 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26429069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429069_02-09-2025_09_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26429069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429069_02-09-2025_09_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429082, 'pht': 3726}}" where mtr_portfolio_id = 26429069 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26429069 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645214, 0.08166377855555111, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429069_02-09-2025_09_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429082, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26430560 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650688, 'mtr_portfolio_id': 26430560, 'created_at': datetime.datetime(2025, 9, 2, 9, 49), 'result': '0.06947375716795579', 'result_long': None, 'result_double': None}] Qualite : 0.06947375716795579 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26430560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26430560_02-09-2025_09_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26430560 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26430560_02-09-2025_09_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26430574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26430575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26430576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26430577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26430578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26430579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26430580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26430581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26430582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26430583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26430584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26430585, 'pht': 3726}}" where mtr_portfolio_id = 26430560 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26430560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645215, 0.06947375716795579, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26430560_02-09-2025_09_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26430574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26430575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26430576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26430577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26430578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26430579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26430580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26430581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26430582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26430583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26430584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26430585, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26431021 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650737, 'mtr_portfolio_id': 26431021, 'created_at': datetime.datetime(2025, 9, 2, 10, 3, 28), 'result': '0.04648616721703691', 'result_long': None, 'result_double': None}] Qualite : 0.04648616721703691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26431021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431021_02-09-2025_10_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26431021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431021_02-09-2025_10_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431061, 'pht': 3726}}" where mtr_portfolio_id = 26431021 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26431021 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645216, 0.04648616721703691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431021_02-09-2025_10_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431061, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26431877 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650867, 'mtr_portfolio_id': 26431877, 'created_at': datetime.datetime(2025, 9, 2, 10, 18, 29), 'result': '0.029112940950147572', 'result_long': None, 'result_double': None}] Qualite : 0.029112940950147572 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26431877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431877_02-09-2025_10_18_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26431877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431877_02-09-2025_10_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431894, 'pht': 3726}}" where mtr_portfolio_id = 26431877 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26431877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645217, 0.029112940950147572, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431877_02-09-2025_10_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431894, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26432175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650915, 'mtr_portfolio_id': 26432175, 'created_at': datetime.datetime(2025, 9, 2, 10, 33), 'result': '0.025717990244983273', 'result_long': None, 'result_double': None}] Qualite : 0.025717990244983273 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26432175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432175_02-09-2025_10_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26432175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432175_02-09-2025_10_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26432199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432205, 'pht': 3726}}" where mtr_portfolio_id = 26432175 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26432175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645218, 0.025717990244983273, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432175_02-09-2025_10_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26432199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432205, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26432932 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651045, 'mtr_portfolio_id': 26432932, 'created_at': datetime.datetime(2025, 9, 2, 10, 48, 57), 'result': '0.0545022621205445', 'result_long': None, 'result_double': None}] Qualite : 0.0545022621205445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26432932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432932_02-09-2025_10_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26432932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432932_02-09-2025_10_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26432958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432969, 'pht': 3726}}" where mtr_portfolio_id = 26432932 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26432932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645219, 0.0545022621205445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432932_02-09-2025_10_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26432958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26433636 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651130, 'mtr_portfolio_id': 26433636, 'created_at': datetime.datetime(2025, 9, 2, 11, 56, 30), 'result': '0.0837256333957793', 'result_long': None, 'result_double': None}] Qualite : 0.0837256333957793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26433636 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26433636_02-09-2025_11_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26433636 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26433636_02-09-2025_11_56_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26433703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26433704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26433705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26433706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26433707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26433708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26433709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26433710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26433711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26433712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26433713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26433714, 'pht': 3726}}" where mtr_portfolio_id = 26433636 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26433636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645220, 0.0837256333957793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26433636_02-09-2025_11_56_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26433703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26433704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26433705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26433706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26433707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26433708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26433709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26433710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26433711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26433712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26433713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26433714, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26434418 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651380, 'mtr_portfolio_id': 26434418, 'created_at': datetime.datetime(2025, 9, 2, 11, 18, 29), 'result': '0.04458375694838719', 'result_long': None, 'result_double': None}] Qualite : 0.04458375694838719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26434418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26434418_02-09-2025_11_18_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26434418 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26434418_02-09-2025_11_18_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26434426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26434427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26434428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26434429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26434430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26434431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26434432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26434433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26434434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26434435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26434436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26434437, 'pht': 3726}}" where mtr_portfolio_id = 26434418 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26434418 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645221, 0.04458375694838719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26434418_02-09-2025_11_18_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26434426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26434427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26434428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26434429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26434430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26434431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26434432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26434433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26434434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26434435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26434436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26434437, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435176 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 = 26435176 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 = 26435176 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435176 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 = 26435176 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 = 26435176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435176_02-09-2025_11_33_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26435176 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435176_02-09-2025_11_33_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435196, 'pht': 3726}}" where mtr_portfolio_id = 26435176 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435639 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 = 26435639 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 = 26435639 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435639 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 = 26435639 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 = 26435639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435639_02-09-2025_11_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26435639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435639_02-09-2025_11_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435667, 'pht': 3726}}" where mtr_portfolio_id = 26435639 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435936 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651514, 'mtr_portfolio_id': 26435936, 'created_at': datetime.datetime(2025, 9, 2, 13, 0, 29), 'result': '0.06918039650787307', 'result_long': None, 'result_double': None}] Qualite : 0.06918039650787307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26435936 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435936_02-09-2025_13_00_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26435936 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435936_02-09-2025_13_00_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435973, 'pht': 3726}}" where mtr_portfolio_id = 26435936 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26435936 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645224, 0.06918039650787307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435936_02-09-2025_13_00_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435973, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26437996 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651781, 'mtr_portfolio_id': 26437996, 'created_at': datetime.datetime(2025, 9, 2, 13, 59, 58), 'result': '0.06487771982379276', 'result_long': None, 'result_double': None}] Qualite : 0.06487771982379276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26437996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26437996_02-09-2025_13_59_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26437996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26437996_02-09-2025_13_59_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26438000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26438001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26438003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26438004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26438005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26438007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26438008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26438009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26438010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438011, 'pht': 3726}}" where mtr_portfolio_id = 26437996 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26437996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645225, 0.06487771982379276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26437996_02-09-2025_13_59_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26438000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26438001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26438003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26438004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26438005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26438007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26438008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26438009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26438010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438011, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26438994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651902, 'mtr_portfolio_id': 26438994, 'created_at': datetime.datetime(2025, 9, 2, 14, 2, 59), 'result': '0.0514167746937567', 'result_long': None, 'result_double': None}] Qualite : 0.0514167746937567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26438994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438994_02-09-2025_14_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26438994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438994_02-09-2025_14_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439008, 'pht': 3726}}" where mtr_portfolio_id = 26438994 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26438994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645226, 0.0514167746937567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438994_02-09-2025_14_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439008, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26439239 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651947, 'mtr_portfolio_id': 26439239, 'created_at': datetime.datetime(2025, 9, 2, 14, 18, 58), 'result': '0.040271574377869566', 'result_long': None, 'result_double': None}] Qualite : 0.040271574377869566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26439239 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439239_02-09-2025_14_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26439239 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439239_02-09-2025_14_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439269, 'pht': 3726}}" where mtr_portfolio_id = 26439239 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26439239 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645227, 0.040271574377869566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439239_02-09-2025_14_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439269, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26439847 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652019, 'mtr_portfolio_id': 26439847, 'created_at': datetime.datetime(2025, 9, 2, 14, 32, 57), 'result': '0.07007570620751657', 'result_long': None, 'result_double': None}] Qualite : 0.07007570620751657 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26439847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439847_02-09-2025_14_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26439847 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439847_02-09-2025_14_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26439863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439874, 'pht': 3726}}" where mtr_portfolio_id = 26439847 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26439847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645228, 0.07007570620751657, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439847_02-09-2025_14_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26439863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439874, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26440428 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652091, 'mtr_portfolio_id': 26440428, 'created_at': datetime.datetime(2025, 9, 2, 14, 49), 'result': '0.09138343852938557', 'result_long': None, 'result_double': None}] Qualite : 0.09138343852938557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26440428 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440428_02-09-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26440428 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440428_02-09-2025_14_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440485, 'pht': 3726}}" where mtr_portfolio_id = 26440428 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26440428 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645229, 0.09138343852938557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440428_02-09-2025_14_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26440892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652143, 'mtr_portfolio_id': 26440892, 'created_at': datetime.datetime(2025, 9, 2, 15, 2, 59), 'result': '0.061975130028068745', 'result_long': None, 'result_double': None}] Qualite : 0.061975130028068745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26440892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440892_02-09-2025_15_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26440892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440892_02-09-2025_15_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440919, 'pht': 3726}}" where mtr_portfolio_id = 26440892 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26440892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645230, 0.061975130028068745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440892_02-09-2025_15_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440919, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26441460 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652243, 'mtr_portfolio_id': 26441460, 'created_at': datetime.datetime(2025, 9, 2, 15, 18, 56), 'result': '0.037136621543279576', 'result_long': None, 'result_double': None}] Qualite : 0.037136621543279576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26441460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26441460_02-09-2025_15_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26441460 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26441460_02-09-2025_15_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26441492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26441493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26441494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26441495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26441496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26441497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26441498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26441499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26441500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26441501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26441502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26441503, 'pht': 3726}}" where mtr_portfolio_id = 26441460 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26441460 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645231, 0.037136621543279576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26441460_02-09-2025_15_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26441492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26441493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26441494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26441495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26441496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26441497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26441498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26441499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26441500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26441501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26441502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26441503, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26442297 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652341, 'mtr_portfolio_id': 26442297, 'created_at': datetime.datetime(2025, 9, 2, 15, 33), 'result': '0.044398406937729694', 'result_long': None, 'result_double': None}] Qualite : 0.044398406937729694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26442297 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442297_02-09-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26442297 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442297_02-09-2025_15_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26442302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442313, 'pht': 3726}}" where mtr_portfolio_id = 26442297 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26442297 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645232, 0.044398406937729694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442297_02-09-2025_15_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26442302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442313, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26442757 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652410, 'mtr_portfolio_id': 26442757, 'created_at': datetime.datetime(2025, 9, 2, 15, 49, 1), 'result': '0.06241485380856781', 'result_long': None, 'result_double': None}] Qualite : 0.06241485380856781 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26442757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442757_02-09-2025_15_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26442757 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442757_02-09-2025_15_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26442789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442791, 'pht': 3726}}" where mtr_portfolio_id = 26442757 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26442757 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645233, 0.06241485380856781, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442757_02-09-2025_15_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26442789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442791, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26443340 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652506, 'mtr_portfolio_id': 26443340, 'created_at': datetime.datetime(2025, 9, 2, 16, 2, 58), 'result': '0.0781427020288136', 'result_long': None, 'result_double': None}] Qualite : 0.0781427020288136 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26443340 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443340_02-09-2025_16_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26443340 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443340_02-09-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26443359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26443360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26443362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26443363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26443364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26443365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26443366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26443367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26443368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26443369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26443370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26443371, 'pht': 3726}}" where mtr_portfolio_id = 26443340 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26443340 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645234, 0.0781427020288136, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443340_02-09-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26443359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26443360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26443362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26443363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26443364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26443365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26443366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26443367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26443368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26443369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26443370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26443371, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26443863 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 = 26443863 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 = 26443863 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26443863 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 = 26443863 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 = 26443863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443863_02-09-2025_16_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26443863 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443863_02-09-2025_16_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26443876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26443877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26443878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26443879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26443880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26443881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26443882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26443883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26443884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26443885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26443886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26443887, 'pht': 3726}}" where mtr_portfolio_id = 26443863 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444379 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 = 26444379 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 = 26444379 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444379 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 = 26444379 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 = 26444379 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444379_02-09-2025_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26444379 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444379_02-09-2025_16_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26444384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26444385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26444386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26444387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26444388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26444389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26444390, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26444391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26444392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26444393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26444394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26444395, 'pht': 3726}}" where mtr_portfolio_id = 26444379 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444704 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 = 26444704 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 = 26444704 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444704 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 = 26444704 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 = 26444704 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444704_02-09-2025_16_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26444704 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444704_02-09-2025_16_48_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26444733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26444734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26444735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26444736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26444737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26444738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26444739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26444740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26444741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26444742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26444743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26444744, 'pht': 3726}}" where mtr_portfolio_id = 26444704 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26445193 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 = 26445193 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 = 26445193 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26445193 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 = 26445193 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 = 26445193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445193_02-09-2025_17_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26445193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445193_02-09-2025_17_02_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26445219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26445220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26445221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26445222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26445223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26445224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26445225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26445226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26445227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26445228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26445229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26445230, 'pht': 3726}}" where mtr_portfolio_id = 26445193 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26445758 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652749, 'mtr_portfolio_id': 26445758, 'created_at': datetime.datetime(2025, 9, 2, 17, 18, 57), 'result': '0.10960894998911164', 'result_long': None, 'result_double': None}] Qualite : 0.10960894998911164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26445758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445758_02-09-2025_17_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26445758 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445758_02-09-2025_17_18_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26445833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26445834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26445835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26445836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26445837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26445838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26445839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26445840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26445841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26445842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26445843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26445844, 'pht': 3726}}" where mtr_portfolio_id = 26445758 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26445758 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645239, 0.10960894998911164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445758_02-09-2025_17_18_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26445833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26445834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26445835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26445836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26445837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26445838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26445839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26445840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26445841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26445842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26445843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26445844, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26446696 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652897, 'mtr_portfolio_id': 26446696, 'created_at': datetime.datetime(2025, 9, 2, 18, 2, 29), 'result': '0.06445261773741175', 'result_long': None, 'result_double': None}] Qualite : 0.06445261773741175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26446696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26446696_02-09-2025_18_02_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26446696 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26446696_02-09-2025_18_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26446733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26446734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26446736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26446737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26446738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26446740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26446741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26446743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26446744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26446745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26446746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26446748, 'pht': 3726}}" where mtr_portfolio_id = 26446696 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26446696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645240, 0.06445261773741175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26446696_02-09-2025_18_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26446733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26446734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26446736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26446737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26446738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26446740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26446741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26446743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26446744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26446745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26446746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26446748, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26448770 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653206, 'mtr_portfolio_id': 26448770, 'created_at': datetime.datetime(2025, 9, 2, 18, 17), 'result': '0.06991538297304006', 'result_long': None, 'result_double': None}] Qualite : 0.06991538297304006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26448770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26448770_02-09-2025_18_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26448770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26448770_02-09-2025_18_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26448771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26448772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26448773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26448774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26448775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26448776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26448777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26448778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26448779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26448780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26448781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26448782, 'pht': 3726}}" where mtr_portfolio_id = 26448770 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26448770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645241, 0.06991538297304006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26448770_02-09-2025_18_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26448771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26448772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26448773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26448774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26448775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26448776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26448777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26448778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26448779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26448780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26448781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26448782, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26449340 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653245, 'mtr_portfolio_id': 26449340, 'created_at': datetime.datetime(2025, 9, 2, 18, 33), 'result': '0.0690935947935456', 'result_long': None, 'result_double': None}] Qualite : 0.0690935947935456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26449340 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449340_02-09-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26449340 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449340_02-09-2025_18_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26449345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26449346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26449347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26449348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26449349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26449350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26449351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26449352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26449353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26449354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26449355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26449356, 'pht': 3726}}" where mtr_portfolio_id = 26449340 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26449340 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645242, 0.0690935947935456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449340_02-09-2025_18_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26449345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26449346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26449347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26449348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26449349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26449350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26449351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26449352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26449353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26449354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26449355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26449356, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26449972 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653325, 'mtr_portfolio_id': 26449972, 'created_at': datetime.datetime(2025, 9, 2, 18, 48, 58), 'result': '0.06865899681288169', 'result_long': None, 'result_double': None}] Qualite : 0.06865899681288169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26449972 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449972_02-09-2025_18_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26449972 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449972_02-09-2025_18_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26450030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450040, 'pht': 3726}}" where mtr_portfolio_id = 26449972 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26449972 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645243, 0.06865899681288169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449972_02-09-2025_18_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26450030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450040, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26450837 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653413, 'mtr_portfolio_id': 26450837, 'created_at': datetime.datetime(2025, 9, 2, 19, 2, 57), 'result': '0.058060051255354565', 'result_long': None, 'result_double': None}] Qualite : 0.058060051255354565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26450837 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26450837_02-09-2025_19_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26450837 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26450837_02-09-2025_19_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26450849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450851, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450860, 'pht': 3726}}" where mtr_portfolio_id = 26450837 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26450837 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645244, 0.058060051255354565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26450837_02-09-2025_19_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26450849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450851, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450860, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26451319 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653520, 'mtr_portfolio_id': 26451319, 'created_at': datetime.datetime(2025, 9, 2, 19, 19, 1), 'result': '0.04851041283944244', 'result_long': None, 'result_double': None}] Qualite : 0.04851041283944244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26451319 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451319_02-09-2025_19_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26451319 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451319_02-09-2025_19_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451368, 'pht': 3726}}" where mtr_portfolio_id = 26451319 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26451319 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645245, 0.04851041283944244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451319_02-09-2025_19_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451368, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26451938 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653592, 'mtr_portfolio_id': 26451938, 'created_at': datetime.datetime(2025, 9, 2, 19, 33, 1), 'result': '0.057421594092015096', 'result_long': None, 'result_double': None}] Qualite : 0.057421594092015096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26451938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451938_02-09-2025_19_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26451938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451938_02-09-2025_19_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451988, 'pht': 3726}}" where mtr_portfolio_id = 26451938 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26451938 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645246, 0.057421594092015096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451938_02-09-2025_19_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451988, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26452404 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653683, 'mtr_portfolio_id': 26452404, 'created_at': datetime.datetime(2025, 9, 2, 19, 48, 30), 'result': '0.058542894410272044', 'result_long': None, 'result_double': None}] Qualite : 0.058542894410272044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26452404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26452404_02-09-2025_19_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26452404 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26452404_02-09-2025_19_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26452434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26452435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26452436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26452437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26452438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26452439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26452440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26452442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26452443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26452444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26452445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26452446, 'pht': 3726}}" where mtr_portfolio_id = 26452404 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26452404 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645247, 0.058542894410272044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26452404_02-09-2025_19_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26452434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26452435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26452436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26452437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26452438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26452439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26452440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26452442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26452443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26452444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26452445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26452446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26453009 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653774, 'mtr_portfolio_id': 26453009, 'created_at': datetime.datetime(2025, 9, 2, 20, 2, 56), 'result': '0.0429403353139291', 'result_long': None, 'result_double': None}] Qualite : 0.0429403353139291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26453009 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453009_02-09-2025_20_02_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26453009 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453009_02-09-2025_20_02_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453025, 'pht': 3726}}" where mtr_portfolio_id = 26453009 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26453009 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645248, 0.0429403353139291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453009_02-09-2025_20_02_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453025, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26453547 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653870, 'mtr_portfolio_id': 26453547, 'created_at': datetime.datetime(2025, 9, 2, 20, 18, 58), 'result': '0.04569946737961557', 'result_long': None, 'result_double': None}] Qualite : 0.04569946737961557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26453547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453547_02-09-2025_20_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26453547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453547_02-09-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453603, 'pht': 3726}}" where mtr_portfolio_id = 26453547 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26453547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645249, 0.04569946737961557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453547_02-09-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453603, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26454344 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653954, 'mtr_portfolio_id': 26454344, 'created_at': datetime.datetime(2025, 9, 2, 20, 32, 59), 'result': '0.061579871098608144', 'result_long': None, 'result_double': None}] Qualite : 0.061579871098608144 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26454344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26454344_02-09-2025_20_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26454344 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26454344_02-09-2025_20_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26454369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26454370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26454371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26454372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26454373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26454374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26454375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26454376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26454377, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26454378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26454379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26454380, 'pht': 3726}}" where mtr_portfolio_id = 26454344 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26454344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645250, 0.061579871098608144, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26454344_02-09-2025_20_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26454369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26454370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26454371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26454372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26454373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26454374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26454375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26454376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26454377, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26454378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26454379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26454380, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26455141 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654054, 'mtr_portfolio_id': 26455141, 'created_at': datetime.datetime(2025, 9, 2, 20, 50, 57), 'result': '0.047972598287834615', 'result_long': None, 'result_double': None}] Qualite : 0.047972598287834615 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26455141 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26455141_02-09-2025_20_50_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26455141 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26455141_02-09-2025_20_50_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26455167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26455168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26455169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26455170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26455171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26455172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26455174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26455175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26455176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26455177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26455178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26455179, 'pht': 3726}}" where mtr_portfolio_id = 26455141 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26455141 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645251, 0.047972598287834615, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26455141_02-09-2025_20_50_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26455167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26455168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26455169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26455170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26455171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26455172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26455174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26455175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26455176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26455177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26455178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26455179, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26456193 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654216, 'mtr_portfolio_id': 26456193, 'created_at': datetime.datetime(2025, 9, 2, 21, 18, 59), 'result': '0.0698195077725636', 'result_long': None, 'result_double': None}] Qualite : 0.0698195077725636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26456193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456193_02-09-2025_21_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26456193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456193_02-09-2025_21_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456249, 'pht': 3726}}" where mtr_portfolio_id = 26456193 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26456193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645252, 0.0698195077725636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456193_02-09-2025_21_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456249, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26456881 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654285, 'mtr_portfolio_id': 26456881, 'created_at': datetime.datetime(2025, 9, 2, 21, 32, 59), 'result': '0.059820660685930865', 'result_long': None, 'result_double': None}] Qualite : 0.059820660685930865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26456881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456881_02-09-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26456881 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456881_02-09-2025_21_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456917, 'pht': 3726}}" where mtr_portfolio_id = 26456881 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26456881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645253, 0.059820660685930865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456881_02-09-2025_21_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456917, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26457358 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654351, 'mtr_portfolio_id': 26457358, 'created_at': datetime.datetime(2025, 9, 2, 21, 49, 31), 'result': '0.07068598631156234', 'result_long': None, 'result_double': None}] Qualite : 0.07068598631156234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26457358 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457358_02-09-2025_21_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26457358 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457358_02-09-2025_21_49_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26457435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457446, 'pht': 3726}}" where mtr_portfolio_id = 26457358 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26457358 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645254, 0.07068598631156234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457358_02-09-2025_21_49_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26457435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26457917 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654414, 'mtr_portfolio_id': 26457917, 'created_at': datetime.datetime(2025, 9, 2, 22, 3, 1), 'result': '0.0448974376165026', 'result_long': None, 'result_double': None}] Qualite : 0.0448974376165026 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26457917 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457917_02-09-2025_22_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26457917 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457917_02-09-2025_22_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26457964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457966, 'pht': 3726}}" where mtr_portfolio_id = 26457917 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26457917 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645255, 0.0448974376165026, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457917_02-09-2025_22_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26457964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457966, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26458595 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654549, 'mtr_portfolio_id': 26458595, 'created_at': datetime.datetime(2025, 9, 2, 22, 18, 59), 'result': '0.05409601449068412', 'result_long': None, 'result_double': None}] Qualite : 0.05409601449068412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26458595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26458595_02-09-2025_22_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26458595 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26458595_02-09-2025_22_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26458623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26458624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26458625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26458626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26458627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26458628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26458629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26458630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26458631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26458632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26458633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26458634, 'pht': 3726}}" where mtr_portfolio_id = 26458595 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26458595 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645256, 0.05409601449068412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26458595_02-09-2025_22_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26458623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26458624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26458625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26458626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26458627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26458628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26458629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26458630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26458631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26458632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26458633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26458634, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26459238 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654651, 'mtr_portfolio_id': 26459238, 'created_at': datetime.datetime(2025, 9, 2, 22, 33), 'result': '0.059058494017710995', 'result_long': None, 'result_double': None}] Qualite : 0.059058494017710995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26459238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459238_02-09-2025_22_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26459238 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459238_02-09-2025_22_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459251, 'pht': 3726}}" where mtr_portfolio_id = 26459238 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26459238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645257, 0.059058494017710995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459238_02-09-2025_22_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459251, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26459901 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654738, 'mtr_portfolio_id': 26459901, 'created_at': datetime.datetime(2025, 9, 2, 22, 48, 30), 'result': '0.06144773620050309', 'result_long': None, 'result_double': None}] Qualite : 0.06144773620050309 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26459901 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459901_02-09-2025_22_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26459901 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459901_02-09-2025_22_48_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459942, 'pht': 3726}}" where mtr_portfolio_id = 26459901 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26459901 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645258, 0.06144773620050309, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459901_02-09-2025_22_48_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459942, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26460689 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654805, 'mtr_portfolio_id': 26460689, 'created_at': datetime.datetime(2025, 9, 2, 23, 2, 59), 'result': '0.05782972836961722', 'result_long': None, 'result_double': None}] Qualite : 0.05782972836961722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26460689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26460689_02-09-2025_23_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26460689 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26460689_02-09-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26460746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26460747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26460748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26460749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26460750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26460751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26460752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26460753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26460754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26460755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26460756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26460757, 'pht': 3726}}" where mtr_portfolio_id = 26460689 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26460689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645259, 0.05782972836961722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26460689_02-09-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26460746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26460747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26460748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26460749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26460750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26460751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26460752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26460753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26460754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26460755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26460756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26460757, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26461463 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654904, 'mtr_portfolio_id': 26461463, 'created_at': datetime.datetime(2025, 9, 2, 23, 19, 28), 'result': '0.05204437013344151', 'result_long': None, 'result_double': None}] Qualite : 0.05204437013344151 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26461463 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461463_02-09-2025_23_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26461463 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461463_02-09-2025_23_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461485, 'pht': 3726}}" where mtr_portfolio_id = 26461463 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26461463 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645260, 0.05204437013344151, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461463_02-09-2025_23_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26461965 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654976, 'mtr_portfolio_id': 26461965, 'created_at': datetime.datetime(2025, 9, 2, 23, 34, 30), 'result': '0.07330386158865412', 'result_long': None, 'result_double': None}] Qualite : 0.07330386158865412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26461965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461965_02-09-2025_23_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26461965 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461965_02-09-2025_23_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461987, 'pht': 3726}}" where mtr_portfolio_id = 26461965 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26461965 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645261, 0.07330386158865412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461965_02-09-2025_23_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461987, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26462671 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3655075, 'mtr_portfolio_id': 26462671, 'created_at': datetime.datetime(2025, 9, 2, 23, 48, 58), 'result': '0.05410397443114774', 'result_long': None, 'result_double': None}] Qualite : 0.05410397443114774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26462671 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26462671_02-09-2025_23_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26462671 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26462671_02-09-2025_23_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26462689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26462690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26462691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26462692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26462693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26462694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26462695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26462696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26462697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26462698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26462699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26462700, 'pht': 3726}}" where mtr_portfolio_id = 26462671 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26462671 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645262, 0.05410397443114774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26462671_02-09-2025_23_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26462689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26462690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26462691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26462692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26462693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26462694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26462695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26462696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26462697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26462698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26462699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26462700, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26463320 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3655149, 'mtr_portfolio_id': 26463320, 'created_at': datetime.datetime(2025, 9, 3, 0, 55, 59), 'result': '0.06671159348112032', 'result_long': None, 'result_double': None}] Qualite : 0.06671159348112032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26463320 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26463320_03-09-2025_00_55_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26463320 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26463320_03-09-2025_00_55_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26463381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26463382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26463383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26463384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26463385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26463386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26463387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26463388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26463389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26463390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26463391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26463392, 'pht': 3726}}" where mtr_portfolio_id = 26463320 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26463320 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645263, 0.06671159348112032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26463320_03-09-2025_00_55_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26463381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26463382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26463383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26463384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26463385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26463386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26463387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26463388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26463389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26463390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26463391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26463392, '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 (26419800,26420091,26420215,26420269,26420665,26420821,26421082,26421275,26421697,26421773,26421852,26422348,26422569,26422847,26423247,26423697,26425366,26425367,26425368,26426242,26426742,26426922,26427649,26427997,26429064,26429066,26429069,26430560,26431021,26431877,26432175,26432932,26433636,26434418,26435176,26435639,26435936,26437996,26438994,26439239,26439847,26440428,26440892,26441460,26442297,26442757,26443340,26443863,26444379,26444704,26445193,26445758,26446696,26448770,26449340,26449972,26450837,26451319,26451938,26452404,26453009,26453547,26454344,26455141,26456193,26456881,26457358,26457917,26458595,26459238,26459901,26460689,26461463,26461965,26462671,26463320) result : ((1380746927,), (1380746929,), (1380747076,), (1380747077,), (1380747078,), (1380747090,), (1380747136,), (1380747157,), (1380747158,), (1380747673,), (1380747675,), (1380747677,), (1380747745,), (1380747808,), (1380748022,), (1380747872,), (1380748234,), (1380748235,), (1380748316,), (1380748660,), (1380748661,), (1380748801,), (1380748822,), (1380748859,), (1380748919,), (1380748922,), (1380748976,), (1380749079,), (1380749223,), (1380749240,), (1380749270,), (1380749336,), (1380749439,), (1380749491,), (1380749492,), (1380750502,), (1380750974,), (1380750975,), (1380751018,), (1380751029,), (1380754439,), (1380754438,), (1380754608,), (1380754609,), (1380754648,), (1380754649,), (1380754650,), (1380754672,), (1380754674,), (1380754675,), (1380754676,), (1380754744,), (1380754745,), (1380754788,), (1380754789,), (1380754811,), (1380754832,), (1380754849,), (1380754871,), (1380754892,), (1380754909,), (1380754959,), (1380754956,), (1380755028,), (1380755060,), (1380755121,), (1380755186,), (1380755282,), (1380755347,), (1380755348,), (1380755349,), (1380755585,), (1380755586,), (1380755587,), (1380756011,), (1380756763,), (1380756970,), (1380756971,), (1380757095,), (1380757478,), (1380757480,), (1380757482,), (1380757690,), (1380757702,), (1380757716,), (1380757728,), (1380757770,), (1380757771,), (1380757772,), (1380757830,), (1380757855,), (1380757876,), (1380757877,), (1380757906,), (1380757957,), (1380757979,), (1380757992,), (1380758050,), (1380758101,), (1380758102,), (1380758103,), (1380758233,), (1380761735,), (1380761817,), (1380761818,), (1380761819,), (1380761902,), (1380761964,), (1380761985,), (1380762007,), (1380762099,), (1380762149,), (1380762258,), (1380762259,), (1380762275,), (1380762316,), (1380762355,), (1380762416,), (1380762417,), (1380762472,), (1380762590,), (1380762650,), (1380762651,), (1380762792,), (1380762847,), (1380762848,), (1380762849,), (1380763516,), (1380763636,), (1380763697,), (1380769131,), (1380769132,), (1380769133,), (1380769203,), (1380769204,), (1380769205,), (1380769244,), (1380769245,), (1380769313,), (1380769314,), (1380769343,), (1380769344,), (1380769345,), (1380769372,), (1380769373,), (1380769405,), (1380769406,), (1380769407,), (1380769408,), (1380769409,), (1380769436,), (1380769471,), (1380769486,), (1380769502,), (1380769522,), (1380769523,), (1380769524,), (1380769525,), (1380769550,), (1380769552,), (1380769553,), (1380769554,), (1380769614,), (1380769615,), (1380769616,), (1380769617,), (1380769618,), (1380769644,), (1380769645,), (1380769646,), (1380769647,), (1380769648,), (1380769649,), (1380769700,), (1380769701,), (1380769702,), (1380769703,), (1380769730,), (1380769731,), (1380769732,), (1380769758,), (1380769759,), (1380769760,), (1380769761,), (1380769784,), (1380769785,), (1380769786,), (1380769787,), (1380769807,), (1380769808,), (1380769809,), (1380769810,), (1380769811,), (1380769812,), (1380769816,), (1380769828,), (1380769829,), (1380769830,), (1380769831,), (1380769855,), (1380769856,), (1380769857,), (1380769858,), (1380769859,), (1380769860,), (1380769883,), (1380769884,), (1380769885,), (1380769886,), (1380769887,), (1380769888,), (1380769916,), (1380769912,), (1380769913,), (1380769914,), (1380769915,), (1380769934,), (1380769935,), (1380769936,), (1380769937,), (1380769938,), (1380769939,), (1380769979,), (1380769980,), (1380769981,), (1380769982,), (1380770014,), (1380770015,), (1380770016,), (1380770017,), (1380770018,), (1380770019,), (1380770052,), (1380770053,), (1380770054,), (1380770055,), (1380770056,), (1380770057,), (1380770083,), (1380770085,), (1380770086,), (1380770087,), (1380770088,), (1380770089,), (1380770113,), (1380770114,), (1380770115,), (1380770116,), (1380770117,), (1380770149,), (1380770151,), (1380770152,), (1380770153,), (1380770154,), (1380770155,), (1380770182,), (1380770183,), (1380770184,), (1380770185,), (1380770218,), (1380770219,), (1380770220,), (1380770221,), (1380770223,), (1380770225,), (1380770246,), (1380770247,), (1380770248,), (1380770249,), (1380770320,), (1380770321,), (1380770322,), (1380770323,), (1380770324,), (1380770325,), (1380770351,), (1380770352,), (1380770353,), (1380770354,), (1380770386,), (1380770424,), (1380770382,), (1380770383,), (1380770384,), (1380770385,), (1380770407,), (1380770408,), (1380770409,), (1380770410,), (1380770412,), (1380770413,), (1380770420,), (1380770421,), (1380770422,), (1380770423,), (1380770444,), (1380770445,), (1380770446,), (1380770447,), (1380770476,), (1380770477,), (1380770478,), (1380770479,), (1380770480,), (1380770481,), (1380770506,), (1380770507,), (1380770508,), (1380770509,), (1380770510,), (1380770511,), (1380770555,), (1380770556,), (1380770557,), (1380770558,), (1380770587,), (1380770588,), (1380770589,), (1380770590,), (1380770592,), (1380770629,), (1380770630,), (1380770631,), (1380770653,), (1380770661,), (1380770662,), (1380770664,), (1380770665,), (1380770666,), (1380770688,), (1380770689,), (1380770690,), (1380770691,), (1380770692,), (1380770693,), (1380770712,), (1380770713,), (1380770714,), (1380770744,), (1380770746,), (1380770748,), (1380770749,), (1380770750,), (1380770751,), (1380770755,), (1380770756,), (1380770757,), (1380771045,), (1380771047,), (1380771049,), (1380771051,), (1380771053,), (1380771569,), (1380771571,), (1380771575,), (1380771578,), (1380771581,), (1380771641,), (1380771643,), (1380771646,), (1380771648,), (1380771650,), (1380772008,), (1380772002,), (1380772004,), (1380772006,), (1380772369,), (1380772371,), (1380772373,), (1380772375,), (1380772377,), (1380772755,), (1380772757,), (1380772759,), (1380772761,), (1380772938,), (1380772940,), (1380772942,), (1380772944,), (1380773103,), (1380773104,), (1380773105,), (1380773106,), (1380773107,), (1380773138,), (1380773139,), (1380773140,), (1380773141,), (1380773142,), (1380773143,), (1380773176,), (1380773177,), (1380773178,), (1380773179,), (1380773180,), (1380773181,), (1380773186,), (1380773187,), (1380773215,), (1380773249,), (1380773291,), (1380773392,), (1380773414,), (1380773415,), (1380773416,), (1380773417,), (1380773418,), (1380773454,), (1380773479,), (1380773450,), (1380773451,), (1380773452,), (1380773453,), (1380773468,), (1380773469,), (1380773470,), (1380773471,), (1380773472,), (1380773473,), (1380773477,), (1380773513,), (1380773514,), (1380773515,), (1380773517,), (1380773519,), (1380773547,), (1380773548,), (1380773549,), (1380773550,), (1380773551,), (1380773588,), (1380773589,), (1380773590,), (1380773591,), (1380773592,), (1380773618,), (1380773619,), (1380773656,), (1380773657,), (1380773658,), (1380773659,), (1380773660,), (1380773682,), (1380773683,), (1380773684,), (1380773685,), (1380773686,), (1380773687,), (1380773785,), (1380773786,), (1380773787,), (1380773788,), (1380773818,), (1380773819,), (1380773820,), (1380773821,), (1380773846,), (1380773847,), (1380773894,), (1380773895,), (1380773896,), (1380773897,), (1380773898,), (1380773935,), (1380773936,), (1380773937,), (1380773938,), (1380773939,), (1380773955,), (1380773956,), (1380773957,), (1380773958,), (1380773959,), (1380773995,), (1380773996,), (1380773997,), (1380773998,), (1380774020,), (1380774014,), (1380774018,), (1380774019,), (1380774056,), (1380774057,), (1380774058,), (1380774059,), (1380774060,), (1380774079,), (1380774080,), (1380774119,), (1380774121,), (1380774123,), (1380774124,), (1380774160,), (1380774161,), (1380774162,), (1380774163,), (1380774200,), (1380774201,), (1380774202,), (1380774203,), (1380774217,), (1380774219,), (1380774220,), (1380774221,), (1380774222,), (1380774223,), (1380774226,), (1380774227,), (1380774253,), (1380774254,), (1380774255,), (1380774256,), (1380774283,), (1380774284,), (1380774311,), (1380774312,), (1380774313,), (1380774314,), (1380774315,), (1380774336,), (1380774337,), (1380774338,), (1380774339,), (1380774340,), (1380774341,), (1380774383,), (1380774384,), (1380774385,), (1380774386,), (1380774387,), (1380774405,), (1380774406,), (1380774407,), (1380774408,), (1380774447,), (1380774448,), (1380774449,), (1380774450,), (1380774451,), (1380774475,), (1380774476,), (1380774478,), (1380774480,), (1380774541,), (1380774567,), (1380774537,), (1380774538,), (1380774539,), (1380774540,), (1380774556,), (1380774557,), (1380774558,), (1380774559,), (1380774560,), (1380774561,), (1380774565,), (1380774585,), (1380774586,), (1380774587,), (1380774588,), (1380774589,), (1380774609,), (1380774612,), (1380774613,), (1380774614,), (1380774615,), (1380774616,), (1380774648,), (1380774649,), (1380774650,), (1380774669,), (1380774670,), (1380774671,), (1380774672,), (1380774700,), (1380774701,), (1380774702,), (1380774703,), (1380774704,), (1380774719,), (1380774720,), (1380774721,), (1380774722,), (1380774749,), (1380774750,), (1380774751,), (1380774752,), (1380774753,), (1380774781,), (1380774782,), (1380774783,), (1380774784,), (1380774785,), (1380774786,), (1380774823,), (1380774824,), (1380774825,), (1380774847,), (1380774848,), (1380774849,), (1380774850,), (1380774851,), (1380774852,), (1380774875,), (1380774879,), (1380774880,), (1380774881,), (1380774882,), (1380775553,), (1380775557,), (1380775561,), (1380775565,), (1380775569,), (1380775712,), (1380775716,), (1380776439,), (1380776431,), (1380776433,), (1380776435,), (1380776437,), (1380776936,), (1380776938,), (1380776940,), (1380776942,), (1380776944,), (1380777177,), (1380777178,), (1380777179,), (1380777180,), (1380777181,), (1380777212,), (1380777213,), (1380777214,), (1380777215,), (1380777238,), (1380777239,), (1380777241,), (1380777242,), (1380777281,), (1380777282,), (1380777283,), (1380777297,), (1380777298,), (1380777299,), (1380777300,), (1380777301,), (1380777303,), (1380777312,), (1380777343,), (1380777344,), (1380777345,), (1380777346,), (1380777347,), (1380777374,), (1380777375,), (1380777376,), (1380777377,), (1380777430,), (1380777431,), (1380778686,), (1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,), (1380779370,), (1380779371,), (1380779466,), (1380779467,), (1380779468,), (1380779469,), (1380779470,), (1380779471,), (1380779491,), (1380779492,), (1380779493,), (1380779494,), (1380779540,), (1380779541,), (1380779542,), (1380779619,), (1380779620,), (1380779622,), (1380779723,), (1380779725,), (1380779726,), (1380779727,), (1380779899,), (1380779900,), (1380779901,), (1380779902,), (1380779903,), (1380779904,), (1380779908,), (1380779910,), (1380779930,), (1380779931,), (1380779932,), (1380779933,), (1380779934,), (1380779935,), (1380780002,), (1380780003,), (1380780004,), (1380780005,), (1380780006,), (1380780007,), (1380780030,), (1380780031,), (1380780032,), (1380780086,), (1380780089,), (1380780091,), (1380780092,), (1380780254,), (1380780256,), (1380780258,), (1380780260,), (1380780394,), (1380780395,), (1380780396,), (1380780397,), (1380780398,), (1380780425,), (1380780426,), (1380780484,), (1380780486,), (1380780549,), (1380780712,), (1380780708,), (1380780709,), (1380780711,), (1380781186,), (1380781235,), (1380781330,), (1380781359,), (1380781360,), (1380781361,), (1380781387,), (1380781389,), (1380781390,), (1380781391,), (1380781422,), (1380781423,), (1380781424,), (1380781938,), (1380781940,), (1380782059,), (1380782060,), (1380782061,), (1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,), (1380783962,), (1380784126,), (1380784130,), (1380784134,), (1380784138,), (1380784144,), (1380784148,), (1380784305,), (1380784456,), (1380784457,), (1380784458,), (1380784459,), (1380784461,), (1380784887,), (1380784889,), (1380784891,), (1380784893,), (1380785264,), (1380785383,), (1380785386,), (1380785874,), (1380785877,), (1380785880,), (1380785883,), (1380785886,), (1380785889,), (1380786078,), (1380786079,), (1380786080,), (1380786081,), (1380786082,), (1380786519,), (1380786521,), (1380786523,), (1380786680,), (1380786681,), (1380786682,), (1380786735,), (1380786736,), (1380786737,), (1380786785,), (1380786786,), (1380786787,), (1380786788,), (1380786878,), (1380786879,), (1380786881,), (1380786882,), (1380786883,), (1380786884,), (1380786889,), (1380786890,), (1380786911,), (1380786913,), (1380786915,), (1380786917,), (1380787050,), (1380787051,), (1380787052,), (1380787207,), (1380787208,), (1380787209,), (1380787210,), (1380787211,), (1380787353,), (1380787351,), (1380787352,), (1380787432,), (1380787433,), (1380787434,), (1380787557,), (1380787559,), (1380787561,), (1380787563,), (1380787565,), (1380787567,), (1380787990,), (1380787992,), (1380787994,), (1380787996,), (1380788336,), (1380788337,), (1380788338,), (1380788339,), (1380788409,), (1380788410,), (1380788460,), (1380788461,), (1380788462,), (1380788463,), (1380788464,), (1380788532,), (1380788533,), (1380788534,), (1380788589,), (1380788590,), (1380788591,), (1380788804,), (1380788840,), (1380788841,), (1380788959,), (1380789017,), (1380789018,), (1380789117,), (1380789119,), (1380789120,), (1380789121,), (1380789122,), (1380789223,), (1380789344,), (1380789221,), (1380789222,), (1380789338,), (1380789339,), (1380789340,), (1380789341,), (1380789342,), (1380789414,), (1380789416,), (1380789417,), (1380789418,), (1380789538,), (1380789599,), (1380789600,), (1380789601,), (1380789675,), (1380789679,), (1380789717,), (1380789718,), (1380789817,), (1380789818,), (1380789854,), (1380789855,), (1380789945,), (1380789946,), (1380789980,), (1380789981,), (1380790038,), (1380790039,), (1380790040,), (1380790041,), (1380790042,), (1380790140,), (1380790142,), (1380790144,), (1380795572,), (1380795638,), (1380795639,), (1380795640,), (1380795658,), (1380796056,), (1380796233,), (1380796411,), (1380796412,), (1380796413,), (1380796550,), (1380796552,), (1380796554,), (1380796556,), (1380796559,), (1380796561,), (1380796619,), (1380796751,), (1380796753,), (1380796755,), (1380796757,), (1380796759,), (1380796761,), (1380796814,), (1380796815,), (1380796816,), (1380796848,), (1380796849,), (1380796850,), (1380796851,), (1380796852,), (1380796919,), (1380796920,), (1380796921,), (1380796922,), (1380796923,), (1380796924,), (1380797101,), (1380797105,), (1380797106,), (1380797107,), (1380797132,), (1380797134,), (1380797135,), (1380797136,), (1380797137,), (1380797211,), (1380797213,), (1380797215,), (1380797267,), (1380797269,), (1380797271,), (1380797273,), (1380797275,), (1380797512,), (1380797714,), (1380797508,), (1380797509,), (1380797510,), (1380797511,), (1380797699,), (1380797700,), (1380797702,), (1380797703,), (1380797704,), (1380797705,), (1380797712,), (1380797713,), (1380797835,), (1380797861,), (1380797862,), (1380797863,), (1380797908,), (1380797909,), (1380797910,), (1380797911,), (1380797912,), (1380797936,), (1380797937,), (1380797938,), (1380797939,), (1380797940,), (1380797976,), (1380797977,), (1380797978,), (1380798000,), (1380798001,), (1380798002,), (1380798095,), (1380798329,), (1380798330,), (1380798331,), (1380798332,), (1380798453,), (1380798454,), (1380798455,), (1380798456,), (1380798457,), (1380798458,), (1380799176,), (1380799178,), (1380799181,), (1380799441,), (1380799437,), (1380799438,), (1380799439,), (1380799440,), (1380799543,), (1380799545,), (1380799548,), (1380799550,), (1380799552,), (1380799875,), (1380799877,), (1380799879,), (1380799881,), (1380799883,), (1380799885,), (1380799996,), (1380799998,), (1380800000,), (1380800001,), (1380800002,), (1380800049,), (1380800050,), (1380800051,), (1380800052,), (1380800053,), (1380800101,), (1380800102,), (1380800103,), (1380800104,), (1380800105,), (1380800153,), (1380800154,), (1380800155,), (1380800157,), (1380800158,), (1380800159,), (1380800168,), (1380800169,), (1380800171,), (1380800173,), (1380800197,), (1380800198,), (1380800199,), (1380800200,), (1380800201,), (1380800202,), (1380800248,), (1380800249,), (1380800250,), (1380800251,), (1380800252,), (1380800253,), (1380800295,), (1380800307,), (1380800308,), (1380800309,), (1380800459,), (1380800461,), (1380800463,), (1380800465,), (1380801646,), (1380801647,), (1380801648,), (1380801649,), (1380801995,), (1380801996,), (1380801997,), (1380801998,), (1380801999,), (1380802000,), (1380802142,), (1380802145,), (1380802147,), (1380802149,), (1380802314,), (1380802316,), (1380802317,), (1380802318,), (1380802319,), (1380802320,), (1380802524,), (1380802727,), (1380802514,), (1380802516,), (1380802518,), (1380802520,), (1380802522,), (1380802683,), (1380802684,), (1380802686,), (1380802687,), (1380802688,), (1380802689,), (1380802723,), (1380802724,), (1380802725,), (1380802726,), (1380802848,), (1380802849,), (1380802850,), (1380802851,), (1380802853,), (1380802936,), (1380803015,), (1380803018,), (1380803023,), (1380803026,), (1380803029,), (1380803287,), (1380803288,), (1380803289,), (1380803290,), (1380803292,), (1380803386,), (1380803387,), (1380803388,), (1380803389,), (1380803390,), (1380803391,), (1380803439,), (1380803440,), (1380803441,), (1380803442,), (1380803443,), (1380803501,), (1380803502,), (1380803503,), (1380803551,), (1380803552,), (1380803553,), (1380803554,), (1380803555,), (1380803556,), (1380803602,), (1380803603,), (1380803604,), (1380803724,), (1380803726,), (1380803728,), (1380803730,), (1380803732,), (1380803734,), (1380803896,), (1380803897,), (1380803898,), (1380803900,), (1380803901,), (1380803902,), (1380803959,), (1380803963,), (1380803967,), (1380803972,), (1380803975,), (1380804340,), (1380804342,), (1380804344,), (1380804346,), (1380804348,), (1380804504,), (1380804505,), (1380804506,), (1380804507,), (1380804508,), (1380804510,), (1380805003,), (1380805013,), (1380805014,), (1380805015,), (1380805016,), (1380805017,), (1380804998,), (1380804999,), (1380805000,), (1380805001,), (1380805002,), (1380805142,), (1380805143,), (1380805144,), (1380805145,), (1380805146,), (1380805206,), (1380805207,), (1380805208,), (1380805209,), (1380805210,), (1380805211,), (1380805345,), (1380805347,), (1380805349,), (1380805352,), (1380805354,), (1380805540,), (1380805541,), (1380805542,), (1380805544,), (1380805545,), (1380805679,), (1380805680,), (1380805681,), (1380805682,), (1380805683,), (1380805684,), (1380805733,), (1380805734,), (1380805735,), (1380805736,), (1380805737,), (1380805739,), (1380805745,), (1380805747,), (1380805750,), (1380805751,), (1380805974,), (1380805976,), (1380805978,), (1380805980,), (1380805982,), (1380805984,), (1380806270,), (1380806272,), (1380806274,), (1380806276,), (1380806278,), (1380806455,), (1380806457,), (1380806459,), (1380806461,), (1380806463,), (1380806465,), (1380806623,), (1380806624,), (1380806625,), (1380806626,), (1380806627,), (1380806628,), (1380806904,), (1380806906,), (1380806908,), (1380806910,), (1380806912,), (1380807478,), (1380807482,), (1380807484,), (1380807486,), (1380807982,), (1380807983,), (1380807984,), (1380807985,), (1380808173,), (1380808174,), (1380808346,), (1380808512,), (1380808340,), (1380808341,), (1380808343,), (1380808344,), (1380808345,), (1380808483,), (1380808485,), (1380808486,), (1380808488,), (1380808489,), (1380808490,), (1380808501,), (1380808503,), (1380808506,), (1380808508,), (1380808510,), (1380808683,), (1380808685,), (1380808687,), (1380809040,), (1380809041,), (1380809197,), (1380809198,), (1380809199,), (1380809200,), (1380809201,), (1380809590,), (1380809591,), (1380809592,), (1380809593,), (1380809595,), (1380809905,), (1380809907,), (1380809909,), (1380809911,), (1380809913,), (1380810040,), (1380810041,), (1380810044,), (1380810045,), (1380810046,), (1380810119,), (1380810120,), (1380810121,), (1380810122,), (1380810123,), (1380810124,), (1380810188,), (1380810189,), (1380810190,), (1380810191,), (1380810251,), (1380810252,), (1380810253,), (1380810522,), (1380810523,), (1380810524,), (1380810527,), (1380810528,), (1380810529,), (1380810685,), (1380810888,), (1380810890,), (1380810894,), (1380811464,), (1380811458,), (1380811460,), (1380811462,), (1380812028,), (1380812031,), (1380812034,), (1380812037,), (1380812040,), (1380812043,), (1380812774,), (1380812777,), (1380812780,), (1380813472,), (1380813474,), (1380813477,), (1380813480,), (1380813483,), (1380813486,), (1380813755,), (1380813757,), (1380813759,), (1380813761,), (1380813763,), (1380814237,), (1380814240,), (1380814243,), (1380814246,), (1380814249,), (1380814252,), (1380814743,), (1380814745,), (1380814748,), (1380814750,), (1380814752,), (1380814754,), (1380814766,), (1380814767,), (1380814768,), (1380814769,), (1380815018,), (1380815019,), (1380815020,), (1380815021,), (1380815022,), (1380815023,), (1380815348,), (1380815350,), (1380815352,), (1380815354,), (1380815534,), (1380815536,), (1380815538,), (1380815540,), (1380815618,), (1380815619,), (1380815620,), (1380815621,), (1380815622,), (1380815623,), (1380815761,), (1380815762,), (1380815925,), (1380815926,), (1380815927,), (1380815928,), (1380815929,), (1380815930,), (1380816040,), (1380816041,), (1380816042,), (1380816043,), (1380816160,), (1380816161,), (1380816162,), (1380816163,), (1380816281,), (1380816411,), (1380816276,), (1380816277,), (1380816278,), (1380816279,), (1380816280,), (1380816371,), (1380816372,), (1380816373,), (1380816374,), (1380816375,), (1380816376,), (1380816405,), (1380816408,), (1380816410,), (1380816568,), (1380816574,), (1380816579,), (1380816584,), (1380817435,), (1380817438,), (1380817810,), (1380817812,), (1380817814,), (1380817816,), (1380817818,), (1380817919,), (1380817920,), (1380817921,), (1380817922,), (1380817991,), (1380817992,), (1380817993,), (1380817995,), (1380818130,), (1380818131,), (1380818132,), (1380818133,), (1380818134,), (1380818135,), (1380818270,), (1380818271,), (1380818272,), (1380818273,), (1380818354,), (1380818355,), (1380818356,), (1380818357,), (1380818358,), (1380818359,), (1380818435,), (1380818436,), (1380818437,), (1380818438,), (1380818439,), (1380818645,), (1380818646,), (1380818647,), (1380818648,), (1380818649,), (1380818650,), (1380818656,), (1380818657,), (1380818658,), (1380818659,), (1380818757,), (1380818761,), (1380818766,), (1380818770,), (1380818810,), (1380818811,), (1380818812,), (1380818813,), (1380818814,), (1380818815,), (1380819229,), (1380819232,), (1380819235,), (1380819238,), (1380819524,), (1380819522,), (1380819523,), (1380819672,), (1380819673,), (1380819674,), (1380819675,), (1380819676,), (1380819780,), (1380819781,), (1380819782,), (1380819783,), (1380819784,), (1380819847,), (1380819848,), (1380819849,), (1380819850,), (1380819913,), (1380819914,), (1380819915,), (1380819973,), (1380819974,), (1380820030,), (1380820032,), (1380820033,), (1380820034,), (1380820035,), (1380820036,), (1380820096,), (1380820097,), (1380820098,), (1380820099,), (1380820100,), (1380820275,), (1380820276,), (1380820277,), (1380820278,), (1380820279,), (1380820344,), (1380820345,), (1380820409,), (1380820410,), (1380820411,), (1380820412,), (1380820500,), (1380820501,), (1380820502,), (1380820503,), (1380820767,), (1380820769,), (1380820770,), (1380820893,), (1380820895,), (1380821036,), (1380821087,), (1380821158,), (1380821084,), (1380821085,), (1380821086,), (1380821154,), (1380821155,), (1380821156,), (1380821416,), (1380821417,), (1380821418,), (1380821419,), (1380821468,), (1380821479,), (1380821480,), (1380821481,), (1380821482,), (1380821683,), (1380821849,), (1380821850,), (1380821851,), (1380821852,), (1380821853,), (1380821906,), (1380821907,), (1380821908,), (1380822011,), (1380822012,), (1380822013,), (1380822014,), (1380822015,), (1380822016,), (1380822114,), (1380822115,), (1380822116,), (1380822117,), (1380822149,), (1380822150,), (1380822151,), (1380822153,), (1380822154,), (1380822155,), (1380822161,), (1380822163,), (1380822343,), (1380822345,), (1380822347,), (1380822349,), (1380822878,), (1380822881,), (1380822885,), (1380822888,), (1380823300,), (1380823296,), (1380823298,), (1380823772,), (1380823775,), (1380823778,), (1380823781,), (1380824597,), (1380824600,), (1380824603,), (1380824606,), (1380824610,), (1380825004,), (1380825007,), (1380825009,), (1380825479,), (1380825481,), (1380825483,), (1380826304,), (1380826305,), (1380826306,), (1380826351,), (1380826352,), (1380826445,), (1380841858,), (1380841856,), (1380842525,), (1380842687,), (1380842723,), (1380842724,), (1380842761,), (1380842762,), (1380842763,), (1380842807,), (1380842808,), (1380842809,), (1380842810,), (1380843034,), (1380843035,), (1380843036,), (1380843037,), (1380843038,), (1380843040,), (1380843064,), (1380843067,), (1380843132,), (1380843133,), (1380843134,), (1380843552,), (1380843554,), (1380843556,), (1380843558,), (1380844465,), (1380844458,), (1380844462,), (1380845248,), (1380845250,), (1380845252,), (1380845254,), (1380845256,), (1380846156,), (1380846158,), (1380846160,), (1380846163,), (1380846166,), (1380846431,), (1380846433,), (1380846435,), (1380846437,), (1380846439,), (1380846441,), (1380846705,), (1380846706,), (1380846707,), (1380846708,), (1380846832,), (1380846834,), (1380846836,), (1380846838,), (1380846840,), (1380846842,), (1380847290,), (1380847292,), (1380847295,), (1380847297,), (1380847299,), (1380847301,), (1380847380,), (1380847384,), (1380847388,), (1380847392,), (1380847394,), (1380847709,), (1380847711,), (1380847713,), (1380847715,), (1380847717,), (1380847719,), (1380847992,), (1380847993,), (1380847994,), (1380847995,), (1380847996,), (1380847997,), (1380848069,), (1380848071,), (1380848073,), (1380848527,), (1380848530,), (1380848532,), (1380848534,), (1380848763,), (1380848764,), (1380848765,), (1380848766,), (1380848767,), (1380848972,), (1380848973,), (1380848974,), (1380848975,), (1380849044,), (1380849045,), (1380849046,), (1380849094,), (1380849096,), (1380849098,), (1380849100,), (1380849101,), (1380849143,), (1380849238,), (1380849141,), (1380849142,), (1380849225,), (1380849226,), (1380849227,), (1380849228,), (1380849230,), (1380849231,), (1380849236,), (1380849237,), (1380849418,), (1380849419,), (1380849420,), (1380849421,), (1380849422,), (1380849423,), (1380849517,), (1380849518,), (1380849519,), (1380849520,), (1380849720,), (1380849721,), (1380849722,), (1380849723,), (1380849724,), (1380849725,), (1380850040,), (1380850042,), (1380850043,), (1380850100,), (1380850101,), (1380850102,), (1380850103,), (1380850104,), (1380850267,), (1380850441,), (1380850601,), (1380850602,), (1380850603,), (1380850604,), (1380850673,), (1380850674,), (1380850675,), (1380850676,), (1380850731,), (1380850726,), (1380850727,), (1380850728,), (1380850729,), (1380850730,), (1380850886,), (1380850888,), (1380850890,), (1380850892,), (1380850992,), (1380850993,), (1380850994,), (1380850995,), (1380851051,), (1380851052,), (1380851053,), (1380851054,), (1380851055,), (1380851104,), (1380851105,), (1380851106,), (1380851107,), (1380851108,), (1380851158,), (1380851168,), (1380851169,), (1380851171,), (1380851172,), (1380851235,), (1380851236,), (1380851237,), (1380851303,), (1380851304,), (1380851347,), (1380851401,), (1380851402,), (1380851403,), (1380851475,), (1380851476,), (1380851477,), (1380851478,), (1380851479,), (1380851480,), (1380851527,), (1380851528,), (1380851529,), (1380851594,), (1380851595,), (1380851596,), (1380851597,), (1380851598,), (1380851599,), (1380851655,), (1380851656,), (1380851657,), (1380851658,), (1380851695,), (1380851707,), (1380851708,), (1380851709,), (1380851710,), (1380851712,), (1380851777,), (1380851843,), (1380851774,), (1380851775,), (1380851776,), (1380851823,), (1380851824,), (1380851825,), (1380851826,), (1380851828,), (1380851829,), (1380851838,), (1380851839,), (1380851841,), (1380851899,), (1380851900,), (1380851901,), (1380851902,), (1380851947,), (1380851948,), (1380851949,), (1380852075,), (1380852076,), (1380852135,), (1380852136,), (1380852137,), (1380852138,), (1380852178,), (1380852179,), (1380852180,), (1380852181,), (1380852182,), (1380852183,), (1380852232,), (1380852242,), (1380852243,), (1380852244,), (1380852292,), (1380852293,), (1380852294,), (1380852296,), (1380852342,), (1380852343,), (1380852344,), (1380852388,), (1380852389,), (1380852390,), (1380852391,), (1380852392,), (1380852393,), (1380852398,), (1380852399,), (1380852455,), (1380852456,), (1380852457,), (1380852458,), (1380852459,), (1380852675,), (1380852677,), (1380852679,), (1380853291,), (1380853285,), (1380853288,), (1380854114,), (1380854117,), (1380854120,), (1380854123,), (1380854126,), (1380854426,), (1380854429,), (1380854433,), (1380854436,), (1380854439,), (1380854442,), (1380855178,), (1380855180,), (1380855182,), (1380855184,), (1380855186,), (1380855440,), (1380855444,), (1380855447,), (1380855450,), (1380855453,), (1380855456,), (1380855754,), (1380855755,), (1380855756,), (1380855757,), (1380855794,), (1380855797,), (1380855798,), (1380855799,), (1380855800,), (1380855801,), (1380855828,), (1380855829,), (1380855831,), (1380855834,), (1380856006,), (1380856007,), (1380856008,), (1380856009,), (1380856109,), (1380856221,), (1380856222,), (1380856223,), (1380856224,), (1380856268,), (1380856269,), (1380856270,), (1380856271,), (1380856272,), (1380856349,), (1380856359,), (1380857383,), (1380857380,), (1380857483,), (1380857484,), (1380857537,), (1380857538,), (1380857539,), (1380857540,), (1380857589,), (1380857590,), (1380857591,), (1380857592,), (1380857593,), (1380857594,), (1380857635,), (1380857645,), (1380857647,), (1380857648,), (1380857688,), (1380857689,), (1380857690,), (1380857691,), (1380857771,), (1380857772,), (1380857773,), (1380857774,), (1380857775,), (1380857875,), (1380857876,), (1380857877,), (1380857878,), (1380857879,), (1380857924,), (1380857925,), (1380857926,), (1380857927,), (1380857928,), (1380857929,), (1380857968,), (1380857969,), (1380857970,), (1380857972,), (1380857973,), (1380857974,), (1380857983,), (1380857985,), (1380857987,), (1380857989,), (1380857991,), (1380858024,), (1380858025,), (1380858026,), (1380858027,), (1380858028,), (1380858029,), (1380858068,), (1380858069,), (1380858070,), (1380858071,), (1380858072,), (1380858176,), (1380858177,), (1380858178,), (1380858179,), (1380858334,), (1380858331,), (1380858332,), (1380858333,), (1380858442,), (1380858444,), (1380858446,), (1380858448,), (1380858450,), (1380858684,), (1380858686,), (1380858688,), (1380858690,), (1380858692,), (1380858694,), (1380859005,), (1380859255,), (1380859257,), (1380859259,), (1380859261,), (1380859415,), (1380859417,), (1380859419,), (1380859421,), (1380859423,), (1380859554,), (1380859555,), (1380859556,), (1380859557,), (1380859559,), (1380859560,), (1380859568,), (1380859569,), (1380859570,), (1380859571,), (1380859573,), (1380859611,), (1380859612,), (1380859614,), (1380859615,), (1380859668,), (1380859669,), (1380859670,), (1380859671,), (1380859737,), (1380859738,), (1380859739,), (1380859740,), (1380859741,), (1380859742,), (1380859873,), (1380859875,), (1380859877,), (1380859879,), (1380859943,), (1380859944,), (1380859945,), (1380859946,), (1380859947,), (1380859948,), (1380860029,), (1380860031,), (1380860033,), (1380860035,), (1380860090,), (1380860091,), (1380860092,), (1380860188,), (1380860189,), (1380860190,), (1380860191,), (1380860192,), (1380860384,), (1380860567,), (1380860376,), (1380860378,), (1380860380,), (1380860382,), (1380860528,), (1380860529,), (1380860530,), (1380860531,), (1380860532,), (1380860533,), (1380860560,), (1380860562,), (1380860565,), (1380860699,), (1380860700,), (1380860701,), (1380860702,), (1380860881,), (1380860883,), (1380861121,), (1380861123,), (1380861124,), (1380861125,), (1380861126,), (1380861201,), (1380861202,), (1380861203,), (1380861204,), (1380861205,), (1380861206,), (1380861270,), (1380861272,), (1380861274,), (1380861275,), (1380861323,), (1380861324,), (1380861325,), (1380861326,), (1380861327,), (1380861380,), (1380861381,), (1380861382,), (1380861383,), (1380861430,), (1380861431,), (1380861498,), (1380861499,), (1380861500,), (1380861501,), (1380861541,), (1380861542,), (1380861543,), (1380861544,), (1380861545,), (1380861546,), (1380861551,), (1380861552,), (1380861553,), (1380861594,), (1380861595,), (1380861596,), (1380862294,), (1380862296,), (1380862297,), (1380862316,), (1380862318,), (1380862319,), (1380862873,), (1380862865,), (1380862869,), (1380862871,), (1380863403,), (1380863406,), (1380863409,), (1380863412,), (1380864195,), (1380864198,), (1380864201,), (1380864204,), (1380864208,), (1380864631,), (1380864633,), (1380864635,), (1380864637,), (1380865032,), (1380865034,), (1380865036,), (1380865038,), (1380865040,), (1380865042,), (1380865574,), (1380865578,), (1380865582,), (1380865585,), (1380865966,), (1380865967,), (1380865969,), (1380865970,), (1380865971,), (1380865972,), (1380865979,), (1380865981,), (1380865982,), (1380866019,), (1380866020,), (1380866021,), (1380866022,), (1380866070,), (1380866071,), (1380866072,), (1380866073,), (1380866139,), (1380866140,), (1380866313,), (1380866314,), (1380866315,), (1380866316,), (1380866317,), (1380866406,), (1380866408,), (1380866409,), (1380866410,), (1380866411,), (1380866412,), (1380866501,), (1380866502,), (1380866503,), (1380866562,), (1380866563,), (1380866564,), (1380866565,), (1380866566,), (1380866643,), (1380866644,), (1380866645,), (1380866646,), (1380866647,), (1380866704,), (1380866780,), (1380866702,), (1380866703,), (1380866769,), (1380866770,), (1380866771,), (1380866772,), (1380866773,), (1380866774,), (1380866825,), (1380866826,), (1380866827,), (1380866828,), (1380866829,), (1380866872,), (1380866873,), (1380866874,), (1380866876,), (1380866877,), (1380866878,), (1380866933,), (1380866934,), (1380866935,), (1380867006,), (1380867007,), (1380867008,), (1380867009,), (1380867010,), (1380867073,), (1380867074,), (1380867075,), (1380867076,), (1380867077,), (1380867078,), (1380867118,), (1380867119,), (1380867120,), (1380867121,), (1380867122,), (1380867123,), (1380867161,), (1380867162,), (1380867163,), (1380867164,), (1380867211,), (1380867212,), (1380867213,), (1380867214,), (1380867335,), (1380867336,), (1380867337,), (1380867338,), (1380867339,), (1380867543,), (1380867544,), (1380867545,), (1380867546,), (1380867547,), (1380867548,), (1380867552,), (1380867553,), (1380867607,), (1380867608,), (1380867609,), (1380867610,), (1380867661,), (1380867662,), (1380867663,), (1380867716,), (1380867717,), (1380867796,), (1380867873,), (1380867874,), (1380867875,), (1380867876,), (1380867928,), (1380867929,), (1380867930,), (1380867983,), (1380867985,), (1380867987,), (1380868268,), (1380868270,), (1380868272,), (1380868274,), (1380868276,), (1380868278,), (1380868449,), (1380868450,), (1380868451,), (1380868452,), (1380868453,), (1380868454,), (1380868547,), (1380868548,), (1380868549,), (1380868550,), (1380868552,), (1380868553,), (1380868560,), (1380868561,), (1380868563,), (1380868682,), (1380868684,), (1380868686,), (1380868688,), (1380868690,), (1380868692,), (1380868820,), (1380868822,), (1380868986,), (1380868987,), (1380868988,), (1380868989,), (1380868990,), (1380869407,), (1380869409,), (1380869411,), (1380869713,), (1380869715,), (1380869717,), (1380869719,), (1380869721,), (1380870143,), (1380870147,), (1380870151,), (1380870155,), (1380870159,), (1380870163,), (1380871057,), (1380871059,), (1380871061,), (1380871064,), (1380871065,), (1380871068,), (1380871348,), (1380871888,), (1380871343,), (1380871345,), (1380871347,), (1380871780,), (1380871782,), (1380871784,), (1380871786,), (1380871790,), (1380871792,), (1380871881,), (1380871884,), (1380871886,), (1380872149,), (1380872150,), (1380872151,), (1380872202,), (1380872204,), (1380872205,), (1380872206,), (1380872292,), (1380872294,), (1380872682,), (1380872685,), (1380872690,), (1380872923,), (1380872925,), (1380872927,), (1380872929,), (1380872931,), (1380873556,), (1380873558,), (1380873560,), (1380873562,), (1380873564,), (1380873722,), (1380873962,), (1380873963,), (1380874099,), (1380874100,), (1380874101,), (1380874102,), (1380874167,), (1380874168,), (1380874169,), (1380874170,), (1380874171,), (1380874172,), (1380874184,), (1380874185,), (1380874355,), (1380874357,), (1380875384,), (1380875387,), (1380875390,), (1380876144,), (1380876138,), (1380876141,), (1380876745,), (1380876747,), (1380877387,), (1380877390,), (1380877393,), (1380877827,), (1380877830,), (1380877833,), (1380877836,), (1380878162,), (1380878164,), (1380878166,), (1380878168,), (1380878170,), (1380878172,), (1380878488,), (1380878489,), (1380878490,), (1380878491,), (1380878548,), (1380878549,), (1380878550,), (1380878552,), (1380878553,), (1380878554,), (1380878733,), (1380878734,), (1380878735,), (1380878736,), (1380878737,), (1380878738,), (1380879300,), (1380879303,), (1380879306,), (1380879308,), (1380879629,), (1380879631,), (1380879633,), (1380879635,), (1380879637,), (1380879639,), (1380879772,), (1380879773,), (1380879774,), (1380879845,), (1380879846,), (1380879847,), (1380879848,), (1380879849,), (1380879851,), (1380880092,), (1380880093,), (1380880094,), (1380880095,), (1380880096,), (1380880097,), (1380880157,), (1380880158,), (1380880159,), (1380880160,), (1380880514,), (1380880516,), (1380880519,), (1380880522,), (1380880525,), (1380880791,), (1380881112,), (1380880783,), (1380880785,), (1380880787,), (1380880789,), (1380881053,), (1380881056,), (1380881058,), (1380881060,), (1380881061,), (1380881062,), (1380881108,), (1380881110,), (1380881433,), (1380881436,), (1380881439,), (1380881715,), (1380881717,), (1380882152,), (1380882153,), (1380882154,), (1380882155,), (1380882325,), (1380882327,), (1380882329,), (1380882331,), (1380882333,), (1380882335,), (1380882420,), (1380882421,), (1380882422,), (1380882570,), (1380882572,), (1380882574,), (1380882576,), (1380882578,), (1380883135,), (1380883136,), (1380883137,), (1380883138,), (1380883139,), (1380883140,), (1380883577,), (1380883581,), (1380883583,), (1380883587,), (1380883590,), (1380883593,), (1380883697,), (1380883698,), (1380883699,), (1380883700,), (1380883701,), (1380883703,), (1380883708,), (1380883709,), (1380883710,), (1380883871,), (1380883873,), (1380883875,), (1380883876,), (1380883877,), (1380883878,), (1380884337,), (1380890696,), (1380891646,), (1380891650,), (1380891654,), (1380892133,), (1380892135,), (1380892473,), (1380892474,), (1380892529,), (1380892530,), (1380892531,), (1380892532,), (1380892533,), (1380892534,), (1380892583,), (1380892584,), (1380892585,), (1380892586,), (1380892587,), (1380892588,), (1380892596,), (1380892598,), (1380892601,), (1380892603,), (1380892605,), (1380892606,), (1380892661,), (1380892662,), (1380892663,), (1380892664,), (1380892665,), (1380892786,), (1380892788,), (1380892790,), (1380892791,), (1380892792,), (1380892840,), (1380892841,), (1380892842,), (1380892843,), (1380892844,), (1380892915,), (1380892916,), (1380892917,), (1380892918,), (1380892919,), (1380892983,), (1380892984,), (1380892985,), (1380892986,), (1380892987,), (1380892988,), (1380893033,), (1380893034,), (1380893035,), (1380893036,), (1380893120,), (1380893121,), (1380893122,), (1380893123,), (1380893124,), (1380893125,), (1380893186,), (1380893187,), (1380893188,), (1380893189,), (1380893190,), (1380893489,), (1380893414,), (1380893485,), (1380893487,), (1380893735,), (1380893738,), (1380893740,), (1380893742,), (1380893744,), (1380893746,), (1380894096,), (1380894099,), (1380894102,), (1380894105,), (1380894108,), (1380894347,), (1380894349,), (1380894351,), (1380894353,), (1380894744,), (1380894746,), (1380894748,), (1380894750,), (1380894752,), (1380894754,), (1380895205,), (1380895207,), (1380895209,), (1380895210,), (1380895211,), (1380895212,), (1380895289,), (1380895290,), (1380895291,), (1380895471,), (1380895472,), (1380895473,), (1380895474,), (1380895475,), (1380895524,), (1380895525,), (1380895526,), (1380895527,), (1380895528,), (1380895643,), (1380895645,), (1380895647,), (1380895649,), (1380895651,), (1380895797,), (1380895798,), (1380895799,), (1380895800,), (1380895906,), (1380895907,), (1380895908,), (1380895909,), (1380895911,), (1380895912,), (1380895918,), (1380895919,), (1380895963,), (1380895964,), (1380895965,), (1380895966,), (1380895967,), (1380895968,), (1380896005,), (1380896006,), (1380896007,), (1380896008,), (1380896054,), (1380896055,), (1380896056,), (1380896057,), (1380896058,), (1380896059,), (1380896190,), (1380896188,), (1380896189,), (1380896294,), (1380896296,), (1380896298,), (1380896300,), (1380896524,), (1380896525,), (1380896526,), (1380896527,), (1380896528,), (1380896805,), (1380896807,), (1380896809,), (1380896811,), (1380896894,), (1380896895,), (1380896896,), (1380896897,), (1380896898,), (1380897001,), (1380897002,), (1380897003,), (1380897004,), (1380897005,), (1380897434,), (1380897436,), (1380897438,), (1380897440,), (1380897442,), (1380897444,), (1380897512,), (1380897515,), (1380897518,), (1380897520,), (1380897721,), (1380897723,), (1380897725,), (1380897727,), (1380897729,), (1380897731,), (1380898089,), (1380898091,), (1380898093,), (1380898537,), (1380898539,), (1380898541,), (1380898543,), (1380898545,), (1380898547,), (1380898698,), (1380898699,), (1380898700,), (1380898701,), (1380899082,), (1380899084,), (1380899086,), (1380899088,), (1380899090,), (1380899092,), (1380899220,), (1380899221,), (1380899222,), (1380899223,), (1380899377,), (1380899379,), (1380899381,), (1380899383,), (1380899385,), (1380899387,), (1380899600,), (1380899601,), (1380899602,), (1380899603,), (1380899604,), (1380899606,), (1380899691,), (1380899743,), (1380899688,), (1380899689,), (1380899690,), (1380899730,), (1380899731,), (1380899733,), (1380899734,), (1380899735,), (1380899736,), (1380899781,), (1380899782,), (1380899783,), (1380899784,), (1380899785,), (1380899876,), (1380899877,), (1380899878,), (1380899879,), (1380899880,), (1380899881,), (1380899918,), (1380899919,), (1380899921,), (1380899923,), (1380899981,), (1380899982,), (1380899983,), (1380900039,), (1380900040,), (1380900041,), (1380900042,), (1380900043,), (1380900044,), (1380900111,), (1380900112,), (1380900113,), (1380900114,), (1380900115,), (1380900196,), (1380900197,), (1380900198,), (1380900242,), (1380900244,), (1380900245,), (1380900246,), (1380900247,), (1380900379,), (1380900380,), (1380900381,), (1380900382,), (1380900383,), (1380900415,), (1380900417,), (1380900419,), (1380900421,), (1380900423,), (1380900425,), (1380900436,), (1380900437,), (1380900439,), (1380900440,), (1380900441,), (1380900470,), (1380900471,), (1380900472,), (1380900473,), (1380901377,), (1380901380,), (1380901383,), (1380901386,), (1380901389,), (1380901392,), (1380902071,), (1380902069,), (1380902938,), (1380902940,), (1380902942,), (1380902944,), (1380902946,), (1380903645,), (1380903647,), (1380903650,), (1380903653,), (1380903656,), (1380904138,), (1380904139,), (1380904140,), (1380904141,), (1380904142,), (1380904143,), (1380904194,), (1380904197,), (1380904199,), (1380904201,), (1380904349,), (1380904351,), (1380904353,), (1380904355,), (1380904642,), (1380904644,), (1380904646,), (1380904649,), (1380904651,), (1380904653,), (1380904696,), (1380904697,), (1380904698,), (1380904972,), (1380904975,), (1380904978,), (1380904981,), (1380905357,), (1380905359,), (1380905361,), (1380905363,), (1380905365,), (1380905367,), (1380905760,), (1380905762,), (1380905764,), (1380905766,), (1380906129,), (1380906130,), (1380906131,), (1380906184,), (1380906185,), (1380906186,), (1380906187,), (1380906188,), (1380906189,), (1380906259,), (1380906260,), (1380906261,), (1380906263,), (1380906292,), (1380906293,), (1380906294,), (1380906295,), (1380906346,), (1380906347,), (1380906348,), (1380906349,), (1380906350,), (1380906351,), (1380906444,), (1380906554,), (1380906436,), (1380906438,), (1380906440,), (1380906442,), (1380906443,), (1380906534,), (1380906535,), (1380906536,), (1380906537,), (1380906538,), (1380906539,), (1380906551,), (1380906552,), (1380906553,), (1380906582,), (1380906583,), (1380906584,), (1380906585,), (1380906586,), (1380906587,), (1380906590,), (1380906591,), (1380906592,), (1380906593,), (1380906594,), (1380906595,), (1380906607,), (1380906608,), (1380906609,), (1380906610,), (1380906611,), (1380906661,), (1380906663,), (1380906665,), (1380906667,), (1380906669,), (1380906671,), (1380906723,), (1380906724,), (1380906725,), (1380906726,), (1380906727,), (1380906728,), (1380906769,), (1380906770,), (1380906771,), (1380906828,), (1380906829,), (1380906830,), (1380906867,), (1380906868,), (1380906870,), (1380906872,), (1380906874,), (1380906966,), (1380906970,), (1380906975,), (1380906980,), (1380906982,), (1380906983,), (1380906987,), (1380906988,), (1380906989,), (1380907035,), (1380907036,), (1380907037,), (1380907038,), (1380907039,), (1380907040,), (1380907074,), (1380907075,), (1380907076,), (1380907077,), (1380907118,), (1380907119,), (1380907151,), (1380907147,), (1380907148,), (1380907149,), (1380907150,), (1380907206,), (1380907207,), (1380907208,), (1380907209,), (1380907210,), (1380907466,), (1380907468,), (1380907470,), (1380907472,), (1380907684,), (1380907685,), (1380907686,), (1380907794,), (1380907795,), (1380907797,), (1380907798,), (1380907833,), (1380907834,), (1380907836,), (1380907837,), (1380907838,), (1380907878,), (1380907879,), (1380907880,), (1380907881,), (1380907882,), (1380907883,), (1380907887,), (1380907888,), (1380907891,), (1380907892,), (1380907921,), (1380907922,), (1380907971,), (1380907972,), (1380907973,), (1380907974,), (1380907975,), (1380907976,), (1380908019,), (1380908020,), (1380908021,), (1380908022,), (1380908060,), (1380908062,), (1380908063,), (1380908064,), (1380908065,), (1380908067,), (1380908106,), (1380908180,), (1380908181,), (1380908182,), (1380908183,), (1380908184,), (1380908185,), (1380908240,), (1380908241,), (1380908242,), (1380908243,), (1380908244,), (1380908313,), (1380908314,), (1380908315,), (1380908317,), (1380908318,), (1380908554,), (1380908707,), (1380908551,), (1380908553,), (1380908694,), (1380908695,), (1380908697,), (1380908698,), (1380908699,), (1380908700,), (1380908703,), (1380908705,), (1380908795,), (1380908796,), (1380908797,), (1380908798,), (1380908799,), (1380908839,), (1380908840,), (1380908841,), (1380908842,), (1380908843,), (1380908891,), (1380908892,), (1380908893,), (1380908936,), (1380908938,), (1380908939,), (1380908940,), (1380908941,), (1380908984,), (1380908985,), (1380908986,), (1380908987,), (1380908988,), (1380908989,), (1380909319,), (1380909321,), (1380909323,), (1380909325,), (1380909327,), (1380909329,), (1380909397,), (1380909398,), (1380909399,), (1380909439,), (1380909440,), (1380909441,), (1380909442,), (1380909443,), (1380909479,), (1380909480,), (1380909481,), (1380909482,), (1380909483,), (1380909505,), (1380909506,), (1380909507,), (1380909508,), (1380909509,), (1380909510,), (1380909542,), (1380909544,), (1380909546,), (1380909683,), (1380909684,), (1380909685,), (1380909686,), (1380909687,), (1380910469,), (1380910471,), (1380910475,), (1380911374,), (1380911364,), (1380911367,), (1380911371,), (1380912147,), (1380912151,), (1380912153,), (1380912687,), (1380912688,), (1380912690,), (1380912692,), (1380912929,), (1380912931,), (1380912933,), (1380913594,), (1380913597,), (1380913599,), (1380913601,), (1380913603,), (1380914037,), (1380914039,), (1380914041,), (1380914044,), (1380914046,), (1380914388,), (1380914389,), (1380914390,), (1380914391,), (1380914392,), (1380914393,), (1380914398,), (1380914399,), (1380914682,), (1380914685,), (1380914688,), (1380914921,), (1380914923,), (1380914924,), (1380914925,), (1380914926,), (1380915039,), (1380915040,), (1380915041,), (1380915042,), (1380915043,), (1380915127,), (1380915128,), (1380915129,), (1380915130,), (1380915202,), (1380915203,), (1380915204,), (1380915205,), (1380915302,), (1380915304,), (1380915306,), (1380915308,), (1380915310,), (1380915315,), (1380915702,), (1380915703,), (1380915704,), (1380915705,), (1380915895,), (1380915897,), (1380915898,), (1380915899,), (1380915900,), (1380915901,), (1380915946,), (1380916189,), (1380915941,), (1380915942,), (1380915943,), (1380915944,), (1380915945,), (1380916159,), (1380916160,), (1380916161,), (1380916162,), (1380916164,), (1380916165,), (1380916186,), (1380916187,), (1380916188,), (1380916319,), (1380916320,), (1380916322,), (1380916323,), (1380916324,), (1380916875,), (1380916877,), (1380916879,), (1380916881,), (1380916883,), (1380917137,), (1380917139,), (1380917141,), (1380917143,), (1380917499,), (1380917500,), (1380917501,), (1380917502,), (1380917503,), (1380917504,), (1380917577,), (1380917579,), (1380917580,), (1380917581,), (1380917637,), (1380917638,), (1380917639,), (1380917640,), (1380917698,), (1380917699,), (1380917700,), (1380917736,), (1380917737,), (1380917738,), (1380917739,), (1380917860,), (1380917862,), (1380917864,), (1380917865,), (1380917866,), (1380917867,), (1380917918,), (1380917919,), (1380917920,), (1380917921,), (1380917922,), (1380917924,), (1380917931,), (1380917932,), (1380917933,), (1380917934,), (1380917935,), (1380917984,), (1380917985,), (1380917987,), (1380917988,), (1380917990,), (1380917991,), (1380918007,), (1380918008,), (1380918032,), (1380918033,), (1380918034,), (1380918035,), (1380918036,), (1380918164,), (1380918165,), (1380918166,), (1380918167,), (1380918168,), (1380918205,), (1380918201,), (1380918202,), (1380918203,), (1380918204,), (1380918337,), (1380918339,), (1380918340,), (1380918400,), (1380918401,), (1380918402,), (1380918403,), (1380918404,), (1380918405,), (1380918454,), (1380918455,), (1380918456,), (1380918457,), (1380918458,), (1380918498,), (1380918499,), (1380918500,), (1380918501,), (1380918502,), (1380918558,), (1380918559,), (1380918560,), (1380918637,), (1380918638,), (1380918639,), (1380918640,), (1380918641,), (1380918642,), (1380918646,), (1380918648,), (1380918683,), (1380918684,), (1380918685,), (1380918686,), (1380918728,), (1380919008,), (1380919726,), (1380921474,), (1380922059,), (1380922061,), (1380923171,), (1380923426,), (1380923571,), (1380923814,), (1380923816,), (1380923818,), (1380923821,), (1380923823,), (1380923825,), (1380923934,), (1380923935,), (1380923937,), (1380923939,), (1380923941,), (1380923942,), (1380923981,), (1380923982,), (1380923983,), (1380923984,), (1380924034,), (1380924035,), (1380924036,), (1380924093,), (1380924094,), (1380924095,), (1380924097,), (1380924098,), (1380924099,), (1380924142,), (1380924143,), (1380924144,), (1380924145,), (1380924146,), (1380924147,), (1380924255,), (1380924256,), (1380924257,), (1380924258,), (1380924259,), (1380924351,), (1380924352,), (1380924353,), (1380924354,), (1380924355,), (1380924356,), (1380924523,), (1380924524,), (1380924525,), (1380924526,), (1380924582,), (1380924657,), (1380924654,), (1380924655,), (1380924656,), (1380924870,), (1380924872,), (1380924874,), (1380924877,), (1380925113,), (1380925115,), (1380925117,), (1380925119,), (1380925121,), (1380925123,), (1380925331,), (1380925332,), (1380925333,), (1380925334,), (1380925335,), (1380925336,), (1380925481,), (1380925484,), (1380925487,), (1380925967,), (1380925969,), (1380925971,), (1380925973,), (1380925975,), (1380925977,), (1380926371,), (1380926373,), (1380926375,), (1380926377,), (1380926379,), (1380926381,), (1380926788,), (1380926790,), (1380926792,), (1380926794,), (1380926909,), (1380926910,), (1380926911,), (1380926912,), (1380926913,), (1380926914,), (1380927208,), (1380927210,), (1380927212,), (1380927214,), (1380927408,), (1380927410,), (1380927412,), (1380927414,), (1380927416,), (1380927418,), (1380927472,), (1380927475,), (1380927569,), (1380927570,), (1380927571,), (1380927572,), (1380927573,), (1380927574,), (1380927878,), (1380927880,), (1380927882,), (1380927884,), (1380927886,), (1380927888,), (1380928004,), (1380928005,), (1380928006,), (1380928007,), (1380928070,), (1380928067,), (1380928068,), (1380928069,), (1380928347,), (1380928388,), (1380928389,), (1380928422,), (1380928484,), (1380928541,), (1380928542,), (1380928579,), (1380928580,), (1380928581,), (1380928582,), (1380928583,), (1380928639,), (1380928640,), (1380928642,), (1380928643,), (1380928644,), (1380928645,), (1380928681,), (1380928682,), (1380928683,), (1380928684,), (1380928927,), (1380928928,), (1380928930,), (1380928932,), (1380928993,), (1380928994,), (1380928995,), (1380928996,), (1380928997,), (1380929056,), (1380929057,), (1380929058,), (1380929059,), (1380929060,), (1380929061,), (1380929216,), (1380929217,), (1380929218,), (1380929271,), (1380929335,), (1380929267,), (1380929268,), (1380929269,), (1380929270,), (1380929324,), (1380929325,), (1380929326,), (1380929327,), (1380929328,), (1380929329,), (1380929332,), (1380929333,), (1380929334,), (1380929367,), (1380929368,), (1380929369,), (1380929370,), (1380929371,), (1380929372,), (1380929405,), (1380929406,), (1380929407,), (1380929408,), (1380929452,), (1380929453,), (1380929455,), (1380929456,), (1380929457,), (1380929458,), (1380929580,), (1380929581,), (1380929582,), (1380929583,), (1380929584,), (1380929685,), (1380929687,), (1380929689,), (1380929691,), (1380930021,), (1380930022,), (1380930023,), (1380930024,), (1380930061,), (1380930062,), (1380930063,), (1380930064,), (1380930065,), (1380930094,), (1380930095,), (1380930096,), (1380930097,), (1380930098,), (1380930099,), (1380930124,), (1380930184,), (1380930186,), (1380930188,), (1380930190,), (1380930334,), (1380930336,), (1380930338,), (1380930340,), (1380930341,), (1380930343,), (1380930443,), (1380930444,), (1380930445,), (1380930446,), (1380930533,), (1380930534,), (1380930536,), (1380930538,), (1380930539,), (1380930540,), (1380930545,), (1380930546,), (1380930548,), (1380930549,), (1380930870,), (1380930866,), (1380930868,), (1380931266,), (1380931269,), (1380931271,), (1380931273,), (1380931275,), (1380931277,), (1380931625,), (1380931626,), (1380931627,), (1380931629,), (1380931630,), (1380931631,), (1380931895,), (1380931896,), (1380931897,), (1380931898,), (1380932253,), (1380932317,), (1380932319,), (1380932321,), (1380932323,), (1380932693,), (1380932695,), (1380932697,), (1380932699,), (1380932701,), (1380932703,), (1380933439,), (1380933441,), (1380933443,), (1380933445,), (1380933447,), (1380933449,), (1380933505,), (1380933507,), (1380933509,), (1380933649,), (1380933652,), (1380933655,), (1380933658,), (1380933661,), (1380934169,), (1380934170,), (1380934171,), (1380934172,), (1380934173,), (1380934275,), (1380934277,), (1380934279,), (1380934281,), (1380934283,), (1380934285,), (1380934713,), (1380934715,), (1380934717,), (1380934720,), (1380935067,), (1380935068,), (1380935069,), (1380935071,), (1380935184,), (1380935186,), (1380935188,), (1380935190,), (1380935192,), (1380935194,), (1380935494,), (1380935540,), (1380935541,), (1380935542,), (1380935543,), (1380935544,), (1380935584,), (1380935585,), (1380935586,), (1380935895,), (1380936645,), (1380935885,), (1380935887,), (1380935889,), (1380935891,), (1380935893,), (1380936503,), (1380936506,), (1380936509,), (1380936512,), (1380936515,), (1380936518,), (1380936629,), (1380936633,), (1380936637,), (1380936641,), (1380937202,), (1380937205,), (1380937208,), (1380937211,), (1380937670,), (1380937672,), (1380937674,), (1380937676,), (1380937678,), (1380937680,), (1380938169,), (1380938172,), (1380938175,), (1380938990,), (1380938993,), (1380938996,), (1380938999,), (1380939273,), (1380939274,), (1380939275,), (1380939276,), (1380939338,), (1380939350,), (1380939351,), (1380939352,), (1380939438,), (1380939440,), (1380939441,), (1380939442,), (1380939532,), (1380939533,), (1380939534,), (1380939535,), (1380939705,), (1380939707,), (1380939709,), (1380939712,), (1380939715,), (1380939718,), (1380940144,), (1380940146,), (1380940148,), (1380940150,), (1380940152,), (1380940154,), (1380940239,), (1380940241,), (1380940243,), (1380940246,), (1380940249,), (1380940252,), (1380940494,), (1380940495,), (1380940496,), (1380940573,), (1380940575,), (1380940577,), (1380940579,), (1380940581,), (1380940958,), (1380940960,), (1380940961,), (1380940962,), (1380940963,), (1380940965,), (1380941511,), (1380941507,), (1380941509,), (1380941933,), (1380941936,), (1380941939,), (1380941942,), (1380941945,), (1380942700,), (1380942702,), (1380942704,), (1380942706,), (1380942708,), (1380942710,), (1380943129,), (1380943131,), (1380943134,), (1380943486,), (1380943488,), (1380943490,), (1380943492,), (1380943494,), (1380943496,), (1380943961,), (1380943964,), (1380943967,), (1380943970,), (1380943973,), (1380944423,), (1380944424,), (1380944425,), (1380944426,), (1380944427,), (1380944428,), (1380944462,), (1380944464,), (1380944466,), (1380944469,), (1380944690,), (1380944692,), (1380944694,), (1380944696,), (1380944698,), (1380945089,), (1380945091,), (1380945093,), (1380945095,), (1380945097,), (1380945730,), (1380945733,), (1380945736,), (1380945739,), (1380945742,), (1380945745,), (1380946456,), (1380946459,), (1380946462,), (1380946466,), (1380946661,), (1380946663,), (1380946665,), (1380946667,), (1380946669,), (1380946671,), (1380947078,), (1380947081,), (1380947084,), (1380947087,), (1380947090,), (1380947319,), (1380947320,), (1380947321,), (1380947438,), (1380947497,), (1380947433,), (1380947434,), (1380947435,), (1380947437,), (1380947476,), (1380947477,), (1380947478,), (1380947480,), (1380947481,), (1380947482,), (1380947489,), (1380947490,), (1380947492,), (1380947494,), (1380947528,), (1380947529,), (1380947531,), (1380947532,), (1380947584,), (1380947585,), (1380947586,), (1380947587,), (1380947629,), (1380947630,), (1380947631,), (1380947632,), (1380947634,), (1380947635,), (1380947678,), (1380947679,), (1380947730,), (1380947731,), (1380947732,), (1380947733,), (1380947734,), (1380947784,), (1380947785,), (1380947786,), (1380947787,), (1380947788,), (1380947789,), (1380947916,), (1380947917,), (1380947918,), (1380947951,), (1380947952,), (1380947953,), (1380948008,), (1380948009,), (1380948010,), (1380948011,), (1380948012,), (1380948013,), (1380948285,), (1380948287,), (1380948289,), (1380948291,), (1380948293,), (1380948295,), (1380948365,), (1380948367,), (1380948369,), (1380948371,), (1380948578,), (1380948579,), (1380948580,), (1380948581,), (1380948719,), (1380948721,), (1380948725,), (1380948727,), (1380948729,), (1380948731,), (1380949458,), (1380949452,), (1380949455,), (1380950054,), (1380950056,), (1380950058,), (1380950060,), (1380950062,), (1380950064,), (1380950423,), (1380950424,), (1380950425,), (1380950426,), (1380950427,), (1380950679,), (1380950682,), (1380950685,), (1380950688,), (1380950691,), (1380951000,), (1380951002,), (1380951004,), (1380951419,), (1380951421,), (1380951423,), (1380951425,), (1380952032,), (1380952034,), (1380952036,), (1380952038,), (1380952040,), (1380952046,), (1380952117,), (1380952119,), (1380952121,), (1380952374,), (1380952377,), (1380952381,), (1380952384,), (1380952387,), (1380952390,), (1380952803,), (1380952804,), (1380952805,), (1380952882,), (1380952883,), (1380952884,), (1380952885,), (1380952886,), (1380952887,), (1380952941,), (1380952942,), (1380952943,), (1380952944,), (1380952945,), (1380952991,), (1380952992,), (1380952993,), (1380952994,), (1380953033,), (1380953034,), (1380953035,), (1380953036,), (1380953078,), (1380953079,), (1380953080,), (1380953081,), (1380953427,), (1380953429,), (1380953431,), (1380953433,), (1380953435,), (1380953839,), (1380954188,), (1380953831,), (1380953833,), (1380953835,), (1380953837,), (1380954151,), (1380954152,), (1380954153,), (1380954154,), (1380954155,), (1380954156,), (1380954184,), (1380954186,), (1380954374,), (1380954376,), (1380954378,), (1380954380,), (1380954382,), (1380954492,), (1380954493,), (1380954494,), (1380954495,), (1380954496,), (1380954497,), (1380954757,), (1380954761,), (1380954766,), (1380955541,), (1380955542,), (1380955543,), (1380955544,), (1380955641,), (1380955642,), (1380955643,), (1380955644,), (1380955646,), (1380955691,), (1380955692,), (1380955693,), (1380955694,), (1380955749,), (1380955750,), (1380955933,), (1380955937,), (1380957496,), (1380957498,), (1380957742,), (1380957744,), (1380958121,), (1380958124,), (1380958535,), (1380958531,), (1380958533,), (1380958953,), (1380958955,), (1380958957,), (1380958959,), (1380958961,), (1380959142,), (1380959144,), (1380959146,), (1380959148,), (1380959150,), (1380959152,), (1380959321,), (1380959323,), (1380959324,), (1380959366,), (1380959367,), (1380959368,), (1380959369,), (1380959370,), (1380959371,), (1380960168,), (1380960173,), (1380960179,), (1380960185,), (1380960900,), (1380960903,), (1380960906,), (1380960908,), (1380960910,), (1380960912,), (1380960972,), (1380960974,), (1380961279,), (1380961281,), (1380961283,), (1380961285,), (1380961287,), (1380961289,), (1380961691,), (1380961694,), (1380961696,), (1380961698,), (1380961700,), (1380961702,), (1380962065,), (1380962071,), (1380962076,), (1380962081,), (1380963031,), (1380963036,), (1380963041,), (1380963046,), (1380963051,), (1380964157,), (1380964163,), (1380964168,), (1380964173,), (1380964912,), (1380964914,), (1380964916,), (1380965430,), (1380965433,), (1380966107,), (1380966114,), (1380966122,), (1380966126,), (1380966132,), (1380967306,), (1380967935,), (1380967296,), (1380967298,), (1380967300,), (1380967302,), (1380967304,), (1380967854,), (1380967856,), (1380967859,), (1380967861,), (1380967863,), (1380967865,), (1380967923,), (1380967926,), (1380967929,), (1380967932,), (1380968449,), (1380968452,), (1380968455,), (1380968458,), (1380968461,), (1380968464,), (1380969022,), (1380969024,), (1380969026,), (1380969028,), (1380969675,), (1380969677,), (1380969681,), (1380969683,), (1380969687,), (1380969904,), (1380969905,), (1380969906,), (1380969907,), (1380969908,), (1380969909,), (1380970564,), (1380970566,), (1380970568,), (1380970570,), (1380971095,), (1380971098,), (1380971100,), (1380971102,), (1380971104,), (1380971511,), (1380971513,), (1380971515,), (1380971517,), (1380971519,), (1380971689,), (1380971691,), (1380971693,), (1380971695,), (1380972812,), (1380972813,), (1380972814,), (1380972815,), (1380972816,), (1380972817,), (1380973028,), (1380973029,), (1380973030,), (1380973032,), (1380973034,), (1380973035,), (1380973042,), (1380973043,), (1380973044,), (1380973045,), (1380973046,), (1380973047,), (1380973204,), (1380973206,), (1380973208,), (1380973210,), (1380974320,), (1380974323,), (1380974326,), (1380974443,), (1380974446,), (1380974449,), (1380974452,), (1380975262,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02092025': {'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([26426742]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732] map_info['map_portfolio_photo'] : {26426742: [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732]} final : True mtd_id 4302 list_pids : [1380779372, 1380779343, 1380779342, 1380779340, 1380779339, 1380779338, 1380779306, 1380779305, 1380779304, 1380779303, 1380779302, 1380779301, 1380779264, 1380779263, 1380779262, 1380779261, 1380779162, 1380779160, 1380779093, 1380779090, 1380779086, 1380779083, 1380779080, 1380779077, 1380778841, 1380778840, 1380778839, 1380778838, 1380778735, 1380778734, 1380778733, 1380778732] Looping around the photos to save general results len do output : 1 /26426742Didn'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, '3656484') ('4302', '26426742', '1380779372', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779343', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779342', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779340', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779339', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779338', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779306', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779305', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779304', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779303', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779302', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779301', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779264', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779263', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779262', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779261', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779162', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779160', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779093', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779090', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779086', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779083', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779080', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380779077', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778841', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778840', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778839', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778838', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778735', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778734', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778733', None, None, None, None, None, '3656484') ('4302', None, None, None, None, None, None, None, '3656484') ('4302', '26426742', '1380778732', None, None, None, None, None, '3656484') 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, '26426742', 'None', None, None, None, None, '3656484'), ('4302', '26426742', '1380779372', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779343', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779342', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779340', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779339', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779338', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779306', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779305', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779304', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779303', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779302', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779301', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779264', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779263', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779262', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779261', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779162', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779160', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779093', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779090', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779086', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779083', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779080', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380779077', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778841', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778840', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778839', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778838', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778735', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778734', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778733', None, None, None, None, None, '3656484'), ('4302', '26426742', '1380778732', None, None, None, None, None, '3656484')] time used for this insertion : 0.027530193328857422 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.76249098777771 time spend to save output : 0.027889490127563477 total time spend for step 5 : 17.790380477905273 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 (3656484) 2.89user 2.55system 0:33.32elapsed 16%CPU (0avgtext+0avgdata 168600maxresident)k 1064inputs+22144outputs (5major+74795minor)pagefaults 0swaps