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 : 4145589 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 (2943564) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2943564) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286960 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2943564'] with mtr_portfolio_ids : ['23286960'] and first list_photo_ids : [] new path : /proc/4145589/ Name: python3 Umask: 0002 State: R (running) Tgid: 4145589 Ngid: 0 Pid: 4145589 PPid: 4145588 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4145589 NSpid: 4145589 NSpgid: 4143647 NSsid: 4143647 VmPeak: 1107324 kB VmSize: 1107324 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98616 kB VmRSS: 98616 kB RssAnon: 60204 kB RssFile: 38412 kB RssShmem: 0 kB VmData: 866072 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 560 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 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: 56 nonvoluntary_ctxt_switches: 142 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4145589', 'Ngid': '0', 'Pid': '4145589', 'PPid': '4145588', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4145589', 'NSpid': '4145589', 'NSpgid': '4143647', 'NSsid': '4143647', 'VmPeak': '1107324 kB', 'VmSize': '1107324 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98616 kB', 'VmRSS': '98616 kB', 'RssAnon': '60204 kB', 'RssFile': '38412 kB', 'RssShmem': '0 kB', 'VmData': '866072 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '560 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', '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': '56', 'nonvoluntary_ctxt_switches': '142'} ('datou_batch_current', '4145589', '1107324', '0', '1107324', '866072', '98616', b'', 'marlene', '2943564') 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 (23286960) 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 (2943564 ) ) 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 (23286960) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1360691763, 'portfolio_id': 23286960}, {'photo_id': 1360691734, 'portfolio_id': 23286960}, {'photo_id': 1360691731, 'portfolio_id': 23286960}, {'photo_id': 1360691727, 'portfolio_id': 23286960}, {'photo_id': 1360691710, 'portfolio_id': 23286960}, {'photo_id': 1360691709, 'portfolio_id': 23286960}, {'photo_id': 1360691708, 'portfolio_id': 23286960}, {'photo_id': 1360691705, 'portfolio_id': 23286960}, {'photo_id': 1360691703, 'portfolio_id': 23286960}, {'photo_id': 1360691700, 'portfolio_id': 23286960}, {'photo_id': 1360691676, 'portfolio_id': 23286960}, {'photo_id': 1360691675, 'portfolio_id': 23286960}, {'photo_id': 1360691673, 'portfolio_id': 23286960}, {'photo_id': 1360691670, 'portfolio_id': 23286960}, {'photo_id': 1360691667, 'portfolio_id': 23286960}, {'photo_id': 1360691664, 'portfolio_id': 23286960}, {'photo_id': 1360691644, 'portfolio_id': 23286960}, {'photo_id': 1360691641, 'portfolio_id': 23286960}, {'photo_id': 1360691639, 'portfolio_id': 23286960}, {'photo_id': 1360691636, 'portfolio_id': 23286960}, {'photo_id': 1360691633, 'portfolio_id': 23286960}, {'photo_id': 1360691615, 'portfolio_id': 23286960}, {'photo_id': 1360691613, 'portfolio_id': 23286960}, {'photo_id': 1360691611, 'portfolio_id': 23286960}, {'photo_id': 1360691609, 'portfolio_id': 23286960}, {'photo_id': 1360691569, 'portfolio_id': 23286960}, {'photo_id': 1360691566, 'portfolio_id': 23286960}, {'photo_id': 1360691563, 'portfolio_id': 23286960}, {'photo_id': 1360691561, 'portfolio_id': 23286960}, {'photo_id': 1360691559, 'portfolio_id': 23286960}, {'photo_id': 1360691557, 'portfolio_id': 23286960}, {'photo_id': 1360691508, 'portfolio_id': 23286960}, {'photo_id': 1360691504, 'portfolio_id': 23286960}, {'photo_id': 1360691483, 'portfolio_id': 23286960}, {'photo_id': 1360691479, 'portfolio_id': 23286960}, {'photo_id': 1360691475, 'portfolio_id': 23286960}, {'photo_id': 1360691454, 'portfolio_id': 23286960}, {'photo_id': 1360691452, 'portfolio_id': 23286960}, {'photo_id': 1360691446, 'portfolio_id': 23286960}, {'photo_id': 1360691442, 'portfolio_id': 23286960}, {'photo_id': 1360691390, 'portfolio_id': 23286960}, {'photo_id': 1360691328, 'portfolio_id': 23286960}] map_portfolio_id_photo_id: {23286960: [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328]} ##### 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.02456974983215332 #### 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 Mon May 26 14:57:28 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 (23286960) 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 : 23286960 get user id for portfolio 23286960 get sub ptf for main ptf 23286960, type 3726 and hashtags ['papier', 'plastique', 'Teint_Dans_La_Masse', 'metal', 'environnement', 'mal_croppe', 'autre_refus', 'Carton_brun', 'cartonnette', 'kraft', 'flou', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23286960 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','Teint_Dans_La_Masse','metal','environnement','mal_croppe','autre_refus','Carton_brun','cartonnette','kraft','flou','Carton_gris')) 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`=23286960 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','Teint_Dans_La_Masse','metal','environnement','mal_croppe','autre_refus','Carton_brun','cartonnette','kraft','flou','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 23286960, 'sub_port_id': 23286962, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532851, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}, 'mal_croppe': {'main_port_id': 23286960, 'sub_port_id': 23286963, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532852, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}, 'Carton_brun': {'main_port_id': 23286960, 'sub_port_id': 23286964, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532853, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}, 'environnement': {'main_port_id': 23286960, 'sub_port_id': 23286965, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532854, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}, 'papier': {'main_port_id': 23286960, 'sub_port_id': 23286966, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532855, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 23286960, 'sub_port_id': 23286967, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532856, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}, 'metal': {'main_port_id': 23286960, 'sub_port_id': 23286968, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532857, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}, 'kraft': {'main_port_id': 23286960, 'sub_port_id': 23286969, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532858, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}, 'cartonnette': {'main_port_id': 23286960, 'sub_port_id': 23286970, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532859, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}, 'plastique': {'main_port_id': 23286960, 'sub_port_id': 23286971, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532860, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}, 'flou': {'main_port_id': 23286960, 'sub_port_id': 23286972, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532861, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}, 'autre_refus': {'main_port_id': 23286960, 'sub_port_id': 23286973, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532862, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286962 , 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=23286960 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 (23286962) result : ((1360691693,), (1360691694,), (1360691948,), (1360692489,), (1360692490,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286963 , 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=23286960 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 (23286963) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286964 , 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=23286960 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 (23286964) result : ((1360691941,), (1360691942,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286965 , 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=23286960 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 (23286965) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286966 , 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=23286960 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 (23286966) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286967 , 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=23286960 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 (23286967) result : ((1360691689,), (1360691690,), (1360691691,), (1360692003,), (1360692004,), (1360692487,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286968 , 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=23286960 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 (23286968) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286969 , 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=23286960 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 (23286969) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286970 , 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=23286960 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 (23286970) result : ((1360691695,), (1360691696,), (1360691697,), (1360691938,), (1360691939,), (1360692008,), (1360692491,), (1360692492,), (1360692493,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286971 , 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=23286960 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 (23286971) result : ((1360691949,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286972 , 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=23286960 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 (23286972) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23286973 , 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=23286960 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 (23286973) result : ((1360691692,), (1360691945,), (1360691946,), (1360691947,), (1360692006,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23286960) result : ((1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,)) 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 (1360691700) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23286960 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','Teint_Dans_La_Masse','metal','environnement','mal_croppe','autre_refus','Carton_brun','cartonnette','kraft','flou','Carton_gris')) 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`=23286960 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','Teint_Dans_La_Masse','metal','environnement','mal_croppe','autre_refus','Carton_brun','cartonnette','kraft','flou','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 23286960, 'sub_port_id': 23286974, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532863, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}, 'mal_croppe': {'main_port_id': 23286960, 'sub_port_id': 23286975, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532864, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}, 'Carton_brun': {'main_port_id': 23286960, 'sub_port_id': 23286976, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532865, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}, 'environnement': {'main_port_id': 23286960, 'sub_port_id': 23286977, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532866, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}, 'papier': {'main_port_id': 23286960, 'sub_port_id': 23286978, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532867, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 23286960, 'sub_port_id': 23286979, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532868, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}, 'metal': {'main_port_id': 23286960, 'sub_port_id': 23286980, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532869, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}, 'kraft': {'main_port_id': 23286960, 'sub_port_id': 23286981, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532870, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}, 'cartonnette': {'main_port_id': 23286960, 'sub_port_id': 23286982, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532871, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}, 'plastique': {'main_port_id': 23286960, 'sub_port_id': 23286983, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532872, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}, 'flou': {'main_port_id': 23286960, 'sub_port_id': 23286984, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532873, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 7, 34), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}, 'autre_refus': {'main_port_id': 23286960, 'sub_port_id': 23286985, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15532874, 'last_updated_at': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 5, 23, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 5, 7, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286974,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286962 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286975,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286963 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286976,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286964 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286977,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286965 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286978,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286966 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286979,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286967 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286980,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286968 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286981,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286969 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286982,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286970 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286983,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286971 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286984,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286972 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23286985,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23286973 lien utilise dans velours : https://www.fotonower.com/velours/23286974,23286975,23286976,23286977,23286978,23286979,23286980,23286981,23286982,23286983,23286984,23286985?tags=Carton_gris,mal_croppe,Carton_brun,environnement,papier,Teint_Dans_La_Masse,metal,kraft,cartonnette,plastique,flou,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23286960]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328] map_info['map_portfolio_photo'] : {23286960: [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328]} final : False mtd_id 4302 list_pids : [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328] Looping around the photos to save general results len do output : 1 /23286960. 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, '2943564') ('4302', '23286960', '1360691763', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691734', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691731', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691727', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691710', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691709', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691708', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691705', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691703', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691700', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691676', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691675', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691673', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691670', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691667', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691664', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691644', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691641', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691639', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691636', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691633', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691615', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691613', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691611', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691609', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691569', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691566', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691563', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691561', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691559', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691557', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691508', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691504', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691483', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691479', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691475', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691454', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691452', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691446', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691442', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691390', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691328', None, None, None, None, None, '2943564') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '23286960', "{'Carton_gris': 23286962, 'mal_croppe': 23286963, 'Carton_brun': 23286964, 'environnement': 23286965, 'papier': 23286966, 'Teint_Dans_La_Masse': 23286967, 'metal': 23286968, 'kraft': 23286969, 'cartonnette': 23286970, 'plastique': 23286971, 'flou': 23286972, 'autre_refus': 23286973}", None, None, None, None, '2943564'), ('4302', '23286960', '1360691763', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691734', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691731', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691727', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691710', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691709', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691708', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691705', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691703', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691700', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691676', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691675', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691673', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691670', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691667', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691664', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691644', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691641', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691639', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691636', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691633', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691615', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691613', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691611', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691609', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691569', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691566', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691563', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691561', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691559', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691557', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691508', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691504', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691483', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691479', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691475', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691454', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691452', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691446', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691442', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691390', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691328', None, None, None, None, None, '2943564')] time used for this insertion : 0.019539356231689453 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4515094757080078 time spend to save output : 0.020025253295898438 total time spend for step 1 : 0.47153472900390625 step2:final Mon May 26 14:57:28 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 (23286960) 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 23286960 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1360691328,1360691454,1360691390,1360691452,1360691446,1360691442,1360691483,1360691479,1360691475,1360691508,1360691504,1360691569,1360691566,1360691563,1360691561,1360691559,1360691557,1360691615,1360691613,1360691611,1360691609,1360691644,1360691641,1360691639,1360691636,1360691633,1360691676,1360691675,1360691673,1360691670,1360691667,1360691664,1360691710,1360691709,1360691708,1360691705,1360691703,1360691700,1360691734,1360691731,1360691727,1360691763); 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([23286960]) Inside saveOutput : final : False verbose : True original output for save of step final : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} new output for save of step final : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328] map_info['map_portfolio_photo'] : {23286960: [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328]} final : False mtd_id 4302 list_pids : [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328] Looping around the photos to save general results len do output : 42 /1360691763.Didn't retrieve data . /1360691734.Didn't retrieve data . /1360691731.Didn't retrieve data . /1360691727.Didn't retrieve data . /1360691710.Didn't retrieve data . /1360691709.Didn't retrieve data . /1360691708.Didn't retrieve data . /1360691705.Didn't retrieve data . /1360691703.Didn't retrieve data . /1360691700.Didn't retrieve data . /1360691676.Didn't retrieve data . /1360691675.Didn't retrieve data . /1360691673.Didn't retrieve data . /1360691670.Didn't retrieve data . /1360691667.Didn't retrieve data . /1360691664.Didn't retrieve data . /1360691644.Didn't retrieve data . /1360691641.Didn't retrieve data . /1360691639.Didn't retrieve data . /1360691636.Didn't retrieve data . /1360691633.Didn't retrieve data . /1360691615.Didn't retrieve data . /1360691613.Didn't retrieve data . /1360691611.Didn't retrieve data . /1360691609.Didn't retrieve data . /1360691569.Didn't retrieve data . /1360691566.Didn't retrieve data . /1360691563.Didn't retrieve data . /1360691561.Didn't retrieve data . /1360691559.Didn't retrieve data . /1360691557.Didn't retrieve data . /1360691508.Didn't retrieve data . /1360691504.Didn't retrieve data . /1360691483.Didn't retrieve data . /1360691479.Didn't retrieve data . /1360691475.Didn't retrieve data . /1360691454.Didn't retrieve data . /1360691452.Didn't retrieve data . /1360691446.Didn't retrieve data . /1360691442.Didn't retrieve data . /1360691390.Didn't retrieve data . /1360691328.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, '2943564') ('4302', '23286960', '1360691763', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691734', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691731', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691727', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691710', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691709', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691708', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691705', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691703', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691700', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691676', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691675', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691673', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691670', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691667', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691664', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691644', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691641', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691639', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691636', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691633', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691615', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691613', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691611', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691609', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691569', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691566', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691563', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691561', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691559', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691557', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691508', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691504', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691483', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691479', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691475', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691454', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691452', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691446', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691442', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691390', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691328', None, None, None, None, None, '2943564') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 126 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', '23286960', '1360691763', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691734', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691731', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691727', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691710', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691709', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691708', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691705', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691703', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691700', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691676', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691675', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691673', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691670', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691667', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691664', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691644', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691641', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691639', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691636', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691633', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691615', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691613', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691611', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691609', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691569', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691566', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691563', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691561', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691559', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691557', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691508', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691504', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691483', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691479', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691475', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691454', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691452', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691446', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691442', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691390', '0.04410894381375473', None, None, None, None, '2943564'), ('4302', '23286960', '1360691328', '0.04410894381375473', None, None, None, None, '2943564')] time used for this insertion : 0.01836991310119629 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07164931297302246 time spend to save output : 0.020143747329711914 total time spend for step 2 : 0.09179306030273438 step3:velours_tree Mon May 26 14:57:28 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 : {23286960: [{'Carton_gris': 23286962, 'mal_croppe': 23286963, 'Carton_brun': 23286964, 'environnement': 23286965, 'papier': 23286966, 'Teint_Dans_La_Masse': 23286967, 'metal': 23286968, 'kraft': 23286969, 'cartonnette': 23286970, 'plastique': 23286971, 'flou': 23286972, 'autre_refus': 23286973}]} input_args_next_step : {23286960: ()} output_args : {23286960: [{'Carton_gris': 23286962, 'mal_croppe': 23286963, 'Carton_brun': 23286964, 'environnement': 23286965, 'papier': 23286966, 'Teint_Dans_La_Masse': 23286967, 'metal': 23286968, 'kraft': 23286969, 'cartonnette': 23286970, 'plastique': 23286971, 'flou': 23286972, 'autre_refus': 23286973}]} args : 23286960 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': 23286962, 'mal_croppe': 23286963, 'Carton_brun': 23286964, 'environnement': 23286965, 'papier': 23286966, 'Teint_Dans_La_Masse': 23286967, 'metal': 23286968, 'kraft': 23286969, 'cartonnette': 23286970, 'plastique': 23286971, 'flou': 23286972, 'autre_refus': 23286973},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23286960) 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([23286960]) 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.31785154342651367 time spend to save output : 4.9114227294921875e-05 total time spend for step 3 : 0.3179006576538086 step4:send_mail_cod Mon May 26 14:57:29 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 : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} input_args_next_step : {1360691763: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691763 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691734 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691731 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691727 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691710 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691709 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691708 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691705 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691703 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691700 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691676 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691675 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691673 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691670 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691667 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691664 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691644 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691641 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691639 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691636 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691633 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691615 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691613 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691611 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691609 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691569 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691566 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691563 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691561 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691559 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691557 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691508 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691504 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691483 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691479 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691475 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691454 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691452 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691446 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691442 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691390 depend.output_id : 0 input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ()} output_args : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',)} args : 1360691328 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 : {23286960: [{'Carton_gris': 23286962, 'mal_croppe': 23286963, 'Carton_brun': 23286964, 'environnement': 23286965, 'papier': 23286966, 'Teint_Dans_La_Masse': 23286967, 'metal': 23286968, 'kraft': 23286969, 'cartonnette': 23286970, 'plastique': 23286971, 'flou': 23286972, 'autre_refus': 23286973}]} input_args_next_step : {1360691763: ('0.04410894381375473',), 1360691734: ('0.04410894381375473',), 1360691731: ('0.04410894381375473',), 1360691727: ('0.04410894381375473',), 1360691710: ('0.04410894381375473',), 1360691709: ('0.04410894381375473',), 1360691708: ('0.04410894381375473',), 1360691705: ('0.04410894381375473',), 1360691703: ('0.04410894381375473',), 1360691700: ('0.04410894381375473',), 1360691676: ('0.04410894381375473',), 1360691675: ('0.04410894381375473',), 1360691673: ('0.04410894381375473',), 1360691670: ('0.04410894381375473',), 1360691667: ('0.04410894381375473',), 1360691664: ('0.04410894381375473',), 1360691644: ('0.04410894381375473',), 1360691641: ('0.04410894381375473',), 1360691639: ('0.04410894381375473',), 1360691636: ('0.04410894381375473',), 1360691633: ('0.04410894381375473',), 1360691615: ('0.04410894381375473',), 1360691613: ('0.04410894381375473',), 1360691611: ('0.04410894381375473',), 1360691609: ('0.04410894381375473',), 1360691569: ('0.04410894381375473',), 1360691566: ('0.04410894381375473',), 1360691563: ('0.04410894381375473',), 1360691561: ('0.04410894381375473',), 1360691559: ('0.04410894381375473',), 1360691557: ('0.04410894381375473',), 1360691508: ('0.04410894381375473',), 1360691504: ('0.04410894381375473',), 1360691483: ('0.04410894381375473',), 1360691479: ('0.04410894381375473',), 1360691475: ('0.04410894381375473',), 1360691454: ('0.04410894381375473',), 1360691452: ('0.04410894381375473',), 1360691446: ('0.04410894381375473',), 1360691442: ('0.04410894381375473',), 1360691390: ('0.04410894381375473',), 1360691328: ('0.04410894381375473',), 23286960: ()} output_args : {23286960: [{'Carton_gris': 23286962, 'mal_croppe': 23286963, 'Carton_brun': 23286964, 'environnement': 23286965, 'papier': 23286966, 'Teint_Dans_La_Masse': 23286967, 'metal': 23286968, 'kraft': 23286969, 'cartonnette': 23286970, 'plastique': 23286971, 'flou': 23286972, 'autre_refus': 23286973}]} args : 23286960 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 :43, first value : ('0.04410894381375473',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23286960) 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 (1360691763,1360691734,1360691731,1360691727,1360691710,1360691709,1360691708,1360691705,1360691703,1360691700,1360691676,1360691675,1360691673,1360691670,1360691667,1360691664,1360691644,1360691641,1360691639,1360691636,1360691633,1360691615,1360691613,1360691611,1360691609,1360691569,1360691566,1360691563,1360691561,1360691559,1360691557,1360691508,1360691504,1360691483,1360691479,1360691475,1360691454,1360691452,1360691446,1360691442,1360691390,1360691328) Found this number of photos: 42 ##### Call download_photos : nb_thread : 5 begin to download photo : 1360691328 begin to download photo : 1360691504 begin to download photo : 1360691611 begin to download photo : 1360691667 begin to download photo : 1360691709 download finish for photo 1360691709 begin to download photo : 1360691710 download finish for photo 1360691667 begin to download photo : 1360691670 download finish for photo 1360691504 begin to download photo : 1360691508 download finish for photo 1360691328 begin to download photo : 1360691390 download finish for photo 1360691611 begin to download photo : 1360691613 download finish for photo 1360691670 begin to download photo : 1360691673 download finish for photo 1360691508 begin to download photo : 1360691557 download finish for photo 1360691710 begin to download photo : 1360691727 download finish for photo 1360691390 begin to download photo : 1360691442 download finish for photo 1360691613 begin to download photo : 1360691615 download finish for photo 1360691673 begin to download photo : 1360691675 download finish for photo 1360691615 begin to download photo : 1360691633 download finish for photo 1360691442 begin to download photo : 1360691446 download finish for photo 1360691727 begin to download photo : 1360691731 download finish for photo 1360691557 begin to download photo : 1360691559 download finish for photo 1360691675 begin to download photo : 1360691676 download finish for photo 1360691633 begin to download photo : 1360691636 download finish for photo 1360691446 begin to download photo : 1360691452 download finish for photo 1360691731 begin to download photo : 1360691734 download finish for photo 1360691676 begin to download photo : 1360691700 download finish for photo 1360691559 begin to download photo : 1360691561 download finish for photo 1360691636 begin to download photo : 1360691639 download finish for photo 1360691452 begin to download photo : 1360691454 download finish for photo 1360691734 begin to download photo : 1360691763 download finish for photo 1360691700 begin to download photo : 1360691703 download finish for photo 1360691561 begin to download photo : 1360691563 download finish for photo 1360691639 begin to download photo : 1360691641 download finish for photo 1360691454 begin to download photo : 1360691475 download finish for photo 1360691703 begin to download photo : 1360691705 download finish for photo 1360691763 download finish for photo 1360691563 begin to download photo : 1360691566 download finish for photo 1360691475 begin to download photo : 1360691479 download finish for photo 1360691641 begin to download photo : 1360691644 download finish for photo 1360691705 begin to download photo : 1360691708 download finish for photo 1360691566 begin to download photo : 1360691569 download finish for photo 1360691479 begin to download photo : 1360691483 download finish for photo 1360691644 begin to download photo : 1360691664 download finish for photo 1360691708 download finish for photo 1360691483 download finish for photo 1360691569 begin to download photo : 1360691609 download finish for photo 1360691664 download finish for photo 1360691609 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette232869631748264250/ imagette232869681748264250/ imagette232869691748264250/ length of list_filenames : 42 ; length of list_pids : 42 ; length of list_args : 42 results_Auto_P23286960_26-05-2025_14_57_30.pdf 23286963 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=23286963 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232869631748264250 23286968 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=23286968 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232869681748264250 23286969 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=23286969 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232869691748264250 23286970 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=23286970 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360691695: '1747970006_2855936_1360691566_4bfca4bbb84b5569339309d70fd43dcd_rle_crop_3810915974_0.png', 1360691696: '1747970006_2855936_1360691563_9b21eb509807760173a6e8601330bb65_rle_crop_3810915989_0.png', 1360691697: '1747970006_2855936_1360691557_224e002fea453c7f565ad560e89d9dfd_rle_crop_3810916026_0.png', 1360691938: '1747970364_2863826_1360691763_7baa9228c315a5acf85272f030594628_rle_crop_3810916730_0.png', 1360691939: '1747970364_2863826_1360691727_4ea3ec633511cb79ce131acbb5a9011f_rle_crop_3810916747_0.png', 1360692008: '1747970486_2866697_1360691569_70e0adb7c88cc01abfc9510dfec266cc_rle_crop_3810916892_0.png', 1360692491: '1747971505_2884836_1360691676_1845f5d2542252a426a9102e02f67b6f_rle_crop_3810917994_0.png', 1360692492: '1747971505_2884836_1360691636_92f3fdd47a477f2c705070be82a3d1e9_rle_crop_3810918012_0.png', 1360692493: '1747971505_2884836_1360691633_951fb934a3758ebdcf5931f7c7fd02b7_rle_crop_3810918018_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/3e1b22c667196ca7db133617a6669fd6_40154070.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/38fba79ec03bd62d0dd5f0d387bee72d_33857487.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/6cd38c37328b7909580e854367d3ca48_91282712.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/10b3bfc5ef868dfa55ddea744258f627_91238757.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/fb88e4cccb321a437d1e9dcf966b398c_96514585.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/b8228e6e48fae4f088801a7dd16fcc47_4565012.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/3609f760e8447b3fb6be29a820aeed28_54874683.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/bd274a2fd27e977c22077f8f8a0fc04d_30582843.png change filename to text .imagette232869701748264250/ imagette232869701748264250/1747971505_2884836_1360691636_92f3fdd47a477f2c705070be82a3d1e9_rle_crop_3810918012_0.png.png imagette232869701748264250/1747970006_2855936_1360691566_4bfca4bbb84b5569339309d70fd43dcd_rle_crop_3810915974_0.png.png imagette232869701748264250/1747971505_2884836_1360691633_951fb934a3758ebdcf5931f7c7fd02b7_rle_crop_3810918018_0.png.png imagette232869701748264250/1747970006_2855936_1360691563_9b21eb509807760173a6e8601330bb65_rle_crop_3810915989_0.png.png imagette232869701748264250/1747970364_2863826_1360691727_4ea3ec633511cb79ce131acbb5a9011f_rle_crop_3810916747_0.png.png imagette232869701748264250/1747971505_2884836_1360691676_1845f5d2542252a426a9102e02f67b6f_rle_crop_3810917994_0.png.png imagette232869701748264250/1747970006_2855936_1360691557_224e002fea453c7f565ad560e89d9dfd_rle_crop_3810916026_0.png.png imagette232869701748264250/1747970486_2866697_1360691569_70e0adb7c88cc01abfc9510dfec266cc_rle_crop_3810916892_0.png.png imagette232869701748264250/1747970364_2863826_1360691763_7baa9228c315a5acf85272f030594628_rle_crop_3810916730_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/07ae9db404618f87c9fb560648958958_99342848.png imagette232869701748264250 23286971 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=23286971 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360691949: '1747970366_4162669_1360691673_ff44e16786d30f43a2c6f71f43f5ca3b_rle_crop_3810916784_0.png'} change filename to text .imagette232869711748264251/ imagette232869711748264251/1747970366_4162669_1360691673_ff44e16786d30f43a2c6f71f43f5ca3b_rle_crop_3810916784_0.png.png imagette232869721748264251/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/48ad8c3defa85a55d030773189ed6e9e_34369522.png imagette232869711748264251 23286972 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=23286972 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232869721748264251 23286973 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=23286973 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360691692: '1747970006_2855936_1360691566_4bfca4bbb84b5569339309d70fd43dcd_rle_crop_3810915976_0.png', 1360691945: '1747970366_4162669_1360691675_74957bdd4bbdb749e27873d38738e357_rle_crop_3810916770_0.png', 1360691946: '1747970366_4162669_1360691673_ff44e16786d30f43a2c6f71f43f5ca3b_rle_crop_3810916781_0.png', 1360691947: '1747970366_4162669_1360691667_b0864c8406535b5a0afbec750f410762_rle_crop_3810916809_0.png', 1360692006: '1747970486_2866697_1360691504_1557dd9b51bc624a1418dbc199a44123_rle_crop_3810916901_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/1243c5212f26e187d786826a4089bd83_21113111.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/b13f97e8038fe9e15d246d821e502d43_16206349.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/c39668ed47e1812cbdfd8db5ca5f2408_40407967.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/fe64ab6243a63d58aa39348402487453_5755702.png change filename to text .imagette232869731748264251/ imagette232869731748264251/1747970486_2866697_1360691504_1557dd9b51bc624a1418dbc199a44123_rle_crop_3810916901_0.png.png imagette232869731748264251/1747970006_2855936_1360691566_4bfca4bbb84b5569339309d70fd43dcd_rle_crop_3810915976_0.png.png imagette232869731748264251/1747970366_4162669_1360691667_b0864c8406535b5a0afbec750f410762_rle_crop_3810916809_0.png.png imagette232869731748264251/1747970366_4162669_1360691675_74957bdd4bbdb749e27873d38738e357_rle_crop_3810916770_0.png.png imagette232869731748264251/1747970366_4162669_1360691673_ff44e16786d30f43a2c6f71f43f5ca3b_rle_crop_3810916781_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/db07c5e19ec905ad3fa651773628c803_95223685.png imagette232869731748264251 23286962 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=23286962 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360691693: '1747970006_2855936_1360691615_415686bf0facc1c900efe99bd6bb0fa8_rle_crop_3810915957_0.png', 1360691694: '1747970006_2855936_1360691559_83b3455f80142ade559fd590b87a9577_rle_crop_3810916012_0.png', 1360691948: '1747970366_4162669_1360691675_74957bdd4bbdb749e27873d38738e357_rle_crop_3810916764_0.png', 1360692489: '1747971505_2884836_1360691676_1845f5d2542252a426a9102e02f67b6f_rle_crop_3810917997_0.png', 1360692490: '1747971505_2884836_1360691633_951fb934a3758ebdcf5931f7c7fd02b7_rle_crop_3810918022_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/02a768ba95ac44826ce71d0ae560dae6_17365909.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/3e14122ef44fb2f6f975a3961d07cb98_42471954.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/8802ed95eed94c04ba6faad6574eb0f5_58086502.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/75a0dff5a172c8092175a245bbdefdb4_31596181.png change filename to text .imagette232869621748264252/ imagette232869621748264252/1747970006_2855936_1360691559_83b3455f80142ade559fd590b87a9577_rle_crop_3810916012_0.png.png imagette232869621748264252/1747971505_2884836_1360691676_1845f5d2542252a426a9102e02f67b6f_rle_crop_3810917997_0.png.png imagette232869621748264252/1747970006_2855936_1360691615_415686bf0facc1c900efe99bd6bb0fa8_rle_crop_3810915957_0.png.png imagette232869621748264252/1747970366_4162669_1360691675_74957bdd4bbdb749e27873d38738e357_rle_crop_3810916764_0.png.png imagette232869621748264252/1747971505_2884836_1360691633_951fb934a3758ebdcf5931f7c7fd02b7_rle_crop_3810918022_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/811d490f626aaba585b20b70da014184_6390856.png imagette232869621748264252 23286964 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=23286964 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360691941: '1747970364_2863826_1360691763_7baa9228c315a5acf85272f030594628_rle_crop_3810916731_0.png', 1360691942: '1747970364_2863826_1360691727_4ea3ec633511cb79ce131acbb5a9011f_rle_crop_3810916752_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/91613f8f74d15f10a0b40850471e2615_12494870.png change filename to text .imagette232869641748264253/ imagette232869641748264253/1747970364_2863826_1360691727_4ea3ec633511cb79ce131acbb5a9011f_rle_crop_3810916752_0.png.png imagette232869641748264253/1747970364_2863826_1360691763_7baa9228c315a5acf85272f030594628_rle_crop_3810916731_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/43ebf439959da570cdc5fcedf68fa1ec_73675673.png imagette232869641748264253 23286967 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=23286967 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360691689: '1747970006_2855936_1360691615_415686bf0facc1c900efe99bd6bb0fa8_rle_crop_3810915958_0.png', 1360691690: '1747970006_2855936_1360691563_9b21eb509807760173a6e8601330bb65_rle_crop_3810915993_0.png', 1360691691: '1747970006_2855936_1360691563_9b21eb509807760173a6e8601330bb65_rle_crop_3810915992_0.png', 1360692003: '1747970486_2866697_1360691504_1557dd9b51bc624a1418dbc199a44123_rle_crop_3810916910_0.png', 1360692004: '1747970486_2866697_1360691504_1557dd9b51bc624a1418dbc199a44123_rle_crop_3810916904_0.png', 1360692487: '1747971505_2884836_1360691633_951fb934a3758ebdcf5931f7c7fd02b7_rle_crop_3810918023_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/138b3d9d92c326e9433724fe3cea718a_92615349.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/fc3366f4b0da69053b4b6e0fa0a4795a_21544010.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/5c6b6db19012f65153412c04f5022e7f_77732914.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/24ffc880a33789238f2037d40f3b4a9c_50269744.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/1edffc65523374b81aa42fcd82ea0b7c_19675201.png change filename to text .imagette232869671748264253/ imagette232869671748264253/1747970006_2855936_1360691615_415686bf0facc1c900efe99bd6bb0fa8_rle_crop_3810915958_0.png.png imagette232869671748264253/1747970006_2855936_1360691563_9b21eb509807760173a6e8601330bb65_rle_crop_3810915992_0.png.png imagette232869671748264253/1747970486_2866697_1360691504_1557dd9b51bc624a1418dbc199a44123_rle_crop_3810916910_0.png.png imagette232869671748264253/1747971505_2884836_1360691633_951fb934a3758ebdcf5931f7c7fd02b7_rle_crop_3810918023_0.png.png imagette232869671748264253/1747970006_2855936_1360691563_9b21eb509807760173a6e8601330bb65_rle_crop_3810915993_0.png.png imagette232869671748264253/1747970486_2866697_1360691504_1557dd9b51bc624a1418dbc199a44123_rle_crop_3810916904_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/117b3c725f3145e957b8c2eb130daa4c_57754598.png imagette232869671748264253 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23286960 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23286974,23286975,23286976,23286977,23286978,23286979,23286980,23286981,23286982,23286983,23286984,23286985?tags=Carton_gris,mal_croppe,Carton_brun,environnement,papier,Teint_Dans_La_Masse,metal,kraft,cartonnette,plastique,flou,autre_refus your option no_mail is active, we will not send the real mail to your client args[1360691763] : ('0.04410894381375473',) no score found for photo 1360691763 We are sending mail with results at report@fotonower.com args[1360691734] : ('0.04410894381375473',) no score found for photo 1360691734 We are sending mail with results at report@fotonower.com args[1360691731] : ('0.04410894381375473',) no score found for photo 1360691731 We are sending mail with results at report@fotonower.com args[1360691727] : ('0.04410894381375473',) no score found for photo 1360691727 We are sending mail with results at report@fotonower.com args[1360691710] : ('0.04410894381375473',) no score found for photo 1360691710 We are sending mail with results at report@fotonower.com args[1360691709] : ('0.04410894381375473',) no score found for photo 1360691709 We are sending mail with results at report@fotonower.com args[1360691708] : ('0.04410894381375473',) no score found for photo 1360691708 We are sending mail with results at report@fotonower.com args[1360691705] : ('0.04410894381375473',) no score found for photo 1360691705 We are sending mail with results at report@fotonower.com args[1360691703] : ('0.04410894381375473',) no score found for photo 1360691703 We are sending mail with results at report@fotonower.com args[1360691700] : ('0.04410894381375473',) no score found for photo 1360691700 We are sending mail with results at report@fotonower.com args[1360691676] : ('0.04410894381375473',) no score found for photo 1360691676 We are sending mail with results at report@fotonower.com args[1360691675] : ('0.04410894381375473',) no score found for photo 1360691675 We are sending mail with results at report@fotonower.com args[1360691673] : ('0.04410894381375473',) no score found for photo 1360691673 We are sending mail with results at report@fotonower.com args[1360691670] : ('0.04410894381375473',) no score found for photo 1360691670 We are sending mail with results at report@fotonower.com args[1360691667] : ('0.04410894381375473',) no score found for photo 1360691667 We are sending mail with results at report@fotonower.com args[1360691664] : ('0.04410894381375473',) no score found for photo 1360691664 We are sending mail with results at report@fotonower.com args[1360691644] : ('0.04410894381375473',) no score found for photo 1360691644 We are sending mail with results at report@fotonower.com args[1360691641] : ('0.04410894381375473',) no score found for photo 1360691641 We are sending mail with results at report@fotonower.com args[1360691639] : ('0.04410894381375473',) no score found for photo 1360691639 We are sending mail with results at report@fotonower.com args[1360691636] : ('0.04410894381375473',) no score found for photo 1360691636 We are sending mail with results at report@fotonower.com args[1360691633] : ('0.04410894381375473',) no score found for photo 1360691633 We are sending mail with results at report@fotonower.com args[1360691615] : ('0.04410894381375473',) no score found for photo 1360691615 We are sending mail with results at report@fotonower.com args[1360691613] : ('0.04410894381375473',) no score found for photo 1360691613 We are sending mail with results at report@fotonower.com args[1360691611] : ('0.04410894381375473',) no score found for photo 1360691611 We are sending mail with results at report@fotonower.com args[1360691609] : ('0.04410894381375473',) no score found for photo 1360691609 We are sending mail with results at report@fotonower.com args[1360691569] : ('0.04410894381375473',) no score found for photo 1360691569 We are sending mail with results at report@fotonower.com args[1360691566] : ('0.04410894381375473',) no score found for photo 1360691566 We are sending mail with results at report@fotonower.com args[1360691563] : ('0.04410894381375473',) no score found for photo 1360691563 We are sending mail with results at report@fotonower.com args[1360691561] : ('0.04410894381375473',) no score found for photo 1360691561 We are sending mail with results at report@fotonower.com args[1360691559] : ('0.04410894381375473',) no score found for photo 1360691559 We are sending mail with results at report@fotonower.com args[1360691557] : ('0.04410894381375473',) no score found for photo 1360691557 We are sending mail with results at report@fotonower.com args[1360691508] : ('0.04410894381375473',) no score found for photo 1360691508 We are sending mail with results at report@fotonower.com args[1360691504] : ('0.04410894381375473',) no score found for photo 1360691504 We are sending mail with results at report@fotonower.com args[1360691483] : ('0.04410894381375473',) no score found for photo 1360691483 We are sending mail with results at report@fotonower.com args[1360691479] : ('0.04410894381375473',) no score found for photo 1360691479 We are sending mail with results at report@fotonower.com args[1360691475] : ('0.04410894381375473',) no score found for photo 1360691475 We are sending mail with results at report@fotonower.com args[1360691454] : ('0.04410894381375473',) no score found for photo 1360691454 We are sending mail with results at report@fotonower.com args[1360691452] : ('0.04410894381375473',) no score found for photo 1360691452 We are sending mail with results at report@fotonower.com args[1360691446] : ('0.04410894381375473',) no score found for photo 1360691446 We are sending mail with results at report@fotonower.com args[1360691442] : ('0.04410894381375473',) no score found for photo 1360691442 We are sending mail with results at report@fotonower.com args[1360691390] : ('0.04410894381375473',) no score found for photo 1360691390 We are sending mail with results at report@fotonower.com args[1360691328] : ('0.04410894381375473',) no score found for photo 1360691328 We are sending mail with results at report@fotonower.com refus_total : 0.04410894381375473 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=23286960 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_P23286960_26-05-2025_14_57_30.pdf results_Auto_P23286960_26-05-2025_14_57_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286960_26-05-2025_14_57_30.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','23286960','results_Auto_P23286960_26-05-2025_14_57_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286960_26-05-2025_14_57_30.pdf','pdf','','0.4','0.04410894381375473') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23286960]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328] map_info['map_portfolio_photo'] : {23286960: [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328]} final : False mtd_id 4302 list_pids : [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328] 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, '2943564') ('4302', '23286960', '1360691763', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691734', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691731', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691727', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691710', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691709', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691708', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691705', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691703', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691700', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691676', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691675', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691673', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691670', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691667', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691664', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691644', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691641', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691639', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691636', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691633', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691615', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691613', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691611', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691609', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691569', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691566', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691563', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691561', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691559', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691557', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691508', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691504', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691483', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691479', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691475', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691454', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691452', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691446', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691442', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691390', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691328', None, None, None, None, None, '2943564') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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', '23286960', '1360691763', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691734', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691731', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691727', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691710', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691709', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691708', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691705', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691703', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691700', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691676', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691675', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691673', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691670', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691667', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691664', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691644', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691641', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691639', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691636', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691633', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691615', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691613', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691611', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691609', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691569', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691566', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691563', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691561', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691559', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691557', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691508', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691504', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691483', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691479', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691475', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691454', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691452', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691446', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691442', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691390', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691328', None, None, None, None, None, '2943564')] time used for this insertion : 0.018711566925048828 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.780154705047607 time spend to save output : 0.0191190242767334 total time spend for step 4 : 7.799273729324341 step5:split_time_score Mon May 26 14:57:36 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 : ['23286960'] 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 : [('23286960',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23286960) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1360691709: {'path': 'temp/1748264249_4145589_1360691709_2a1eeafc089b0d7a58fb361ef58a1b30.jpg', 'extension': 'jpg'}, 1360691710: {'path': 'temp/1748264249_4145589_1360691710_feda16e9a1c6f039e764f9cb5217cc48.jpg', 'extension': 'jpg'}, 1360691727: {'path': 'temp/1748264249_4145589_1360691727_4ea3ec633511cb79ce131acbb5a9011f.jpg', 'extension': 'jpg'}, 1360691731: {'path': 'temp/1748264249_4145589_1360691731_da591d34884a75780fd508e0a5293a60.jpg', 'extension': 'jpg'}, 1360691734: {'path': 'temp/1748264249_4145589_1360691734_9388bc5130dc8e0489dd1ec486948709.jpg', 'extension': 'jpg'}, 1360691763: {'path': 'temp/1748264249_4145589_1360691763_7baa9228c315a5acf85272f030594628.jpg', 'extension': 'jpg'}, 1360691667: {'path': 'temp/1748264249_4145589_1360691667_b0864c8406535b5a0afbec750f410762.jpg', 'extension': 'jpg'}, 1360691670: {'path': 'temp/1748264249_4145589_1360691670_ae5e9c3d0603c486cc75fe14e996003b.jpg', 'extension': 'jpg'}, 1360691673: {'path': 'temp/1748264249_4145589_1360691673_ff44e16786d30f43a2c6f71f43f5ca3b.jpg', 'extension': 'jpg'}, 1360691675: {'path': 'temp/1748264249_4145589_1360691675_74957bdd4bbdb749e27873d38738e357.jpg', 'extension': 'jpg'}, 1360691676: {'path': 'temp/1748264249_4145589_1360691676_1845f5d2542252a426a9102e02f67b6f.jpg', 'extension': 'jpg'}, 1360691700: {'path': 'temp/1748264249_4145589_1360691700_ccd93bd7ac9dcafbb642382b61de91be.jpg', 'extension': 'jpg'}, 1360691703: {'path': 'temp/1748264249_4145589_1360691703_7703dbc255b342152feb594468992f9f.jpg', 'extension': 'jpg'}, 1360691705: {'path': 'temp/1748264249_4145589_1360691705_16746fd610abd5a1469938c294a986b7.jpg', 'extension': 'jpg'}, 1360691708: {'path': 'temp/1748264249_4145589_1360691708_9086956d16bbc8efd3ae097751633457.jpg', 'extension': 'jpg'}, 1360691328: {'path': 'temp/1748264249_4145589_1360691328_33a22addd5fb3add6bb3053a846f0a7b.jpg', 'extension': 'jpg'}, 1360691390: {'path': 'temp/1748264249_4145589_1360691390_7d547361140c9ae94c8875dc25bfb3a2.jpg', 'extension': 'jpg'}, 1360691442: {'path': 'temp/1748264249_4145589_1360691442_2247511a71ec3dfe5ad8b6762f0881e6.jpg', 'extension': 'jpg'}, 1360691446: {'path': 'temp/1748264249_4145589_1360691446_76f19ef44caab68d246aec7ba141b346.jpg', 'extension': 'jpg'}, 1360691452: {'path': 'temp/1748264249_4145589_1360691452_592055565dfb3b20fc27a58d573cc1c7.jpg', 'extension': 'jpg'}, 1360691454: {'path': 'temp/1748264249_4145589_1360691454_96cd36e9e30f901a7722223316083607.jpg', 'extension': 'jpg'}, 1360691475: {'path': 'temp/1748264249_4145589_1360691475_7d86825c3db649afb945c10bcac6f593.jpg', 'extension': 'jpg'}, 1360691479: {'path': 'temp/1748264249_4145589_1360691479_161d5437ff15dde89dda130658580c74.jpg', 'extension': 'jpg'}, 1360691483: {'path': 'temp/1748264249_4145589_1360691483_631d964181753c59ccaf5b50cebf40d7.jpg', 'extension': 'jpg'}, 1360691611: {'path': 'temp/1748264249_4145589_1360691611_01bbc3216ad52423c8be6e92bc93272e.jpg', 'extension': 'jpg'}, 1360691613: {'path': 'temp/1748264249_4145589_1360691613_98cd6479de498ee838d69e3fa26bc230.jpg', 'extension': 'jpg'}, 1360691615: {'path': 'temp/1748264249_4145589_1360691615_415686bf0facc1c900efe99bd6bb0fa8.jpg', 'extension': 'jpg'}, 1360691633: {'path': 'temp/1748264249_4145589_1360691633_951fb934a3758ebdcf5931f7c7fd02b7.jpg', 'extension': 'jpg'}, 1360691636: {'path': 'temp/1748264249_4145589_1360691636_92f3fdd47a477f2c705070be82a3d1e9.jpg', 'extension': 'jpg'}, 1360691639: {'path': 'temp/1748264249_4145589_1360691639_df203455859cbfdc02f243522ea0e250.jpg', 'extension': 'jpg'}, 1360691641: {'path': 'temp/1748264249_4145589_1360691641_0e8e8a3e0d9484dc9864dfe4814278ba.jpg', 'extension': 'jpg'}, 1360691644: {'path': 'temp/1748264249_4145589_1360691644_334280bed9f08cb1c2c117ab129126ab.jpg', 'extension': 'jpg'}, 1360691664: {'path': 'temp/1748264249_4145589_1360691664_f38bfd0d7b96dcae2d7669ebde12c085.jpg', 'extension': 'jpg'}, 1360691504: {'path': 'temp/1748264249_4145589_1360691504_1557dd9b51bc624a1418dbc199a44123.jpg', 'extension': 'jpg'}, 1360691508: {'path': 'temp/1748264249_4145589_1360691508_0fd6adcbd79568c35f169758ac043095.jpg', 'extension': 'jpg'}, 1360691557: {'path': 'temp/1748264249_4145589_1360691557_224e002fea453c7f565ad560e89d9dfd.jpg', 'extension': 'jpg'}, 1360691559: {'path': 'temp/1748264249_4145589_1360691559_83b3455f80142ade559fd590b87a9577.jpg', 'extension': 'jpg'}, 1360691561: {'path': 'temp/1748264249_4145589_1360691561_4f4bc9e49a0e2369b28ff497d6fdf9da.jpg', 'extension': 'jpg'}, 1360691563: {'path': 'temp/1748264249_4145589_1360691563_9b21eb509807760173a6e8601330bb65.jpg', 'extension': 'jpg'}, 1360691566: {'path': 'temp/1748264249_4145589_1360691566_4bfca4bbb84b5569339309d70fd43dcd.jpg', 'extension': 'jpg'}, 1360691569: {'path': 'temp/1748264249_4145589_1360691569_70e0adb7c88cc01abfc9510dfec266cc.jpg', 'extension': 'jpg'}, 1360691609: {'path': 'temp/1748264249_4145589_1360691609_91f9ac450eee069a6842ee2852b039ed.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 = 23286960; (('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 = 23286960 group by h (('05', 42),) 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=23286960 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 (23286960) 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 (23286960) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 23052025 23286960 Nombre de photos uploadées : 42 / 23040 (0%) 23052025 23286960 Nombre de photos taguées (types de déchets): 0 / 42 (0%) 23052025 23286960 Nombre de photos taguées (volume) : 0 / 42 (0%) [{'photo_id': 1360691328, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/33a22addd5fb3add6bb3053a846f0a7b.jpg', 'username': None, 'uploaded_at': 1747969328, 'text': 'image_23052025_05_01_04_10147.jpg'}, {'photo_id': 1360691454, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/96cd36e9e30f901a7722223316083607.jpg', 'username': None, 'uploaded_at': 1747969627, 'text': 'image_23052025_05_01_14_10136.jpg'}, {'photo_id': 1360691390, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/7d547361140c9ae94c8875dc25bfb3a2.jpg', 'username': None, 'uploaded_at': 1747969503, 'text': 'image_23052025_05_04_34_10139.jpg'}, {'photo_id': 1360691452, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/592055565dfb3b20fc27a58d573cc1c7.jpg', 'username': None, 'uploaded_at': 1747969627, 'text': 'image_23052025_05_06_14_10136.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.67572021484375e-06 ?????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002160310745239258 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 23286960, '2025-05-23' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1831613,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02358245849609375 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= 1831613 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23282309, 'dashboard_result_id': 10879379, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282309_23-05-2025_00_11_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23282326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282337, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23304624, 'dashboard_result_id': 10879380, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23304624_23-05-2025_17_00_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23304645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23304646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23304647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23304649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23304650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23304651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23304652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23304653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23304654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23304655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23304656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23304657, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23283058, 'dashboard_result_id': 10879381, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283058_23-05-2025_01_03_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23283060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283071, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23282803, 'dashboard_result_id': 10879382, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282803_26-05-2025_14_25_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23282816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282821, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23283810, 'dashboard_result_id': 10879383, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283810_23-05-2025_02_03_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23283824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283830, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23284061, 'dashboard_result_id': 10879384, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284061_23-05-2025_02_13_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284074, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23284185, 'dashboard_result_id': 10879385, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284185_26-05-2025_14_24_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284199, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23284543, 'dashboard_result_id': 10879386, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284543_23-05-2025_02_47_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284576, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23284637, 'dashboard_result_id': 10879387, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284637_26-05-2025_14_24_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23284639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284650, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23285058, 'dashboard_result_id': 10879388, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285058_23-05-2025_03_13_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23285061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285072, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23285265, 'dashboard_result_id': 10879389, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285265_23-05-2025_03_29_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285278, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23286346, 'dashboard_result_id': 10879390, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286346_23-05-2025_04_17_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286359, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23285758, 'dashboard_result_id': 10879391, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285758_26-05-2025_14_23_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285764, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285770, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23286077, 'dashboard_result_id': 10879392, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286077_26-05-2025_14_22_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286089, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23286960, 'dashboard_result_id': 10879393, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286960_23-05-2025_05_23_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286973, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23287222, 'dashboard_result_id': 10879394, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287222_26-05-2025_14_57_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287235, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23287637, 'dashboard_result_id': 10879395, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287637_26-05-2025_14_54_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287662, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23287638, 'dashboard_result_id': 10879396, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287638_26-05-2025_14_54_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287651, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23287834, 'dashboard_result_id': 10879397, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287834_26-05-2025_14_52_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287847, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23288115, 'dashboard_result_id': 10879398, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288115_26-05-2025_14_52_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23288117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288128, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23288547, 'dashboard_result_id': 10879399, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288547_23-05-2025_06_37_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23288548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23288558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288559, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23288807, 'dashboard_result_id': 10879400, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288807_26-05-2025_14_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23288816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288820, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23309457, 'dashboard_result_id': 10879401, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309457_26-05-2025_11_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327707, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23290064, 'dashboard_result_id': 10879402, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290064_26-05-2025_14_50_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290087, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23305438, 'dashboard_result_id': 10879403, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305438_23-05-2025_18_00_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23305455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23305456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23305457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23305458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23305459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23305460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23305461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23305462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23305463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23305464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23305465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23305466, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23309458, 'dashboard_result_id': 10879404, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309458_26-05-2025_11_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327636, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23291043, 'dashboard_result_id': 10879405, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291043_26-05-2025_14_49_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291072, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23290765, 'dashboard_result_id': 10879406, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290765_26-05-2025_14_48_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290784, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23291275, 'dashboard_result_id': 10879407, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291275_26-05-2025_14_48_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291296, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291297, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23292382, 'dashboard_result_id': 10879408, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292382_23-05-2025_09_33_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23292385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292396, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23292519, 'dashboard_result_id': 10879409, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292519_26-05-2025_14_42_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23292523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292533, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23309459, 'dashboard_result_id': 10879410, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309459_26-05-2025_11_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327605, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23306643, 'dashboard_result_id': 10879411, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23306643_23-05-2025_20_01_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306658, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23293107, 'dashboard_result_id': 10879412, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23293107_26-05-2025_13_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23293108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23293109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23293110, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23293111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23293112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23293113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23293114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23293115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23293116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23293117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23293118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23293119, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23305993, 'dashboard_result_id': 10879413, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305993_23-05-2025_19_01_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306043, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23305996, 'dashboard_result_id': 10879414, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305996_23-05-2025_19_00_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306013, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23303395, 'dashboard_result_id': 10879415, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303395_23-05-2025_16_01_43.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23303458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303460, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23296109, 'dashboard_result_id': 10879416, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23296109_23-05-2025_12_01_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23296112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23296113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23296114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23296115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23296116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23296117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23296118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23296119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23296120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23296121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23296122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23296123, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23295188, 'dashboard_result_id': 10879417, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23295188_26-05-2025_13_29_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23295221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23295222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23295223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23295224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23295226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23295227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23295228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23295229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23295230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23295231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23295232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23295233, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23303398, 'dashboard_result_id': 10879418, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303398_23-05-2025_16_01_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23303436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303448, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23297474, 'dashboard_result_id': 10879419, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23297474_26-05-2025_13_00_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23297504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23297505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23297506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23297507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23297508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23297509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23297511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23297512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23297513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23297514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23297515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23297516, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23299796, 'dashboard_result_id': 10879420, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23299796_26-05-2025_13_10_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23299834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23299835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23299836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23299837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23299838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23299839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23299840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23299841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23299842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23299843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23299844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23299845, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23300457, 'dashboard_result_id': 10879421, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23300457_26-05-2025_13_07_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23300534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23300535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23300536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23300537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23300538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23300539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23300540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23300541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23300542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23300543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23300544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23300545, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23301804, 'dashboard_result_id': 10879422, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23301804_23-05-2025_15_01_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23301806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23301807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23301808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23301809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23301810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23301811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23301812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23301813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23301814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23301815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23301816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23301817, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23302868, 'dashboard_result_id': 10879423, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23302868_23-05-2025_15_35_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23302873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23302874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23302875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23302876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23302877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23302878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23302879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23302880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23302881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23302882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23302883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23302884, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23309776, 'dashboard_result_id': 10879424, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309776_26-05-2025_11_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23309813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23309814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23309815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23309816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23309817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23309818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23309819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23309820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23309821, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23309822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23309823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23309824, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23310639, 'dashboard_result_id': 10879425, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310639_23-05-2025_23_41_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310687, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23310493, 'dashboard_result_id': 10879426, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310493_26-05-2025_11_38_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310542, '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 = 23282309 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939198, 'mtr_portfolio_id': 23282309, 'created_at': datetime.datetime(2025, 5, 23, 0, 11, 39), 'result': '0.049260136663882605', 'result_long': None, 'result_double': None}] Qualite : 0.049260136663882605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282309 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282309_23-05-2025_00_11_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282309 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282309_23-05-2025_00_11_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23282326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282337, 'pht': 3726}}" where mtr_portfolio_id = 23282309 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23282309 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879379, 0.049260136663882605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282309_23-05-2025_00_11_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23282326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282337, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23304624 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946049, 'mtr_portfolio_id': 23304624, 'created_at': datetime.datetime(2025, 5, 23, 17, 0, 34), 'result': '0.048645099607279196', 'result_long': None, 'result_double': None}] Qualite : 0.048645099607279196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23304624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23304624_23-05-2025_17_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23304624 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23304624_23-05-2025_17_00_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23304645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23304646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23304647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23304649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23304650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23304651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23304652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23304653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23304654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23304655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23304656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23304657, 'pht': 3726}}" where mtr_portfolio_id = 23304624 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23304624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879380, 0.048645099607279196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23304624_23-05-2025_17_00_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23304645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23304646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23304647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23304649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23304650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23304651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23304652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23304653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23304654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23304655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23304656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23304657, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23283058 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939537, 'mtr_portfolio_id': 23283058, 'created_at': datetime.datetime(2025, 5, 23, 1, 3, 32), 'result': '0.031939725503842456', 'result_long': None, 'result_double': None}] Qualite : 0.031939725503842456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23283058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283058_23-05-2025_01_03_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23283058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283058_23-05-2025_01_03_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23283060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283071, 'pht': 3726}}" where mtr_portfolio_id = 23283058 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23283058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879381, 0.031939725503842456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283058_23-05-2025_01_03_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23283060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283071, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282803 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943898, 'mtr_portfolio_id': 23282803, 'created_at': datetime.datetime(2025, 5, 26, 14, 25, 30), 'result': '0.037674885556400646', 'result_long': None, 'result_double': None}] Qualite : 0.037674885556400646 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282803_26-05-2025_14_25_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282803 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282803_26-05-2025_14_25_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23282816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282821, 'pht': 3726}}" where mtr_portfolio_id = 23282803 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23282803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879382, 0.037674885556400646, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282803_26-05-2025_14_25_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23282816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282821, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23283810 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939818, 'mtr_portfolio_id': 23283810, 'created_at': datetime.datetime(2025, 5, 23, 2, 3, 28), 'result': '0.03903763175748807', 'result_long': None, 'result_double': None}] Qualite : 0.03903763175748807 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23283810 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283810_23-05-2025_02_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23283810 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283810_23-05-2025_02_03_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23283824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283830, 'pht': 3726}}" where mtr_portfolio_id = 23283810 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23283810 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879383, 0.03903763175748807, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283810_23-05-2025_02_03_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23283824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283830, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23284061 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939917, 'mtr_portfolio_id': 23284061, 'created_at': datetime.datetime(2025, 5, 23, 2, 13, 35), 'result': '0.014606609257288712', 'result_long': None, 'result_double': None}] Qualite : 0.014606609257288712 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23284061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284061_23-05-2025_02_13_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23284061 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284061_23-05-2025_02_13_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284074, 'pht': 3726}}" where mtr_portfolio_id = 23284061 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23284061 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879384, 0.014606609257288712, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284061_23-05-2025_02_13_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284074, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23284185 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943899, 'mtr_portfolio_id': 23284185, 'created_at': datetime.datetime(2025, 5, 26, 14, 24, 28), 'result': '0.06139283378281599', 'result_long': None, 'result_double': None}] Qualite : 0.06139283378281599 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23284185 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284185_26-05-2025_14_24_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23284185 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284185_26-05-2025_14_24_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284199, 'pht': 3726}}" where mtr_portfolio_id = 23284185 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23284185 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879385, 0.06139283378281599, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284185_26-05-2025_14_24_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284199, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23284543 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2940169, 'mtr_portfolio_id': 23284543, 'created_at': datetime.datetime(2025, 5, 23, 2, 47, 32), 'result': '0.08404108265434093', 'result_long': None, 'result_double': None}] Qualite : 0.08404108265434093 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23284543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284543_23-05-2025_02_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23284543 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284543_23-05-2025_02_47_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284576, 'pht': 3726}}" where mtr_portfolio_id = 23284543 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23284543 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879386, 0.08404108265434093, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284543_23-05-2025_02_47_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284576, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23284637 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943900, 'mtr_portfolio_id': 23284637, 'created_at': datetime.datetime(2025, 5, 26, 14, 24), 'result': '0.02116161060463407', 'result_long': None, 'result_double': None}] Qualite : 0.02116161060463407 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23284637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284637_26-05-2025_14_24_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23284637 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284637_26-05-2025_14_24_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23284639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284650, 'pht': 3726}}" where mtr_portfolio_id = 23284637 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23284637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879387, 0.02116161060463407, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284637_26-05-2025_14_24_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23284639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284650, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23285058 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2940469, 'mtr_portfolio_id': 23285058, 'created_at': datetime.datetime(2025, 5, 23, 3, 13, 30), 'result': '0.05774261330417512', 'result_long': None, 'result_double': None}] Qualite : 0.05774261330417512 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23285058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285058_23-05-2025_03_13_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23285058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285058_23-05-2025_03_13_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23285061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285072, 'pht': 3726}}" where mtr_portfolio_id = 23285058 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23285058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879388, 0.05774261330417512, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285058_23-05-2025_03_13_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23285061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285072, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23285265 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 = 23285265 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 = 23285265 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23285265 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 = 23285265 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2940553, 'mtr_portfolio_id': 23285265, 'created_at': datetime.datetime(2025, 5, 23, 3, 29, 29), 'result': 0.0, 'result_long': None, 'result_double': None}] Qualite : 0.0 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23285265 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285265_23-05-2025_03_29_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23285265 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285265_23-05-2025_03_29_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285278, 'pht': 3726}}" where mtr_portfolio_id = 23285265 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23285265 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879389, 0.0, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285265_23-05-2025_03_29_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285278, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23286346 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2941059, 'mtr_portfolio_id': 23286346, 'created_at': datetime.datetime(2025, 5, 23, 4, 17, 34), 'result': '0.08856518419538806', 'result_long': None, 'result_double': None}] Qualite : 0.08856518419538806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23286346 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286346_23-05-2025_04_17_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23286346 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286346_23-05-2025_04_17_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286359, 'pht': 3726}}" where mtr_portfolio_id = 23286346 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23286346 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879390, 0.08856518419538806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286346_23-05-2025_04_17_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286359, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23285758 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943901, 'mtr_portfolio_id': 23285758, 'created_at': datetime.datetime(2025, 5, 26, 14, 23, 30), 'result': '0.054911784430796015', 'result_long': None, 'result_double': None}] Qualite : 0.054911784430796015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23285758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285758_26-05-2025_14_23_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23285758 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285758_26-05-2025_14_23_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285764, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285770, 'pht': 3726}}" where mtr_portfolio_id = 23285758 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23285758 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879391, 0.054911784430796015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285758_26-05-2025_14_23_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285764, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285770, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23286077 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943902, 'mtr_portfolio_id': 23286077, 'created_at': datetime.datetime(2025, 5, 26, 14, 22, 57), 'result': '0.06338704010670235', 'result_long': None, 'result_double': None}] Qualite : 0.06338704010670235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23286077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286077_26-05-2025_14_22_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23286077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286077_26-05-2025_14_22_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286089, 'pht': 3726}}" where mtr_portfolio_id = 23286077 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23286077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879392, 0.06338704010670235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286077_26-05-2025_14_22_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286089, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23286960 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943564, 'mtr_portfolio_id': 23286960, 'created_at': datetime.datetime(2025, 5, 26, 14, 57, 28), 'result': '0.04410894381375473', 'result_long': None, 'result_double': None}] Qualite : 0.04410894381375473 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23286960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286960_26-05-2025_14_57_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23286960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286960_26-05-2025_14_57_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286973, 'pht': 3726}}" where mtr_portfolio_id = 23286960 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23286960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879393, 0.04410894381375473, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286960_26-05-2025_14_57_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286973, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23287222 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943565, 'mtr_portfolio_id': 23287222, 'created_at': datetime.datetime(2025, 5, 26, 14, 56, 58), 'result': '0.051669532519632765', 'result_long': None, 'result_double': None}] Qualite : 0.051669532519632765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23287222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287222_26-05-2025_14_57_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23287222 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287222_26-05-2025_14_57_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287235, 'pht': 3726}}" where mtr_portfolio_id = 23287222 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23287222 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879394, 0.051669532519632765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287222_26-05-2025_14_57_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287235, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23287637 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943566, 'mtr_portfolio_id': 23287637, 'created_at': datetime.datetime(2025, 5, 26, 14, 54, 30), 'result': '0.02489637938620779', 'result_long': None, 'result_double': None}] Qualite : 0.02489637938620779 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23287637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287637_26-05-2025_14_54_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23287637 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287637_26-05-2025_14_54_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287662, 'pht': 3726}}" where mtr_portfolio_id = 23287637 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23287637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879395, 0.02489637938620779, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287637_26-05-2025_14_54_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287662, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23287638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943567, 'mtr_portfolio_id': 23287638, 'created_at': datetime.datetime(2025, 5, 26, 14, 53, 59), 'result': '0.043053091951411576', 'result_long': None, 'result_double': None}] Qualite : 0.043053091951411576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23287638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287638_26-05-2025_14_54_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23287638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287638_26-05-2025_14_54_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287651, 'pht': 3726}}" where mtr_portfolio_id = 23287638 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23287638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879396, 0.043053091951411576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287638_26-05-2025_14_54_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287651, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23287834 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943568, 'mtr_portfolio_id': 23287834, 'created_at': datetime.datetime(2025, 5, 26, 14, 52, 30), 'result': '0.028363749527641317', 'result_long': None, 'result_double': None}] Qualite : 0.028363749527641317 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23287834 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287834_26-05-2025_14_52_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23287834 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287834_26-05-2025_14_52_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287847, 'pht': 3726}}" where mtr_portfolio_id = 23287834 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23287834 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879397, 0.028363749527641317, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287834_26-05-2025_14_52_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287847, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23288115 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943569, 'mtr_portfolio_id': 23288115, 'created_at': datetime.datetime(2025, 5, 26, 14, 51, 59), 'result': '0.09252529888664819', 'result_long': None, 'result_double': None}] Qualite : 0.09252529888664819 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23288115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288115_26-05-2025_14_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23288115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288115_26-05-2025_14_52_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23288117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288128, 'pht': 3726}}" where mtr_portfolio_id = 23288115 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23288115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879398, 0.09252529888664819, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288115_26-05-2025_14_52_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23288117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288128, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23288547 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 = 23288547 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 = 23288547 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23288547 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 = 23288547 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 = 23288547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288547_26-05-2025_14_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23288547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288547_26-05-2025_14_51_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23288548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23288558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288559, 'pht': 3726}}" where mtr_portfolio_id = 23288547 and dashboard_run_id = 1840898 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23288807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943571, 'mtr_portfolio_id': 23288807, 'created_at': datetime.datetime(2025, 5, 26, 14, 50, 28), 'result': '0.04767460023010003', 'result_long': None, 'result_double': None}] Qualite : 0.04767460023010003 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23288807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288807_26-05-2025_14_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23288807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288807_26-05-2025_14_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23288816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288820, 'pht': 3726}}" where mtr_portfolio_id = 23288807 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23288807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879400, 0.04767460023010003, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288807_26-05-2025_14_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23288816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288820, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23309457 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946736, 'mtr_portfolio_id': 23309457, 'created_at': datetime.datetime(2025, 5, 26, 11, 47, 57), 'result': '0.05115101714818417', 'result_long': None, 'result_double': None}] Qualite : 0.05115101714818417 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23309457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309457_26-05-2025_11_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23309457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309457_26-05-2025_11_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327707, 'pht': 3726}}" where mtr_portfolio_id = 23309457 and dashboard_run_id = 1840896 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23309457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879401, 0.05115101714818417, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309457_26-05-2025_11_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327707, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23290064 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943572, 'mtr_portfolio_id': 23290064, 'created_at': datetime.datetime(2025, 5, 26, 14, 49, 57), 'result': '0.03726798186647803', 'result_long': None, 'result_double': None}] Qualite : 0.03726798186647803 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23290064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290064_26-05-2025_14_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23290064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290064_26-05-2025_14_50_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290087, 'pht': 3726}}" where mtr_portfolio_id = 23290064 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23290064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879402, 0.03726798186647803, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290064_26-05-2025_14_50_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290087, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23305438 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946168, 'mtr_portfolio_id': 23305438, 'created_at': datetime.datetime(2025, 5, 23, 18, 0, 34), 'result': '0.07300197106569571', 'result_long': None, 'result_double': None}] Qualite : 0.07300197106569571 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23305438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305438_23-05-2025_18_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23305438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305438_23-05-2025_18_00_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23305455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23305456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23305457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23305458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23305459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23305460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23305461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23305462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23305463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23305464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23305465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23305466, 'pht': 3726}}" where mtr_portfolio_id = 23305438 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23305438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879403, 0.07300197106569571, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305438_23-05-2025_18_00_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23305455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23305456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23305457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23305458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23305459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23305460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23305461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23305462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23305463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23305464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23305465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23305466, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23309458 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946737, 'mtr_portfolio_id': 23309458, 'created_at': datetime.datetime(2025, 5, 26, 11, 46, 29), 'result': '0.040691904480527584', 'result_long': None, 'result_double': None}] Qualite : 0.040691904480527584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23309458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309458_26-05-2025_11_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23309458 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309458_26-05-2025_11_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327636, 'pht': 3726}}" where mtr_portfolio_id = 23309458 and dashboard_run_id = 1840896 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23309458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879404, 0.040691904480527584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309458_26-05-2025_11_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327636, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23291043 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943573, 'mtr_portfolio_id': 23291043, 'created_at': datetime.datetime(2025, 5, 26, 14, 49, 29), 'result': '0.03974789209131804', 'result_long': None, 'result_double': None}] Qualite : 0.03974789209131804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23291043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291043_26-05-2025_14_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23291043 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291043_26-05-2025_14_49_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291072, 'pht': 3726}}" where mtr_portfolio_id = 23291043 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23291043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879405, 0.03974789209131804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291043_26-05-2025_14_49_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291072, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23290765 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943574, 'mtr_portfolio_id': 23290765, 'created_at': datetime.datetime(2025, 5, 26, 14, 48, 29), 'result': '0.03937798374952385', 'result_long': None, 'result_double': None}] Qualite : 0.03937798374952385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23290765 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290765_26-05-2025_14_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23290765 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290765_26-05-2025_14_48_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290784, 'pht': 3726}}" where mtr_portfolio_id = 23290765 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23290765 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879406, 0.03937798374952385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290765_26-05-2025_14_48_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290784, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23291275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943575, 'mtr_portfolio_id': 23291275, 'created_at': datetime.datetime(2025, 5, 26, 14, 47, 58), 'result': '0.032906802138447745', 'result_long': None, 'result_double': None}] Qualite : 0.032906802138447745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23291275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291275_26-05-2025_14_48_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23291275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291275_26-05-2025_14_48_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291296, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291297, 'pht': 3726}}" where mtr_portfolio_id = 23291275 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23291275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879407, 0.032906802138447745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291275_26-05-2025_14_48_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291296, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291297, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23292382 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943774, 'mtr_portfolio_id': 23292382, 'created_at': datetime.datetime(2025, 5, 23, 9, 33, 32), 'result': '0.03689983979342696', 'result_long': None, 'result_double': None}] Qualite : 0.03689983979342696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23292382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292382_23-05-2025_09_33_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23292382 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292382_23-05-2025_09_33_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23292385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292396, 'pht': 3726}}" where mtr_portfolio_id = 23292382 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23292382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879408, 0.03689983979342696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292382_23-05-2025_09_33_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23292385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292396, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23292519 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943790, 'mtr_portfolio_id': 23292519, 'created_at': datetime.datetime(2025, 5, 26, 14, 42, 28), 'result': '0.09853127524122728', 'result_long': None, 'result_double': None}] Qualite : 0.09853127524122728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23292519 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292519_26-05-2025_14_42_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23292519 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292519_26-05-2025_14_42_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23292523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292533, 'pht': 3726}}" where mtr_portfolio_id = 23292519 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23292519 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879409, 0.09853127524122728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292519_26-05-2025_14_42_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23292523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292533, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23309459 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946738, 'mtr_portfolio_id': 23309459, 'created_at': datetime.datetime(2025, 5, 26, 11, 46), 'result': '0.02173304178455117', 'result_long': None, 'result_double': None}] Qualite : 0.02173304178455117 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23309459 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309459_26-05-2025_11_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23309459 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309459_26-05-2025_11_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327605, 'pht': 3726}}" where mtr_portfolio_id = 23309459 and dashboard_run_id = 1840896 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23309459 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879410, 0.02173304178455117, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309459_26-05-2025_11_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327605, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23306643 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946359, 'mtr_portfolio_id': 23306643, 'created_at': datetime.datetime(2025, 5, 23, 20, 1, 29), 'result': '0.018205471114361688', 'result_long': None, 'result_double': None}] Qualite : 0.018205471114361688 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23306643 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23306643_23-05-2025_20_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23306643 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23306643_23-05-2025_20_01_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306658, 'pht': 3726}}" where mtr_portfolio_id = 23306643 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23306643 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879411, 0.018205471114361688, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23306643_23-05-2025_20_01_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306658, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23293107 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2944242, 'mtr_portfolio_id': 23293107, 'created_at': datetime.datetime(2025, 5, 26, 13, 43, 29), 'result': '0.13082168273447528', 'result_long': None, 'result_double': None}] Qualite : 0.13082168273447528 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23293107 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23293107_26-05-2025_13_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23293107 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23293107_26-05-2025_13_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23293108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23293109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23293110, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23293111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23293112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23293113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23293114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23293115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23293116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23293117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23293118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23293119, 'pht': 3726}}" where mtr_portfolio_id = 23293107 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23293107 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879412, 0.13082168273447528, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23293107_26-05-2025_13_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23293108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23293109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23293110, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23293111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23293112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23293113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23293114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23293115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23293116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23293117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23293118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23293119, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23305993 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946267, 'mtr_portfolio_id': 23305993, 'created_at': datetime.datetime(2025, 5, 23, 19, 1, 34), 'result': '0.04899943066318743', 'result_long': None, 'result_double': None}] Qualite : 0.04899943066318743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23305993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305993_23-05-2025_19_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23305993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305993_23-05-2025_19_01_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306043, 'pht': 3726}}" where mtr_portfolio_id = 23305993 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23305993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879413, 0.04899943066318743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305993_23-05-2025_19_01_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306043, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23305996 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 = 23305996 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 = 23305996 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23305996 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 = 23305996 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946268, 'mtr_portfolio_id': 23305996, 'created_at': datetime.datetime(2025, 5, 23, 19, 0, 29), 'result': 0.0, 'result_long': None, 'result_double': None}] Qualite : 0.0 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23305996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305996_23-05-2025_19_00_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23305996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305996_23-05-2025_19_00_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306013, 'pht': 3726}}" where mtr_portfolio_id = 23305996 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23305996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879414, 0.0, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305996_23-05-2025_19_00_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306013, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23303395 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2945940, 'mtr_portfolio_id': 23303395, 'created_at': datetime.datetime(2025, 5, 23, 16, 1, 35), 'result': '0.03969406451626526', 'result_long': None, 'result_double': None}] Qualite : 0.03969406451626526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23303395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303395_23-05-2025_16_01_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23303395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303395_23-05-2025_16_01_43.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23303458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303460, 'pht': 3726}}" where mtr_portfolio_id = 23303395 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23303395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879415, 0.03969406451626526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303395_23-05-2025_16_01_43.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23303458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303460, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23296109 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 = 23296109 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 = 23296109 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23296109 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 = 23296109 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 = 23296109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23296109_23-05-2025_12_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23296109 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23296109_23-05-2025_12_01_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23296112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23296113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23296114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23296115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23296116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23296117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23296118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23296119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23296120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23296121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23296122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23296123, 'pht': 3726}}" where mtr_portfolio_id = 23296109 and dashboard_run_id = 1840898 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23295188 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2944996, 'mtr_portfolio_id': 23295188, 'created_at': datetime.datetime(2025, 5, 26, 13, 29, 31), 'result': '0.02706719542379491', 'result_long': None, 'result_double': None}] Qualite : 0.02706719542379491 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23295188 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23295188_26-05-2025_13_29_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23295188 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23295188_26-05-2025_13_29_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23295221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23295222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23295223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23295224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23295226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23295227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23295228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23295229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23295230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23295231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23295232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23295233, 'pht': 3726}}" where mtr_portfolio_id = 23295188 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23295188 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879417, 0.02706719542379491, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23295188_26-05-2025_13_29_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23295221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23295222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23295223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23295224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23295226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23295227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23295228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23295229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23295230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23295231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23295232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23295233, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23303398 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2945941, 'mtr_portfolio_id': 23303398, 'created_at': datetime.datetime(2025, 5, 23, 16, 1, 29), 'result': '0.06355173350632357', 'result_long': None, 'result_double': None}] Qualite : 0.06355173350632357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23303398 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303398_23-05-2025_16_01_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23303398 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303398_23-05-2025_16_01_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23303436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303448, 'pht': 3726}}" where mtr_portfolio_id = 23303398 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23303398 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879418, 0.06355173350632357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303398_23-05-2025_16_01_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23303436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303448, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23297474 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2945474, 'mtr_portfolio_id': 23297474, 'created_at': datetime.datetime(2025, 5, 26, 13, 0, 28), 'result': '0.03302016356036787', 'result_long': None, 'result_double': None}] Qualite : 0.03302016356036787 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23297474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23297474_26-05-2025_13_00_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23297474 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23297474_26-05-2025_13_00_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23297504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23297505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23297506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23297507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23297508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23297509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23297511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23297512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23297513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23297514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23297515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23297516, 'pht': 3726}}" where mtr_portfolio_id = 23297474 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23297474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879419, 0.03302016356036787, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23297474_26-05-2025_13_00_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23297504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23297505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23297506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23297507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23297508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23297509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23297511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23297512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23297513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23297514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23297515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23297516, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23299796 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2945653, 'mtr_portfolio_id': 23299796, 'created_at': datetime.datetime(2025, 5, 26, 13, 9, 59), 'result': '0.0031488256367268167', 'result_long': None, 'result_double': None}] Qualite : 0.0031488256367268167 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23299796 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23299796_26-05-2025_13_10_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23299796 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23299796_26-05-2025_13_10_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23299834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23299835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23299836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23299837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23299838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23299839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23299840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23299841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23299842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23299843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23299844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23299845, 'pht': 3726}}" where mtr_portfolio_id = 23299796 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23299796 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879420, 0.0031488256367268167, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23299796_26-05-2025_13_10_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23299834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23299835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23299836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23299837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23299838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23299839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23299840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23299841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23299842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23299843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23299844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23299845, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23300457 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2945694, 'mtr_portfolio_id': 23300457, 'created_at': datetime.datetime(2025, 5, 26, 13, 7, 28), 'result': '0.07619664336741928', 'result_long': None, 'result_double': None}] Qualite : 0.07619664336741928 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23300457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23300457_26-05-2025_13_07_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23300457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23300457_26-05-2025_13_07_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23300534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23300535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23300536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23300537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23300538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23300539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23300540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23300541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23300542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23300543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23300544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23300545, 'pht': 3726}}" where mtr_portfolio_id = 23300457 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23300457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879421, 0.07619664336741928, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23300457_26-05-2025_13_07_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23300534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23300535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23300536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23300537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23300538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23300539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23300540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23300541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23300542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23300543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23300544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23300545, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23301804 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 = 23301804 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 = 23301804 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23301804 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 = 23301804 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 = 23301804 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23301804_26-05-2025_12_58_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23301804 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23301804_26-05-2025_12_58_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23301806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23301807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23301808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23301809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23301810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23301811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23301812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23301813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23301814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23301815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23301816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23301817, 'pht': 3726}}" where mtr_portfolio_id = 23301804 and dashboard_run_id = 1840898 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23302868 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2945875, 'mtr_portfolio_id': 23302868, 'created_at': datetime.datetime(2025, 5, 23, 15, 35, 34), 'result': '0.09018094947646639', 'result_long': None, 'result_double': None}] Qualite : 0.09018094947646639 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23302868 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23302868_23-05-2025_15_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23302868 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23302868_23-05-2025_15_35_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23302873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23302874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23302875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23302876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23302877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23302878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23302879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23302880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23302881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23302882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23302883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23302884, 'pht': 3726}}" where mtr_portfolio_id = 23302868 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23302868 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879423, 0.09018094947646639, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23302868_23-05-2025_15_35_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23302873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23302874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23302875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23302876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23302877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23302878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23302879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23302880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23302881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23302882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23302883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23302884, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23309776 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946758, 'mtr_portfolio_id': 23309776, 'created_at': datetime.datetime(2025, 5, 26, 11, 42, 1), 'result': '0.02014171305070155', 'result_long': None, 'result_double': None}] Qualite : 0.02014171305070155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23309776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309776_26-05-2025_11_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23309776 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309776_26-05-2025_11_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23309813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23309814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23309815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23309816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23309817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23309818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23309819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23309820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23309821, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23309822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23309823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23309824, 'pht': 3726}}" where mtr_portfolio_id = 23309776 and dashboard_run_id = 1840898 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23309776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879424, 0.02014171305070155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309776_26-05-2025_11_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23309813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23309814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23309815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23309816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23309817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23309818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23309819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23309820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23309821, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23309822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23309823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23309824, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23310639 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946840, 'mtr_portfolio_id': 23310639, 'created_at': datetime.datetime(2025, 5, 23, 23, 41, 34), 'result': '0.029191679979385748', 'result_long': None, 'result_double': None}] Qualite : 0.029191679979385748 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23310639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310639_23-05-2025_23_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23310639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310639_23-05-2025_23_41_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310687, 'pht': 3726}}" where mtr_portfolio_id = 23310639 and dashboard_run_id = 1840896 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23310639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879425, 0.029191679979385748, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310639_23-05-2025_23_41_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310687, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23310493 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946820, 'mtr_portfolio_id': 23310493, 'created_at': datetime.datetime(2025, 5, 26, 11, 38, 28), 'result': '0.015251441557466194', 'result_long': None, 'result_double': None}] Qualite : 0.015251441557466194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23310493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310493_26-05-2025_11_38_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23310493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310493_26-05-2025_11_38_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310542, 'pht': 3726}}" where mtr_portfolio_id = 23310493 and dashboard_run_id = 1840896 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23310493 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879426, 0.015251441557466194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310493_26-05-2025_11_38_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310542, '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 (23282309,23304624,23283058,23282803,23283810,23284061,23284185,23284543,23284637,23285058,23285265,23286346,23285758,23286077,23286960,23287222,23287637,23287638,23287834,23288115,23288547,23288807,23309457,23290064,23305438,23309458,23291043,23290765,23291275,23292382,23292519,23309459,23306643,23293107,23305993,23305996,23303395,23296109,23295188,23303398,23297474,23299796,23300457,23301804,23302868,23309776,23310639,23310493) result : ((1360680878,), (1360680881,), (1360680886,), (1360680919,), (1360680926,), (1360680932,), (1360680938,), (1360680943,), (1360680966,), (1360680970,), (1360680974,), (1360680977,), (1360680981,), (1360680985,), (1360681004,), (1360681009,), (1360681014,), (1360681048,), (1360681053,), (1360681057,), (1360681061,), (1360681065,), (1360681068,), (1360681089,), (1360681094,), (1360681098,), (1360681102,), (1360681106,), (1360681181,), (1360681186,), (1360681192,), (1360681197,), (1360681201,), (1360681220,), (1360681257,), (1360681273,), (1360681281,), (1360681544,), (1360681548,), (1360681552,), (1360681557,), (1360681629,), (1360681643,), (1360681650,), (1360681660,), (1360681760,), (1360681764,), (1360681767,), (1360681772,), (1360681776,), (1360681800,), (1360681841,), (1360682678,), (1360682681,), (1360682701,), (1360682705,), (1360682708,), (1360682711,), (1360682728,), (1360682732,), (1360682736,), (1360682750,), (1360682753,), (1360682757,), (1360682761,), (1360682766,), (1360682787,), (1360682790,), (1360682793,), (1360682819,), (1360682823,), (1360682826,), (1360682829,), (1360682832,), (1360682851,), (1360682855,), (1360682858,), (1360682875,), (1360682879,), (1360682883,), (1360682886,), (1360682902,), (1360682905,), (1360682908,), (1360682911,), (1360682932,), (1360682937,), (1360682941,), (1360682945,), (1360682948,), (1360682950,), (1360682960,), (1360682964,), (1360682967,), (1360682972,), (1360682989,), (1360682992,), (1360682995,), (1360683011,), (1360683017,), (1360683021,), (1360683025,), (1360683029,), (1360683030,), (1360683383,), (1360683405,), (1360683429,), (1360683454,), (1360683527,), (1360683547,), (1360683567,), (1360683600,), (1360683624,), (1360685448,), (1360682259,), (1360682263,), (1360682266,), (1360682269,), (1360682273,), (1360682284,), (1360682287,), (1360682317,), (1360682321,), (1360682325,), (1360682328,), (1360682347,), (1360682349,), (1360682351,), (1360682376,), (1360682379,), (1360682382,), (1360682386,), (1360682406,), (1360682410,), (1360682414,), (1360682418,), (1360682432,), (1360682435,), (1360682438,), (1360682457,), (1360682461,), (1360682465,), (1360682485,), (1360682489,), (1360682493,), (1360682496,), (1360682513,), (1360682517,), (1360682521,), (1360682524,), (1360682528,), (1360682540,), (1360682544,), (1360682547,), (1360682571,), (1360682575,), (1360682579,), (1360682582,), (1360682585,), (1360682587,), (1360682600,), (1360682604,), (1360682606,), (1360682610,), (1360682612,), (1360682629,), (1360682633,), (1360682652,), (1360682655,), (1360682658,), (1360682660,), (1360682663,), (1360682665,), (1360682684,), (1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,), (1360686206,), (1360686232,), (1360686235,), (1360686238,), (1360686241,), (1360686255,), (1360686258,), (1360686261,), (1360686264,), (1360686267,), (1360686278,), (1360686281,), (1360686284,), (1360686287,), (1360686302,), (1360686306,), (1360686309,), (1360686312,), (1360686316,), (1360686329,), (1360686333,), (1360686336,), (1360686339,), (1360686342,), (1360686344,), (1360686361,), (1360686366,), (1360686370,), (1360686392,), (1360686397,), (1360686402,), (1360686405,), (1360686418,), (1360686422,), (1360686425,), (1360686429,), (1360686432,), (1360686434,), (1360686449,), (1360686453,), (1360686456,), (1360686460,), (1360686483,), (1360686487,), (1360686491,), (1360686507,), (1360686511,), (1360686515,), (1360686519,), (1360686524,), (1360686543,), (1360686546,), (1360686549,), (1360686552,), (1360686555,), (1360686570,), (1360686572,), (1360686574,), (1360686576,), (1360686578,), (1360686597,), (1360686599,), (1360686631,), (1360686623,), (1360686625,), (1360686627,), (1360686629,), (1360686651,), (1360686655,), (1360686658,), (1360686661,), (1360686663,), (1360686665,), (1360686683,), (1360686685,), (1360686688,), (1360686712,), (1360686715,), (1360686754,), (1360686757,), (1360686759,), (1360686761,), (1360686763,), (1360686764,), (1360686792,), (1360686794,), (1360686796,), (1360686798,), (1360686800,), (1360686801,), (1360686821,), (1360686823,), (1360686826,), (1360686850,), (1360686852,), (1360686853,), (1360686856,), (1360686859,), (1360686878,), (1360686880,), (1360686883,), (1360686885,), (1360686887,), (1360686906,), (1360686908,), (1360686910,), (1360686912,), (1360686914,), (1360686931,), (1360686933,), (1360686935,), (1360686937,), (1360686939,), (1360686960,), (1360686962,), (1360686965,), (1360686968,), (1360686969,), (1360686990,), (1360686992,), (1360686995,), (1360686997,), (1360687015,), (1360687017,), (1360687019,), (1360687254,), (1360687251,), (1360687302,), (1360687306,), (1360687309,), (1360687348,), (1360687350,), (1360687352,), (1360687354,), (1360687356,), (1360687372,), (1360687374,), (1360687376,), (1360687378,), (1360687380,), (1360687381,), (1360687398,), (1360687400,), (1360687402,), (1360687422,), (1360687425,), (1360687428,), (1360687431,), (1360687447,), (1360687451,), (1360687453,), (1360687455,), (1360687457,), (1360687485,), (1360687475,), (1360687478,), (1360687480,), (1360687482,), (1360687483,), (1360687505,), (1360687506,), (1360687508,), (1360687524,), (1360687527,), (1360687530,), (1360687533,), (1360687535,), (1360687554,), (1360687556,), (1360687558,), (1360687560,), (1360687591,), (1360687593,), (1360687594,), (1360687596,), (1360687622,), (1360687625,), (1360687649,), (1360687651,), (1360687654,), (1360687656,), (1360687658,), (1360687676,), (1360687679,), (1360687682,), (1360687685,), (1360687689,), (1360687710,), (1360687712,), (1360687715,), (1360687717,), (1360687719,), (1360687720,), (1360687737,), (1360687739,), (1360687741,), (1360687762,), (1360687765,), (1360687767,), (1360687770,), (1360687772,), (1360687787,), (1360687789,), (1360687791,), (1360687793,), (1360687812,), (1360687814,), (1360687816,), (1360687818,), (1360687852,), (1360687855,), (1360687858,), (1360687861,), (1360687865,), (1360687871,), (1360687875,), (1360687903,), (1360687893,), (1360687897,), (1360687900,), (1360687925,), (1360687929,), (1360687931,), (1360687934,), (1360687939,), (1360687940,), (1360687951,), (1360687955,), (1360687959,), (1360687977,), (1360687980,), (1360687983,), (1360687986,), (1360688006,), (1360688010,), (1360688013,), (1360688017,), (1360688020,), (1360688037,), (1360688041,), (1360688045,), (1360688048,), (1360688051,), (1360688064,), (1360688068,), (1360688071,), (1360688076,), (1360688080,), (1360688099,), (1360688103,), (1360688106,), (1360688126,), (1360688129,), (1360688132,), (1360688135,), (1360688138,), (1360688140,), (1360688162,), (1360688166,), (1360688170,), (1360688173,), (1360688177,), (1360688215,), (1360688219,), (1360688222,), (1360688239,), (1360688242,), (1360688266,), (1360688269,), (1360688272,), (1360688276,), (1360688278,), (1360688297,), (1360688301,), (1360688303,), (1360688325,), (1360688326,), (1360688328,), (1360688329,), (1360688330,), (1360688331,), (1360688347,), (1360688345,), (1360688346,), (1360688372,), (1360688375,), (1360688378,), (1360688380,), (1360688398,), (1360688401,), (1360688404,), (1360688407,), (1360688408,), (1360688425,), (1360688427,), (1360688429,), (1360688431,), (1360688460,), (1360688463,), (1360688466,), (1360688468,), (1360688471,), (1360688472,), (1360688500,), (1360688502,), (1360688504,), (1360688506,), (1360688535,), (1360688538,), (1360688540,), (1360688543,), (1360688547,), (1360688565,), (1360688568,), (1360688585,), (1360688588,), (1360688591,), (1360688612,), (1360688614,), (1360688616,), (1360688619,), (1360688622,), (1360688637,), (1360688640,), (1360688643,), (1360688646,), (1360688650,), (1360688670,), (1360688674,), (1360688678,), (1360688681,), (1360688696,), (1360688699,), (1360688704,), (1360688707,), (1360688710,), (1360688711,), (1360688724,), (1360688728,), (1360688733,), (1360688736,), (1360688756,), (1360688759,), (1360688762,), (1360688766,), (1360688769,), (1360688798,), (1360689305,), (1360689308,), (1360689326,), (1360689330,), (1360689333,), (1360689336,), (1360689339,), (1360689349,), (1360689353,), (1360689356,), (1360689359,), (1360689362,), (1360689378,), (1360689382,), (1360689384,), (1360689403,), (1360689408,), (1360689412,), (1360689416,), (1360689418,), (1360689441,), (1360689445,), (1360689449,), (1360689452,), (1360689455,), (1360689469,), (1360689472,), (1360689475,), (1360689478,), (1360689480,), (1360689502,), (1360689504,), (1360689507,), (1360689537,), (1360689540,), (1360689544,), (1360689548,), (1360689552,), (1360689574,), (1360689577,), (1360689580,), (1360689583,), (1360689585,), (1360689587,), (1360689607,), (1360689608,), (1360689609,), (1360689611,), (1360689613,), (1360689615,), (1360689633,), (1360689635,), (1360689637,), (1360689639,), (1360689656,), (1360689658,), (1360689660,), (1360689662,), (1360689664,), (1360689665,), (1360689690,), (1360689695,), (1360689698,), (1360689747,), (1360689735,), (1360689738,), (1360689740,), (1360689744,), (1360689762,), (1360689765,), (1360689769,), (1360689771,), (1360689796,), (1360689800,), (1360689804,), (1360689836,), (1360689840,), (1360689844,), (1360689848,), (1360689864,), (1360689866,), (1360689869,), (1360689872,), (1360689876,), (1360689892,), (1360689896,), (1360689899,), (1360689904,), (1360689922,), (1360689925,), (1360689928,), (1360689947,), (1360689949,), (1360689951,), (1360689953,), (1360689971,), (1360689973,), (1360689975,), (1360689994,), (1360689996,), (1360689998,), (1360690000,), (1360690002,), (1360690027,), (1360690030,), (1360691331,), (1360688788,), (1360688791,), (1360688794,), (1360688825,), (1360688828,), (1360688831,), (1360688834,), (1360688837,), (1360688858,), (1360688861,), (1360688863,), (1360688867,), (1360688893,), (1360688896,), (1360688901,), (1360688904,), (1360688908,), (1360688910,), (1360688933,), (1360688935,), (1360688937,), (1360688940,), (1360688943,), (1360688946,), (1360688984,), (1360688988,), (1360688991,), (1360689011,), (1360689015,), (1360689019,), (1360689022,), (1360689044,), (1360689047,), (1360689051,), (1360689056,), (1360689058,), (1360689060,), (1360689079,), (1360689085,), (1360689089,), (1360689092,), (1360689103,), (1360689108,), (1360689112,), (1360689146,), (1360689149,), (1360689151,), (1360689154,), (1360689157,), (1360689178,), (1360689182,), (1360689185,), (1360689218,), (1360689220,), (1360689221,), (1360689235,), (1360689239,), (1360689242,), (1360689245,), (1360689248,), (1360689250,), (1360689272,), (1360689277,), (1360689281,), (1360689284,), (1360689286,), (1360689288,), (1360689311,), (1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,), (1360691758,), (1360691761,), (1360691780,), (1360691782,), (1360691784,), (1360691786,), (1360691788,), (1360691789,), (1360691802,), (1360691804,), (1360691807,), (1360691846,), (1360691850,), (1360691854,), (1360691873,), (1360691900,), (1360691954,), (1360691958,), (1360691961,), (1360691984,), (1360691987,), (1360691990,), (1360691993,), (1360692017,), (1360692019,), (1360692021,), (1360692023,), (1360692041,), (1360692047,), (1360692050,), (1360692052,), (1360692071,), (1360692074,), (1360692078,), (1360692080,), (1360692083,), (1360692101,), (1360692103,), (1360692105,), (1360692107,), (1360692123,), (1360692125,), (1360692127,), (1360692148,), (1360692151,), (1360692154,), (1360692156,), (1360692184,), (1360692188,), (1360692191,), (1360692194,), (1360692213,), (1360692218,), (1360692248,), (1360692252,), (1360692256,), (1360692280,), (1360692274,), (1360692277,), (1360692300,), (1360692302,), (1360692304,), (1360692325,), (1360692327,), (1360692329,), (1360692331,), (1360692349,), (1360692351,), (1360692353,), (1360692355,), (1360692373,), (1360692376,), (1360692379,), (1360692398,), (1360692400,), (1360692401,), (1360692434,), (1360692437,), (1360692464,), (1360692466,), (1360692468,), (1360692470,), (1360692500,), (1360692502,), (1360692504,), (1360692506,), (1360692508,), (1360692534,), (1360692537,), (1360692540,), (1360692542,), (1360692564,), (1360692566,), (1360692567,), (1360692569,), (1360692593,), (1360692596,), (1360692599,), (1360692602,), (1360692604,), (1360692633,), (1360692650,), (1360692655,), (1360692662,), (1360692744,), (1360692747,), (1360692749,), (1360692753,), (1360692757,), (1360692758,), (1360692770,), (1360692774,), (1360692821,), (1360692808,), (1360692810,), (1360692813,), (1360692816,), (1360692819,), (1360692839,), (1360692841,), (1360692843,), (1360692845,), (1360692847,), (1360692879,), (1360692881,), (1360692883,), (1360692908,), (1360692910,), (1360692932,), (1360692936,), (1360692939,), (1360692942,), (1360692993,), (1360692995,), (1360692997,), (1360692999,), (1360693001,), (1360693097,), (1360693099,), (1360693101,), (1360693131,), (1360693133,), (1360693135,), (1360693137,), (1360693140,), (1360693157,), (1360693160,), (1360693163,), (1360693166,), (1360693168,), (1360693183,), (1360693187,), (1360693191,), (1360693194,), (1360693210,), (1360693213,), (1360693216,), (1360693219,), (1360693238,), (1360693241,), (1360693244,), (1360693247,), (1360693270,), (1360693272,), (1360693274,), (1360693276,), (1360693278,), (1360693280,), (1360693305,), (1360693311,), (1360693315,), (1360693319,), (1360693323,), (1360693330,), (1360693331,), (1360693333,), (1360693334,), (1360693336,), (1360693337,), (1360693341,), (1360693342,), (1360693374,), (1360693358,), (1360693362,), (1360693363,), (1360693366,), (1360693370,), (1360693397,), (1360693402,), (1360693406,), (1360693410,), (1360693434,), (1360693437,), (1360693444,), (1360693447,), (1360693450,), (1360693468,), (1360693523,), (1360693550,), (1360693577,), (1360693584,), (1360693598,), (1360693600,), (1360693602,), (1360693604,), (1360693607,), (1360693610,), (1360693625,), (1360693628,), (1360693631,), (1360693633,), (1360693636,), (1360693653,), (1360693656,), (1360693659,), (1360693661,), (1360693664,), (1360693665,), (1360693682,), (1360693684,), (1360693686,), (1360693702,), (1360693709,), (1360693712,), (1360693715,), (1360693718,), (1360693752,), (1360693771,), (1360693779,), (1360693782,), (1360693787,), (1360693816,), (1360693820,), (1360693824,), (1360693826,), (1360693859,), (1360693861,), (1360693864,), (1360693866,), (1360693868,), (1360693895,), (1360693898,), (1360693901,), (1360693904,), (1360693907,), (1360693922,), (1360693925,), (1360693927,), (1360693953,), (1360693956,), (1360693959,), (1360693963,), (1360693966,), (1360693994,), (1360693988,), (1360693990,), (1360693992,), (1360694020,), (1360694025,), (1360694030,), (1360694034,), (1360694054,), (1360694059,), (1360694062,), (1360694089,), (1360694093,), (1360694097,), (1360694102,), (1360694105,), (1360694107,), (1360694127,), (1360694130,), (1360694133,), (1360694135,), (1360694139,), (1360694142,), (1360694156,), (1360694158,), (1360694160,), (1360694162,), (1360694187,), (1360694190,), (1360694193,), (1360694196,), (1360694198,), (1360694202,), (1360694219,), (1360694221,), (1360694222,), (1360694224,), (1360694251,), (1360694252,), (1360694253,), (1360694254,), (1360694272,), (1360694274,), (1360694276,), (1360694277,), (1360694279,), (1360694292,), (1360694316,), (1360694351,), (1360694390,), (1360694393,), (1360694519,), (1360694540,), (1360694543,), (1360694546,), (1360694548,), (1360694573,), (1360694575,), (1360694577,), (1360694598,), (1360694602,), (1360694605,), (1360694608,), (1360694612,), (1360694615,), (1360694629,), (1360694632,), (1360694635,), (1360694637,), (1360694640,), (1360694660,), (1360694663,), (1360694665,), (1360694689,), (1360694694,), (1360694697,), (1360694701,), (1360694704,), (1360694705,), (1360694726,), (1360694729,), (1360694732,), (1360694734,), (1360694736,), (1360694737,), (1360694747,), (1360694749,), (1360694751,), (1360694753,), (1360694779,), (1360694782,), (1360694785,), (1360694787,), (1360694789,), (1360694800,), (1360694803,), (1360694805,), (1360694807,), (1360694811,), (1360694830,), (1360694821,), (1360694823,), (1360694825,), (1360694827,), (1360694849,), (1360694853,), (1360694856,), (1360694872,), (1360694875,), (1360694877,), (1360694879,), (1360694882,), (1360694904,), (1360694906,), (1360694908,), (1360694910,), (1360694912,), (1360694932,), (1360694934,), (1360694936,), (1360694938,), (1360694960,), (1360694963,), (1360694965,), (1360694967,), (1360694968,), (1360694980,), (1360694982,), (1360694984,), (1360694986,), (1360694988,), (1360695008,), (1360695010,), (1360695034,), (1360695038,), (1360695042,), (1360695044,), (1360695047,), (1360695064,), (1360695067,), (1360695070,), (1360695073,), (1360695075,), (1360695091,), (1360695094,), (1360695096,), (1360695099,), (1360695113,), (1360695115,), (1360695117,), (1360695119,), (1360695136,), (1360695138,), (1360695140,), (1360695174,), (1360695179,), (1360695183,), (1360695188,), (1360695192,), (1360695196,), (1360695235,), (1360696352,), (1360696379,), (1360696406,), (1360696639,), (1360696641,), (1360696644,), (1360696669,), (1360696673,), (1360696676,), (1360696787,), (1360696790,), (1360696793,), (1360696796,), (1360696799,), (1360696801,), (1360696850,), (1360696854,), (1360696859,), (1360696864,), (1360696870,), (1360696977,), (1360696981,), (1360696985,), (1360697026,), (1360697029,), (1360697032,), (1360697040,), (1360697046,), (1360697050,), (1360697071,), (1360697082,), (1360697084,), (1360697089,), (1360697090,), (1360697094,), (1360697110,), (1360697114,), (1360697118,), (1360697122,), (1360697125,), (1360697201,), (1360697230,), (1360697258,), (1360697275,), (1360697379,), (1360697398,), (1360697401,), (1360697404,), (1360697423,), (1360697444,), (1360697508,), (1360697515,), (1360697519,), (1360697523,), (1360697561,), (1360697565,), (1360697569,), (1360697571,), (1360697574,), (1360697609,), (1360697612,), (1360697616,), (1360697618,), (1360697622,), (1360697657,), (1360697660,), (1360697663,), (1360697666,), (1360697700,), (1360697704,), (1360697710,), (1360697715,), (1360697719,), (1360697721,), (1360697800,), (1360700301,), (1360700303,), (1360700306,), (1360700344,), (1360700348,), (1360700354,), (1360700359,), (1360700363,), (1360700366,), (1360700390,), (1360700393,), (1360700398,), (1360700433,), (1360700438,), (1360700443,), (1360700447,), (1360700474,), (1360700478,), (1360700482,), (1360700486,), (1360700489,), (1360700527,), (1360700534,), (1360700539,), (1360700543,), (1360700546,), (1360700566,), (1360700570,), (1360700574,), (1360700605,), (1360700608,), (1360700611,), (1360700616,), (1360700620,), (1360700626,), (1360700653,), (1360700658,), (1360700666,), (1360700669,), (1360700672,), (1360700674,), (1360700702,), (1360700705,), (1360700710,), (1360700751,), (1360700756,), (1360700761,), (1360700767,), (1360700773,), (1360700794,), (1360700799,), (1360700803,), (1360700807,), (1360700828,), (1360700837,), (1360700843,), (1360700849,), (1360700876,), (1360700880,), (1360700884,), (1360700914,), (1360700919,), (1360700922,), (1360700928,), (1360700934,), (1360700941,), (1360700997,), (1360699631,), (1360699632,), (1360699634,), (1360699636,), (1360699700,), (1360699702,), (1360699707,), (1360699710,), (1360699714,), (1360699716,), (1360699746,), (1360699748,), (1360699751,), (1360699754,), (1360699782,), (1360699785,), (1360699788,), (1360699827,), (1360699832,), (1360699834,), (1360699837,), (1360699839,), (1360699876,), (1360699879,), (1360699882,), (1360699885,), (1360699915,), (1360699918,), (1360699920,), (1360699922,), (1360699956,), (1360699958,), (1360699963,), (1360699965,), (1360699969,), (1360699971,), (1360699996,), (1360699999,), (1360700003,), (1360700006,), (1360700009,), (1360700010,), (1360700038,), (1360700040,), (1360700043,), (1360700046,), (1360700081,), (1360700086,), (1360700092,), (1360700097,), (1360700099,), (1360700119,), (1360700123,), (1360700128,), (1360700134,), (1360700145,), (1360700169,), (1360700173,), (1360700177,), (1360700180,), (1360700212,), (1360700215,), (1360700219,), (1360700223,), (1360700226,), (1360700229,), (1360700260,), (1360700264,), (1360700269,), (1360700310,), (1360700985,), (1360700989,), (1360700993,), (1360701035,), (1360701040,), (1360701045,), (1360701050,), (1360701055,), (1360701085,), (1360701089,), (1360701091,), (1360701094,), (1360701098,), (1360701103,), (1360701137,), (1360701142,), (1360701148,), (1360701191,), (1360701196,), (1360701200,), (1360701204,), (1360701236,), (1360701240,), (1360701245,), (1360701251,), (1360701256,), (1360701282,), (1360701286,), (1360701291,), (1360701295,), (1360701299,), (1360701303,), (1360701326,), (1360701332,), (1360701337,), (1360701370,), (1360701373,), (1360701376,), (1360701380,), (1360701410,), (1360701415,), (1360701420,), (1360701427,), (1360701434,), (1360701473,), (1360701477,), (1360701482,), (1360701487,), (1360701521,), (1360701525,), (1360701528,), (1360701531,), (1360701568,), (1360701570,), (1360701603,), (1360701606,), (1360701610,), (1360701614,), (1360701651,), (1360701654,), (1360701657,), (1360701660,), (1360701664,), (1360701669,), (1360701715,), (1360701699,), (1360701703,), (1360701707,), (1360701711,), (1360701745,), (1360701747,), (1360701750,), (1360701753,), (1360701755,), (1360701782,), (1360701784,), (1360701787,), (1360702016,), (1360702019,), (1360702022,), (1360702025,), (1360702028,), (1360702031,), (1360702063,), (1360702067,), (1360702072,), (1360702077,), (1360702081,), (1360702085,), (1360702107,), (1360702110,), (1360702114,), (1360702150,), (1360702154,), (1360702159,), (1360702164,), (1360702169,), (1360702174,), (1360702204,), (1360702209,), (1360702215,), (1360702221,), (1360702225,), (1360702229,), (1360702254,), (1360702257,), (1360702321,), (1360702330,), (1360702336,), (1360702342,), (1360702349,), (1360702404,), (1360703585,), (1360703797,), (1360703800,), (1360703840,), (1360703843,), (1360703848,), (1360703884,), (1360703887,), (1360703891,), (1360703927,), (1360703942,), (1360703944,), (1360703948,), (1360703995,), (1360704001,), (1360704006,), (1360704009,), (1360704037,), (1360704041,), (1360704044,), (1360704048,), (1360704051,), (1360704078,), (1360704081,), (1360704083,), (1360704117,), (1360704119,), (1360704122,), (1360704125,), (1360704127,), (1360704130,), (1360704170,), (1360704173,), (1360704176,), (1360704178,), (1360704183,), (1360704222,), (1360705541,), (1360705546,), (1360705548,), (1360705573,), (1360705578,), (1360705581,), (1360705587,), (1360705610,), (1360705613,), (1360705616,), (1360705618,), (1360705650,), (1360705652,), (1360705655,), (1360705658,), (1360705698,), (1360705701,), (1360705703,), (1360705706,), (1360705750,), (1360705754,), (1360705759,), (1360705764,), (1360705794,), (1360705798,), (1360705834,), (1360705837,), (1360705840,), (1360705844,), (1360705873,), (1360705877,), (1360705881,), (1360705885,), (1360705922,), (1360705925,), (1360705929,), (1360705931,), (1360705934,), (1360705937,), (1360705962,), (1360705972,), (1360705975,), (1360705981,), (1360706007,), (1360706010,), (1360706015,), (1360706019,), (1360706023,), (1360706025,), (1360706053,), (1360706056,), (1360706062,), (1360706064,), (1360706066,), (1360706091,), (1360706095,), (1360706098,), (1360706102,), (1360706106,), (1360706135,), (1360706138,), (1360706143,), (1360706148,), (1360706199,), (1360720354,), (1360720381,), (1360720410,), (1360720571,), (1360720624,), (1360720673,), (1360720726,), (1360721244,), (1360721276,), (1360721307,), (1360721338,), (1360721812,), (1360721864,), (1360721916,), (1360721977,), (1360722028,), (1360722343,), (1360722379,), (1360722420,), (1360723006,), (1360723047,), (1360723095,), (1360723396,), (1360723399,), (1360723411,), (1360723440,), (1360723512,), (1360723516,), (1360723518,), (1360723560,), (1360723564,), (1360724096,), (1360724124,), (1360724517,), (1360724619,), (1360724623,), (1360724628,), (1360724631,), (1360724908,), (1360724937,), (1360724966,), (1360724996,), (1360725351,), (1360714793,), (1360714823,), (1360714866,), (1360715359,), (1360715404,), (1360715433,), (1360715463,), (1360715494,), (1360716164,), (1360716213,), (1360716278,), (1360716367,), (1360716420,), (1360716431,), (1360716569,), (1360716597,), (1360716637,), (1360716689,), (1360716983,), (1360717119,), (1360717123,), (1360717128,), (1360717134,), (1360717266,), (1360717274,), (1360717597,), (1360717624,), (1360717653,), (1360717681,), (1360718031,), (1360718058,), (1360718086,), (1360718107,), (1360718216,), (1360718245,), (1360718777,), (1360718803,), (1360718831,), (1360718862,), (1360719202,), (1360719230,), (1360719258,), (1360719263,), (1360719424,), (1360719454,), (1360719489,), (1360719497,), (1360719606,), (1360719610,), (1360719614,), (1360719618,), (1360719621,), (1360719886,), (1360719989,), (1360720063,), (1360720441,), (1360733471,), (1360733499,), (1360733529,), (1360733559,), (1360733901,), (1360733941,), (1360733970,), (1360734001,), (1360734029,), (1360734338,), (1360734367,), (1360734589,), (1360734602,), (1360734605,), (1360734638,), (1360734644,), (1360734649,), (1360734653,), (1360734658,), (1360734688,), (1360734692,), (1360734697,), (1360734701,), (1360734740,), (1360734744,), (1360734747,), (1360734770,), (1360734774,), (1360735052,), (1360735078,), (1360735582,), (1360735610,), (1360767776,), (1360771437,), (1360771492,), (1360771544,), (1360771962,), (1360772147,), (1360772365,), (1360772789,), (1360774582,), (1360774595,), (1360775515,), (1360777856,), (1360777906,), (1360778323,), (1360779158,), (1360779161,), (1360779165,), (1360780660,), (1360780833,), (1360795903,), (1360795983,), (1360796027,), (1360796031,), (1360796401,), (1360796471,), (1360797207,), (1360797720,), (1360799554,), (1360800809,), (1360803256,), (1360803327,), (1360803401,), (1360803726,), (1360803964,), (1360803970,), (1360804524,), (1360805784,), (1360805814,), (1360805844,), (1360806280,), (1360806330,), (1360808235,), (1360808268,), (1360812603,), (1360707754,), (1360707782,), (1360708241,), (1360708474,), (1360708549,), (1360708605,), (1360709057,), (1360709074,), (1360709102,), (1360709132,), (1360709162,), (1360709190,), (1360709274,), (1360709303,), (1360709364,), (1360710061,), (1360710101,), (1360710160,), (1360710998,), (1360711053,), (1360711105,), (1360711155,), (1360711413,), (1360711464,), (1360711520,), (1360711554,), (1360711597,), (1360711771,), (1360711778,), (1360711806,), (1360711835,), (1360712175,), (1360712752,), (1360712778,), (1360712806,), (1360712833,), (1360713284,), (1360713459,), (1360713487,), (1360713534,), (1360713581,), (1360713677,), (1360713681,), (1360713684,), (1360713687,), (1360713690,), (1360713967,), (1360713983,), (1360713993,), (1360714367,), (1360714396,), (1360714423,), (1360714451,), (1360714479,), (1360714507,), (1360714896,), (1360725800,), (1360725828,), (1360725856,), (1360725885,), (1360725915,), (1360726055,), (1360726059,), (1360726063,), (1360726313,), (1360726332,), (1360726360,), (1360726901,), (1360726955,), (1360727008,), (1360727728,), (1360727779,), (1360727828,), (1360727883,), (1360727935,), (1360728055,), (1360728074,), (1360728102,), (1360728133,), (1360728738,), (1360728775,), (1360728815,), (1360728867,), (1360729263,), (1360729295,), (1360729324,), (1360729730,), (1360729762,), (1360729801,), (1360729857,), (1360730179,), (1360730237,), (1360730291,), (1360730348,), (1360730397,), (1360730449,), (1360730867,), (1360730927,), (1360730967,), (1360730976,), (1360731682,), (1360731758,), (1360731819,), (1360731868,), (1360731926,), (1360732723,), (1360732756,), (1360733588,), (1360681830,), (1360681833,), (1360681835,), (1360681837,), (1360681840,), (1360681860,), (1360681863,), (1360681865,), (1360681869,), (1360681871,), (1360681920,), (1360681923,), (1360681926,), (1360681928,), (1360681943,), (1360681945,), (1360681947,), (1360681988,), (1360682016,), (1360682020,), (1360682023,), (1360682026,), (1360682063,), (1360682084,), (1360682106,), (1360682109,), (1360682113,), (1360682115,), (1360682116,), (1360682135,), (1360682138,), (1360682141,), (1360682144,), (1360682146,), (1360682148,), (1360682163,), (1360682165,), (1360682167,), (1360682169,), (1360682171,), (1360682172,), (1360682188,), (1360682192,), (1360682195,), (1360682198,), (1360682227,), (1360682232,), (1360682236,), (1360682239,), (1360682242,), (1360682245,), (1360682275,), (1360697784,), (1360697786,), (1360697790,), (1360697793,), (1360697798,), (1360697828,), (1360697831,), (1360697834,), (1360697874,), (1360697877,), (1360697881,), (1360697885,), (1360697889,), (1360697891,), (1360698017,), (1360698054,), (1360698067,), (1360698070,), (1360698083,), (1360698086,), (1360698199,), (1360698209,), (1360698214,), (1360698331,), (1360698334,), (1360698338,), (1360698342,), (1360698346,), (1360698376,), (1360698378,), (1360698381,), (1360698384,), (1360698387,), (1360698421,), (1360698424,), (1360698427,), (1360698431,), (1360698434,), (1360698469,), (1360698471,), (1360698474,), (1360698482,), (1360698776,), (1360698844,), (1360698848,), (1360698886,), (1360698889,), (1360698893,), (1360698898,), (1360698902,), (1360698939,), (1360706192,), (1360706195,), (1360706236,), (1360706240,), (1360706244,), (1360706250,), (1360706255,), (1360706258,), (1360706303,), (1360706306,), (1360706310,), (1360706314,), (1360706317,), (1360706321,), (1360706368,), (1360706371,), (1360706374,), (1360706377,), (1360706415,), (1360706416,), (1360706418,), (1360706422,), (1360706425,), (1360706461,), (1360706465,), (1360706470,), (1360706475,), (1360706478,), (1360706503,), (1360706506,), (1360706509,), (1360706513,), (1360706544,), (1360706546,), (1360706549,), (1360706552,), (1360706554,), (1360706577,), (1360706582,), (1360706586,), (1360706589,), (1360706591,), (1360706596,), (1360706625,), (1360706631,), (1360706637,), (1360706676,), (1360706714,), (1360706719,), (1360706756,), (1360706762,), (1360706766,), (1360706768,), (1360706802,), (1360706804,), (1360706807,), (1360706811,), (1360706848,), (1360706852,), (1360706857,), (1360706903,), (1360706894,), (1360706898,), (1360706900,), (1360706932,), (1360706935,), (1360706939,), (1360706943,), (1360706948,), (1360706985,), (1360706987,), (1360706990,), (1360707022,), (1360707026,), (1360707033,), (1360707037,), (1360707041,), (1360707043,), (1360707070,), (1360707073,), (1360707076,), (1360707079,), (1360707082,), (1360707085,), (1360707139,), (1360707142,), (1360707145,), (1360707149,), (1360707189,), (1360707193,), (1360707197,), (1360707200,), (1360707208,), (1360707237,), (1360707241,), (1360707245,), (1360707248,), (1360707252,), (1360707257,), (1360707290,), (1360707296,), (1360707300,), (1360707303,), (1360707339,), (1360707341,), (1360707345,), (1360707349,), (1360707353,), (1360707359,), (1360707389,), (1360707392,), (1360707397,), (1360707430,), (1360707433,), (1360707438,), (1360707442,), (1360707446,), (1360707449,), (1360707515,), (1360707517,), (1360707520,), (1360707523,), (1360707525,), (1360707558,), (1360707565,), (1360707639,), (1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,), (1360705357,), (1360705360,), (1360705363,), (1360705366,), (1360705389,), (1360705392,), (1360705431,), (1360705435,), (1360705438,), (1360705441,), (1360705464,), (1360705466,), (1360705469,), (1360705473,), (1360705477,), (1360705500,), (1360705506,), (1360705511,), (1360705517,), (1360705550,), (1360695227,), (1360695232,), (1360695269,), (1360695272,), (1360695276,), (1360695280,), (1360695287,), (1360695310,), (1360695313,), (1360695317,), (1360695320,), (1360695323,), (1360695349,), (1360695362,), (1360695366,), (1360695370,), (1360695393,), (1360695398,), (1360695403,), (1360695409,), (1360695412,), (1360695434,), (1360695437,), (1360695441,), (1360695445,), (1360695449,), (1360695452,), (1360695478,), (1360695482,), (1360695485,), (1360695487,), (1360695490,), (1360695494,), (1360695537,), (1360695542,), (1360695546,), (1360695677,), (1360695705,), (1360695722,), (1360695725,), (1360695729,), (1360695732,), (1360695760,), (1360695763,), (1360695769,), (1360695773,), (1360695776,), (1360695781,), (1360695852,), (1360695856,), (1360695866,), (1360695894,), (1360695920,), (1360696046,), (1360696050,), (1360696054,), (1360696058,), (1360696061,), (1360696072,), (1360696100,), (1360696103,), (1360696105,), (1360696108,), (1360696111,), (1360696150,), (1360696154,), (1360696158,), (1360696164,), (1360696204,), (1360696209,), (1360696213,), (1360696217,), (1360696234,), (1360696243,), (1360696425,), (1360698929,), (1360698934,), (1360698970,), (1360698976,), (1360698983,), (1360698989,), (1360699026,), (1360699030,), (1360699034,), (1360699038,), (1360699042,), (1360699045,), (1360699065,), (1360699069,), (1360699074,), (1360699078,), (1360699082,), (1360699141,), (1360699144,), (1360699147,), (1360699150,), (1360699202,), (1360699206,), (1360699210,), (1360699213,), (1360699215,), (1360699217,), (1360699242,), (1360699245,), (1360699250,), (1360699254,), (1360699256,), (1360699280,), (1360699282,), (1360699285,), (1360699324,), (1360699327,), (1360699331,), (1360699366,), (1360699369,), (1360699371,), (1360699375,), (1360699405,), (1360699409,), (1360699413,), (1360699417,), (1360699448,), (1360699450,), (1360699453,), (1360699520,), (1360699523,), (1360699527,), (1360699531,), (1360699534,), (1360699598,), (1360699601,), (1360699605,), (1360699638,), (1360704219,), (1360704220,), (1360704261,), (1360704263,), (1360704266,), (1360704269,), (1360704271,), (1360704275,), (1360704318,), (1360704321,), (1360704324,), (1360704327,), (1360704329,), (1360704332,), (1360704364,), (1360704366,), (1360704370,), (1360704374,), (1360704377,), (1360704380,), (1360704399,), (1360704403,), (1360704409,), (1360704413,), (1360704472,), (1360704477,), (1360704482,), (1360704487,), (1360704491,), (1360704519,), (1360704522,), (1360704525,), (1360704529,), (1360704558,), (1360704562,), (1360704606,), (1360704609,), (1360704612,), (1360704614,), (1360704617,), (1360704648,), (1360704651,), (1360704654,), (1360704658,), (1360704662,), (1360704694,), (1360704699,), (1360704703,), (1360704706,), (1360704709,), (1360704713,), (1360704735,), (1360704738,), (1360704741,), (1360704771,), (1360704779,), (1360704782,), (1360704786,), (1360704790,), (1360704795,), (1360704813,), (1360704820,), (1360704828,), (1360704834,), (1360704840,), (1360704846,), (1360704890,), (1360898638,), (1360898684,), (1360901137,), (1360901165,), (1360901571,), (1360902274,), (1360902697,), (1360902731,), (1360903656,), (1360905544,), (1360905547,), (1360906767,), (1360906898,), (1360904199,), (1360904201,), (1360904223,), (1360904253,), (1360904257,), (1360905352,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'23052025': {'nb_upload': 42, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23286960]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328] map_info['map_portfolio_photo'] : {23286960: [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328]} final : True mtd_id 4302 list_pids : [1360691763, 1360691734, 1360691731, 1360691727, 1360691710, 1360691709, 1360691708, 1360691705, 1360691703, 1360691700, 1360691676, 1360691675, 1360691673, 1360691670, 1360691667, 1360691664, 1360691644, 1360691641, 1360691639, 1360691636, 1360691633, 1360691615, 1360691613, 1360691611, 1360691609, 1360691569, 1360691566, 1360691563, 1360691561, 1360691559, 1360691557, 1360691508, 1360691504, 1360691483, 1360691479, 1360691475, 1360691454, 1360691452, 1360691446, 1360691442, 1360691390, 1360691328] Looping around the photos to save general results len do output : 1 /23286960Didn'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, '2943564') ('4302', '23286960', '1360691763', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691734', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691731', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691727', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691710', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691709', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691708', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691705', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691703', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691700', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691676', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691675', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691673', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691670', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691667', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691664', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691644', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691641', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691639', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691636', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691633', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691615', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691613', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691611', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691609', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691569', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691566', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691563', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691561', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691559', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691557', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691508', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691504', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691483', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691479', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691475', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691454', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691452', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691446', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691442', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691390', None, None, None, None, None, '2943564') ('4302', None, None, None, None, None, None, None, '2943564') ('4302', '23286960', '1360691328', None, None, None, None, None, '2943564') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '23286960', 'None', None, None, None, None, '2943564'), ('4302', '23286960', '1360691763', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691734', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691731', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691727', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691710', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691709', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691708', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691705', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691703', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691700', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691676', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691675', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691673', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691670', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691667', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691664', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691644', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691641', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691639', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691636', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691633', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691615', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691613', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691611', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691609', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691569', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691566', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691563', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691561', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691559', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691557', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691508', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691504', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691483', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691479', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691475', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691454', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691452', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691446', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691442', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691390', None, None, None, None, None, '2943564'), ('4302', '23286960', '1360691328', None, None, None, None, None, '2943564')] time used for this insertion : 0.01830267906188965 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4524505138397217 time spend to save output : 0.01871800422668457 total time spend for step 5 : 3.4711685180664062 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 (2943564) 3.20user 2.05system 0:15.44elapsed 34%CPU (0avgtext+0avgdata 162708maxresident)k 888inputs+27912outputs (19major+81891minor)pagefaults 0swaps