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 : 2448833 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 (2689936) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2689936) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404760 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2689936'] with mtr_portfolio_ids : ['21404760'] and first list_photo_ids : [] new path : /proc/2448833/ Name: python3 Umask: 0002 State: R (running) Tgid: 2448833 Ngid: 0 Pid: 2448833 PPid: 2448830 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2448833 NSpid: 2448833 NSpgid: 2447720 NSsid: 2447720 VmPeak: 1106932 kB VmSize: 1106932 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98168 kB VmRSS: 98168 kB RssAnon: 59752 kB RssFile: 38416 kB RssShmem: 0 kB VmData: 865680 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 576 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: 52 nonvoluntary_ctxt_switches: 151 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2448833', 'Ngid': '0', 'Pid': '2448833', 'PPid': '2448830', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2448833', 'NSpid': '2448833', 'NSpgid': '2447720', 'NSsid': '2447720', 'VmPeak': '1106932 kB', 'VmSize': '1106932 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98168 kB', 'VmRSS': '98168 kB', 'RssAnon': '59752 kB', 'RssFile': '38416 kB', 'RssShmem': '0 kB', 'VmData': '865680 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '576 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': '52', 'nonvoluntary_ctxt_switches': '151'} ('datou_batch_current', '2448833', '1106932', '0', '1106932', '865680', '98168', b'', 'marlene', '2689936') 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 (21404760) 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 (2689936 ) ) 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 (21404760) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1343739831, 'portfolio_id': 21404760}, {'photo_id': 1343739780, 'portfolio_id': 21404760}, {'photo_id': 1343739779, 'portfolio_id': 21404760}, {'photo_id': 1343739775, 'portfolio_id': 21404760}, {'photo_id': 1343739769, 'portfolio_id': 21404760}, {'photo_id': 1343739762, 'portfolio_id': 21404760}, {'photo_id': 1343739728, 'portfolio_id': 21404760}, {'photo_id': 1343739726, 'portfolio_id': 21404760}, {'photo_id': 1343739721, 'portfolio_id': 21404760}, {'photo_id': 1343739718, 'portfolio_id': 21404760}, {'photo_id': 1343739712, 'portfolio_id': 21404760}, {'photo_id': 1343739707, 'portfolio_id': 21404760}, {'photo_id': 1343739666, 'portfolio_id': 21404760}, {'photo_id': 1343739658, 'portfolio_id': 21404760}, {'photo_id': 1343739653, 'portfolio_id': 21404760}, {'photo_id': 1343739612, 'portfolio_id': 21404760}, {'photo_id': 1343739607, 'portfolio_id': 21404760}, {'photo_id': 1343739601, 'portfolio_id': 21404760}, {'photo_id': 1343739569, 'portfolio_id': 21404760}, {'photo_id': 1343739567, 'portfolio_id': 21404760}, {'photo_id': 1343739563, 'portfolio_id': 21404760}, {'photo_id': 1343739559, 'portfolio_id': 21404760}, {'photo_id': 1343739554, 'portfolio_id': 21404760}, {'photo_id': 1343739525, 'portfolio_id': 21404760}, {'photo_id': 1343739523, 'portfolio_id': 21404760}, {'photo_id': 1343739517, 'portfolio_id': 21404760}, {'photo_id': 1343739512, 'portfolio_id': 21404760}, {'photo_id': 1343739504, 'portfolio_id': 21404760}, {'photo_id': 1343739421, 'portfolio_id': 21404760}, {'photo_id': 1343739416, 'portfolio_id': 21404760}, {'photo_id': 1343739318, 'portfolio_id': 21404760}, {'photo_id': 1343739223, 'portfolio_id': 21404760}, {'photo_id': 1343739178, 'portfolio_id': 21404760}, {'photo_id': 1343739144, 'portfolio_id': 21404760}, {'photo_id': 1343739141, 'portfolio_id': 21404760}, {'photo_id': 1343739137, 'portfolio_id': 21404760}, {'photo_id': 1343739132, 'portfolio_id': 21404760}, {'photo_id': 1343739098, 'portfolio_id': 21404760}, {'photo_id': 1343739093, 'portfolio_id': 21404760}] map_portfolio_id_photo_id: {21404760: [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093]} ##### 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 : 3.022303819656372 #### 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 Tue Mar 25 16:48:33 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 (21404760) 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 : 21404760 get user id for portfolio 21404760 get sub ptf for main ptf 21404760, type 3726 and hashtags ['mal_croppe', 'Teint_Dans_La_Masse', 'metal', 'kraft', 'Carton_gris', 'papier', 'cartonnette', 'plastique', 'flou', 'environnement', 'Carton_brun', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404760 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Teint_Dans_La_Masse','metal','kraft','Carton_gris','papier','cartonnette','plastique','flou','environnement','Carton_brun','autre_refus')) 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`=21404760 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Teint_Dans_La_Masse','metal','kraft','Carton_gris','papier','cartonnette','plastique','flou','environnement','Carton_brun','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21404760, 'sub_port_id': 21404877, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978510, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'Carton_brun': {'main_port_id': 21404760, 'sub_port_id': 21404878, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978511, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'papier': {'main_port_id': 21404760, 'sub_port_id': 21404879, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978512, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'Carton_gris': {'main_port_id': 21404760, 'sub_port_id': 21404880, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978513, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'mal_croppe': {'main_port_id': 21404760, 'sub_port_id': 21404881, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978514, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'environnement': {'main_port_id': 21404760, 'sub_port_id': 21404882, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978515, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'cartonnette': {'main_port_id': 21404760, 'sub_port_id': 21404883, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978516, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'kraft': {'main_port_id': 21404760, 'sub_port_id': 21404884, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978517, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'metal': {'main_port_id': 21404760, 'sub_port_id': 21404885, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978518, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'plastique': {'main_port_id': 21404760, 'sub_port_id': 21404886, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978519, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'flou': {'main_port_id': 21404760, 'sub_port_id': 21404887, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978520, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'autre_refus': {'main_port_id': 21404760, 'sub_port_id': 21404888, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978521, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404877 , 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=21404760 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 (21404877) result : ((1346774866,), (1346774867,), (1346774868,), (1346774869,), (1346776300,), (1346776301,), (1346776302,), (1346776303,), (1346776304,), (1346776305,), (1346776306,), (1346776307,), (1346776308,), (1346776309,), (1346776310,), (1346776311,), (1346776312,), (1346776313,), (1346776314,), (1346776318,), (1346776320,), (1346776321,), (1346776322,), (1346776323,), (1346776324,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404878 , 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=21404760 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 (21404878) result : ((1346774924,), (1346774925,), (1346774926,), (1346774927,), (1346774928,), (1346774929,), (1346776416,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404879 , 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=21404760 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 (21404879) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404880 , 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=21404760 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 (21404880) result : ((1346774901,), (1346774902,), (1346774903,), (1346774904,), (1346774905,), (1346776395,), (1346776396,), (1346776397,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404881 , 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=21404760 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 (21404881) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404882 , 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=21404760 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 (21404882) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404883 , 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=21404760 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 (21404883) result : ((1346774912,), (1346776404,), (1346776405,), (1346776406,), (1346776407,), (1346776409,), (1346776410,), (1346776411,), (1346776412,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404884 , 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=21404760 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 (21404884) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404885 , 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=21404760 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 (21404885) result : ((1346776428,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404886 , 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=21404760 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 (21404886) result : ((1346774939,), (1346774940,), (1346774941,), (1346774942,), (1346776420,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404887 , 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=21404760 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 (21404887) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404888 , 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=21404760 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 (21404888) result : ((1346774873,), (1346774875,), (1346774876,), (1346774877,), (1346774879,), (1346774880,), (1346774881,), (1346774882,), (1346774883,), (1346774884,), (1346774888,), (1346774889,), (1346774890,), (1346774891,), (1346774892,), (1346776347,), (1346776350,), (1346776352,), (1346776353,), (1346776355,), (1346776358,), (1346776360,), (1346776363,), (1346776365,), (1346776367,), (1346776369,), (1346776372,), (1346776374,), (1346776376,), (1346776378,), (1346776380,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404760 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Teint_Dans_La_Masse','metal','kraft','Carton_gris','papier','cartonnette','plastique','flou','environnement','Carton_brun','autre_refus')) 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`=21404760 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Teint_Dans_La_Masse','metal','kraft','Carton_gris','papier','cartonnette','plastique','flou','environnement','Carton_brun','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21404760, 'sub_port_id': 21404889, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978522, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'Carton_brun': {'main_port_id': 21404760, 'sub_port_id': 21404890, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978523, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'papier': {'main_port_id': 21404760, 'sub_port_id': 21404891, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978524, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'Carton_gris': {'main_port_id': 21404760, 'sub_port_id': 21404892, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978525, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'mal_croppe': {'main_port_id': 21404760, 'sub_port_id': 21404893, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978526, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'environnement': {'main_port_id': 21404760, 'sub_port_id': 21404894, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978527, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'cartonnette': {'main_port_id': 21404760, 'sub_port_id': 21404895, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978528, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'kraft': {'main_port_id': 21404760, 'sub_port_id': 21404896, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978529, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'metal': {'main_port_id': 21404760, 'sub_port_id': 21404897, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978530, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'plastique': {'main_port_id': 21404760, 'sub_port_id': 21404898, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978531, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'flou': {'main_port_id': 21404760, 'sub_port_id': 21404899, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978532, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'autre_refus': {'main_port_id': 21404760, 'sub_port_id': 21404900, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978533, 'last_updated_at': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 12, 56, 11), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404889,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404877 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404890,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404878 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404891,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404879 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404892,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404880 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404893,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404881 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404894,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404882 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404895,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404883 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404896,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404884 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404897,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404885 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404898,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404886 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404899,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404887 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404900,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404888 lien utilise dans velours : https://www.fotonower.com/velours/21404889,21404890,21404891,21404892,21404893,21404894,21404895,21404896,21404897,21404898,21404899,21404900?tags=Teint_Dans_La_Masse,Carton_brun,papier,Carton_gris,mal_croppe,environnement,cartonnette,kraft,metal,plastique,flou,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21404760]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] map_info['map_portfolio_photo'] : {21404760: [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093]} final : False mtd_id 4302 list_pids : [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] Looping around the photos to save general results len do output : 1 /21404760. 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, '2689936') ('4302', '21404760', '1343739831', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739780', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739779', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739775', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739769', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739762', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739728', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739726', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739721', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739718', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739712', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739707', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739666', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739658', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739653', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739612', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739607', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739601', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739569', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739567', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739563', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739559', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739554', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739525', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739523', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739517', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739512', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739504', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739421', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739416', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739318', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739223', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739178', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739144', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739141', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739137', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739132', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739098', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739093', None, None, None, None, None, '2689936') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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, '21404760', "{'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888}", None, None, None, None, '2689936'), ('4302', '21404760', '1343739831', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739780', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739779', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739775', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739769', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739762', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739728', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739726', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739721', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739718', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739712', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739707', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739666', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739658', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739653', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739612', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739607', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739601', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739569', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739567', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739563', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739559', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739554', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739525', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739523', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739517', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739512', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739504', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739421', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739416', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739318', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739223', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739178', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739144', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739141', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739137', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739132', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739098', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739093', None, None, None, None, None, '2689936')] time used for this insertion : 0.25300145149230957 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.311108350753784 time spend to save output : 0.2534961700439453 total time spend for step 1 : 3.5646045207977295 step2:final Tue Mar 25 16:48:37 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 (21404760) 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 21404760 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1343739098,1343739093,1343739144,1343739141,1343739137,1343739132,1343739178,1343739223,1343739318,1343739421,1343739416,1343739525,1343739523,1343739517,1343739512,1343739504,1343739569,1343739567,1343739563,1343739559,1343739554,1343739612,1343739607,1343739601,1343739666,1343739658,1343739653,1343739728,1343739726,1343739721,1343739718,1343739712,1343739707,1343739780,1343739779,1343739775,1343739769,1343739762,1343739831); 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([21404760]) Inside saveOutput : final : False verbose : True original output for save of step final : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} new output for save of step final : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] map_info['map_portfolio_photo'] : {21404760: [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093]} final : False mtd_id 4302 list_pids : [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] Looping around the photos to save general results len do output : 39 /1343739831.Didn't retrieve data . /1343739780.Didn't retrieve data . /1343739779.Didn't retrieve data . /1343739775.Didn't retrieve data . /1343739769.Didn't retrieve data . /1343739762.Didn't retrieve data . /1343739728.Didn't retrieve data . /1343739726.Didn't retrieve data . /1343739721.Didn't retrieve data . /1343739718.Didn't retrieve data . /1343739712.Didn't retrieve data . /1343739707.Didn't retrieve data . /1343739666.Didn't retrieve data . /1343739658.Didn't retrieve data . /1343739653.Didn't retrieve data . /1343739612.Didn't retrieve data . /1343739607.Didn't retrieve data . /1343739601.Didn't retrieve data . /1343739569.Didn't retrieve data . /1343739567.Didn't retrieve data . /1343739563.Didn't retrieve data . /1343739559.Didn't retrieve data . /1343739554.Didn't retrieve data . /1343739525.Didn't retrieve data . /1343739523.Didn't retrieve data . /1343739517.Didn't retrieve data . /1343739512.Didn't retrieve data . /1343739504.Didn't retrieve data . /1343739421.Didn't retrieve data . /1343739416.Didn't retrieve data . /1343739318.Didn't retrieve data . /1343739223.Didn't retrieve data . /1343739178.Didn't retrieve data . /1343739144.Didn't retrieve data . /1343739141.Didn't retrieve data . /1343739137.Didn't retrieve data . /1343739132.Didn't retrieve data . /1343739098.Didn't retrieve data . /1343739093.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, '2689936') ('4302', '21404760', '1343739831', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739780', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739779', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739775', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739769', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739762', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739728', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739726', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739721', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739718', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739712', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739707', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739666', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739658', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739653', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739612', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739607', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739601', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739569', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739567', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739563', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739559', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739554', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739525', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739523', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739517', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739512', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739504', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739421', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739416', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739318', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739223', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739178', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739144', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739141', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739137', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739132', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739098', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739093', None, None, None, None, None, '2689936') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 117 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', '21404760', '1343739831', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739780', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739779', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739775', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739769', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739762', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739728', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739726', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739721', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739718', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739712', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739707', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739666', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739658', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739653', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739612', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739607', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739601', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739569', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739567', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739563', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739559', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739554', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739525', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739523', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739517', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739512', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739504', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739421', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739416', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739318', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739223', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739178', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739144', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739141', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739137', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739132', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739098', '0.08188478312088793', None, None, None, None, '2689936'), ('4302', '21404760', '1343739093', '0.08188478312088793', None, None, None, None, '2689936')] time used for this insertion : 0.017747163772583008 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.03493332862854 time spend to save output : 0.01935601234436035 total time spend for step 2 : 3.0542893409729004 step3:velours_tree Tue Mar 25 16:48:40 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 : {21404760: [{'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888}]} input_args_next_step : {21404760: ()} output_args : {21404760: [{'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888}]} args : 21404760 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 : ({'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21404760) 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([21404760]) 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.3210608959197998 time spend to save output : 4.0531158447265625e-05 total time spend for step 3 : 0.32110142707824707 step4:send_mail_cod Tue Mar 25 16:48:40 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 : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} input_args_next_step : {1343739831: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739831 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739780 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739779 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739775 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739769 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739762 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739728 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739726 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739721 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739718 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739712 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739707 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739666 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739658 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739653 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739612 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739607 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739601 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739569 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739567 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739563 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739559 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739554 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739525 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739523 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739517 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739512 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739504 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739421 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739416 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739318 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739223 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739178 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739144 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739141 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739137 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739132 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739098 depend.output_id : 0 input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ()} output_args : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',)} args : 1343739093 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 : {21404760: [{'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888}]} input_args_next_step : {1343739831: ('0.08188478312088793',), 1343739780: ('0.08188478312088793',), 1343739779: ('0.08188478312088793',), 1343739775: ('0.08188478312088793',), 1343739769: ('0.08188478312088793',), 1343739762: ('0.08188478312088793',), 1343739728: ('0.08188478312088793',), 1343739726: ('0.08188478312088793',), 1343739721: ('0.08188478312088793',), 1343739718: ('0.08188478312088793',), 1343739712: ('0.08188478312088793',), 1343739707: ('0.08188478312088793',), 1343739666: ('0.08188478312088793',), 1343739658: ('0.08188478312088793',), 1343739653: ('0.08188478312088793',), 1343739612: ('0.08188478312088793',), 1343739607: ('0.08188478312088793',), 1343739601: ('0.08188478312088793',), 1343739569: ('0.08188478312088793',), 1343739567: ('0.08188478312088793',), 1343739563: ('0.08188478312088793',), 1343739559: ('0.08188478312088793',), 1343739554: ('0.08188478312088793',), 1343739525: ('0.08188478312088793',), 1343739523: ('0.08188478312088793',), 1343739517: ('0.08188478312088793',), 1343739512: ('0.08188478312088793',), 1343739504: ('0.08188478312088793',), 1343739421: ('0.08188478312088793',), 1343739416: ('0.08188478312088793',), 1343739318: ('0.08188478312088793',), 1343739223: ('0.08188478312088793',), 1343739178: ('0.08188478312088793',), 1343739144: ('0.08188478312088793',), 1343739141: ('0.08188478312088793',), 1343739137: ('0.08188478312088793',), 1343739132: ('0.08188478312088793',), 1343739098: ('0.08188478312088793',), 1343739093: ('0.08188478312088793',), 21404760: ()} output_args : {21404760: [{'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888}]} args : 21404760 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 :40, first value : ('0.08188478312088793',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21404760) 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 (1343739831,1343739780,1343739779,1343739775,1343739769,1343739762,1343739728,1343739726,1343739721,1343739718,1343739712,1343739707,1343739666,1343739658,1343739653,1343739612,1343739607,1343739601,1343739569,1343739567,1343739563,1343739559,1343739554,1343739525,1343739523,1343739517,1343739512,1343739504,1343739421,1343739416,1343739318,1343739223,1343739178,1343739144,1343739141,1343739137,1343739132,1343739098,1343739093) Found this number of photos: 39 ##### Call download_photos : nb_thread : 5 begin to download photo : 1343739093 begin to download photo : 1343739318 begin to download photo : 1343739554 begin to download photo : 1343739653 begin to download photo : 1343739728 download finish for photo 1343739728 begin to download photo : 1343739762 download finish for photo 1343739318 begin to download photo : 1343739416 download finish for photo 1343739653 begin to download photo : 1343739658 download finish for photo 1343739093 begin to download photo : 1343739098 download finish for photo 1343739554 begin to download photo : 1343739559 download finish for photo 1343739658 begin to download photo : 1343739666 download finish for photo 1343739762 begin to download photo : 1343739769 download finish for photo 1343739416 begin to download photo : 1343739421 download finish for photo 1343739559 begin to download photo : 1343739563 download finish for photo 1343739666 begin to download photo : 1343739707 download finish for photo 1343739098 begin to download photo : 1343739132 download finish for photo 1343739769 begin to download photo : 1343739775 download finish for photo 1343739421 begin to download photo : 1343739504 download finish for photo 1343739563 begin to download photo : 1343739567 download finish for photo 1343739707 begin to download photo : 1343739712 download finish for photo 1343739504 begin to download photo : 1343739512 download finish for photo 1343739132 begin to download photo : 1343739137 download finish for photo 1343739775 begin to download photo : 1343739779 download finish for photo 1343739567 begin to download photo : 1343739569 download finish for photo 1343739712 begin to download photo : 1343739718 download finish for photo 1343739512 begin to download photo : 1343739517 download finish for photo 1343739137 begin to download photo : 1343739141 download finish for photo 1343739779 begin to download photo : 1343739780 download finish for photo 1343739569 begin to download photo : 1343739601 download finish for photo 1343739718 begin to download photo : 1343739721 download finish for photo 1343739517 begin to download photo : 1343739523 download finish for photo 1343739141 begin to download photo : 1343739144 download finish for photo 1343739780 begin to download photo : 1343739831 download finish for photo 1343739721 begin to download photo : 1343739726 download finish for photo 1343739601 begin to download photo : 1343739607 download finish for photo 1343739144 begin to download photo : 1343739178 download finish for photo 1343739831 download finish for photo 1343739726 download finish for photo 1343739607 begin to download photo : 1343739612 download finish for photo 1343739523 begin to download photo : 1343739525 download finish for photo 1343739178 begin to download photo : 1343739223 download finish for photo 1343739612 download finish for photo 1343739525 download finish for photo 1343739223 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette214048811742917722/ length of list_filenames : 39 ; length of list_pids : 39 ; length of list_args : 39 results_Auto_P21404760_25-03-2025_16_48_42.pdf 21404881 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=21404881 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048811742917722 21404883 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=21404883 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346774912: '1742816573_2978631_1343739779_f603e1c2a4ffb6f6428e8e52eafe1e56_rle_crop_3726571878_0.png', 1346776404: '1742817094_2993943_1343739563_bc71f72211cf0cb6a830c8e16110cd83_rle_crop_3726582628_0.png', 1346776405: '1742817094_2993943_1343739554_437bace1c747eb17d5a99b5d9bc31a82_rle_crop_3726582705_0.png', 1346776406: '1742817094_2993943_1343739512_503487c56704972953ffa0df069583a2_rle_crop_3726582872_0.png', 1346776407: '1742817094_2993943_1343739512_503487c56704972953ffa0df069583a2_rle_crop_3726582870_0.png', 1346776409: '1742817094_2993943_1343739421_b1eff3f312a3efde1ecc355955fc3709_rle_crop_3726583136_0.png', 1346776410: '1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583319_0.png', 1346776411: '1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583321_0.png', 1346776412: '1742817094_2993943_1343739178_1831fcb41d56bfea0491d2a70a1f65a3_rle_crop_3726583363_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/bb6ec8d0c2b0d340c19b0f1383295133_29267740.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d754c34d0359cc3356fba34c7282fec5_7039247.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/8ae180d73a94374810001ac1676af7b8_36005352.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e380d0e6cfd172f6657ec6dac2ab7c5d_15539553.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/0a81070828507060114f7a271aa0170d_37859677.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/885555cf47f14c8665149ecfcfbeba8b_81928529.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/8301d21d2004fd657248098818eed43b_37040626.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d49eb7d6a900ba4c6865f6cec0afc348_51032525.png change filename to text .imagette214048831742917722/ imagette214048831742917722/1742817094_2993943_1343739554_437bace1c747eb17d5a99b5d9bc31a82_rle_crop_3726582705_0.png.png imagette214048831742917722/1742817094_2993943_1343739178_1831fcb41d56bfea0491d2a70a1f65a3_rle_crop_3726583363_0.png.png imagette214048831742917722/1742817094_2993943_1343739421_b1eff3f312a3efde1ecc355955fc3709_rle_crop_3726583136_0.png.png imagette214048831742917722/1742817094_2993943_1343739512_503487c56704972953ffa0df069583a2_rle_crop_3726582872_0.png.png imagette214048831742917722/1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583319_0.png.png imagette214048831742917722/1742816573_2978631_1343739779_f603e1c2a4ffb6f6428e8e52eafe1e56_rle_crop_3726571878_0.png.png imagette214048831742917722/1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583321_0.png.png imagette214048831742917722/1742817094_2993943_1343739563_bc71f72211cf0cb6a830c8e16110cd83_rle_crop_3726582628_0.png.png imagette214048831742917722/1742817094_2993943_1343739512_503487c56704972953ffa0df069583a2_rle_crop_3726582870_0.png.png imagette214048841742917723/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/274d74c87b12a41c5278d02e65c1faea_70841056.png imagette214048831742917722 21404884 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=21404884 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048841742917723 21404885 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=21404885 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346776428: '1742817094_2993943_1343739517_70f9dc278e8746f22eccf0611a41ae92_rle_crop_3726582818_0.png'} change filename to text .imagette214048851742917723/ imagette214048851742917723/1742817094_2993943_1343739517_70f9dc278e8746f22eccf0611a41ae92_rle_crop_3726582818_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/215fdfbc0f7da4806a64756d13b37ad6_41276757.png imagette214048851742917723 21404886 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=21404886 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346774939: '1742816573_2978631_1343739780_08a7c86f835ddbba5c6dae6949a9d665_rle_crop_3726571830_0.png', 1346774940: '1742816573_2978631_1343739779_f603e1c2a4ffb6f6428e8e52eafe1e56_rle_crop_3726571875_0.png', 1346774941: '1742816573_2978631_1343739779_f603e1c2a4ffb6f6428e8e52eafe1e56_rle_crop_3726571879_0.png', 1346774942: '1742816573_2978631_1343739775_0a96c68597280aa1ba96096d734ef342_rle_crop_3726571922_0.png', 1346776420: '1742817094_2993943_1343739554_437bace1c747eb17d5a99b5d9bc31a82_rle_crop_3726582716_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d52093f1d951d4e99bd1eeb121ff0e40_11694180.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/f2be3d102bd5448c166b9cdee918b1cd_51463647.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e231467cdf253e878fd0bbd5c4345067_78698190.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/11e17fdc7097b8c1a9f0c1eddaee2ace_3647540.png change filename to text .imagette214048861742917723/ imagette214048861742917723/1742816573_2978631_1343739779_f603e1c2a4ffb6f6428e8e52eafe1e56_rle_crop_3726571875_0.png.png imagette214048861742917723/1742816573_2978631_1343739780_08a7c86f835ddbba5c6dae6949a9d665_rle_crop_3726571830_0.png.png imagette214048861742917723/1742817094_2993943_1343739554_437bace1c747eb17d5a99b5d9bc31a82_rle_crop_3726582716_0.png.png imagette214048861742917723/1742816573_2978631_1343739779_f603e1c2a4ffb6f6428e8e52eafe1e56_rle_crop_3726571879_0.png.png imagette214048861742917723/1742816573_2978631_1343739775_0a96c68597280aa1ba96096d734ef342_rle_crop_3726571922_0.png.png imagette214048871742917724/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d78d55cc134ff22449dfe16cee469afb_20119296.png imagette214048861742917723 21404887 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=21404887 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048871742917724 21404888 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=21404888 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346776347: '1742817094_2993943_1343739559_ce8d3222fab71417c17608d65cf90183_rle_crop_3726582672_0.png', 1346776380: '1742817094_2993943_1343739132_d722081e46fe8db571511d25a58e86a8_rle_crop_3726583528_0.png', 1346776378: '1742817094_2993943_1343739132_d722081e46fe8db571511d25a58e86a8_rle_crop_3726583527_0.png', 1346776376: '1742817094_2993943_1343739137_282c544a14ea0c41ce7e39d15894612f_rle_crop_3726583483_0.png', 1346776374: '1742817094_2993943_1343739141_c5ca7dfbd35c067bbaaf49b38b8dc2e2_rle_crop_3726583440_0.png', 1346776372: '1742817094_2993943_1343739178_1831fcb41d56bfea0491d2a70a1f65a3_rle_crop_3726583365_0.png', 1346776369: '1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583328_0.png', 1346776367: '1742817094_2993943_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95_rle_crop_3726583242_0.png', 1346776365: '1742817094_2993943_1343739416_c11e68c212bf34de68c013337fb79e87_rle_crop_3726583184_0.png', 1346776363: '1742817094_2993943_1343739421_b1eff3f312a3efde1ecc355955fc3709_rle_crop_3726583134_0.png', 1346776360: '1742817094_2993943_1343739504_7b549c53d0783219bfd6a954f4ed43b6_rle_crop_3726583057_0.png', 1346776358: '1742817094_2993943_1343739512_503487c56704972953ffa0df069583a2_rle_crop_3726582876_0.png', 1346776355: '1742817094_2993943_1343739517_70f9dc278e8746f22eccf0611a41ae92_rle_crop_3726582826_0.png', 1346776353: '1742817094_2993943_1343739523_52f25d093f51d6df1496cfe79a9dbada_rle_crop_3726582756_0.png', 1346776352: '1742817094_2993943_1343739525_192242a825e252250fda0c1cc86085aa_rle_crop_3726582743_0.png', 1346776350: '1742817094_2993943_1343739554_437bace1c747eb17d5a99b5d9bc31a82_rle_crop_3726582710_0.png', 1346774873: '1742816573_2978631_1343739780_08a7c86f835ddbba5c6dae6949a9d665_rle_crop_3726571827_0.png', 1346774892: '1742816573_2978631_1343739567_384e0ca484110501d1304045a4e22d04_rle_crop_3726572873_0.png', 1346774891: '1742816573_2978631_1343739569_d82accebac5453556871a3b9afb76547_rle_crop_3726572704_0.png', 1346774890: '1742816573_2978631_1343739601_df498a10b76075fffdf1c8edcc10db40_rle_crop_3726572610_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/ca9c063f8e080f439acd393f90b8ff5e_58515521.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/69cefb3b6e38d4f0018656825cd0c235_21778093.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/57405daea4b1cb7efdb13e205b5667fc_41997680.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/f8f4d310cd9769bd14fc20ab48ab5dc8_61188104.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/98ab51b833f90ff8fb4ec2b2d1bad722_63665007.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/cf413cdd2badfdfa02103f16bd9f4752_68885389.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/aa78a97f01265a5f06f69aeab51d9751_8216139.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/9ede67dc78476cca9f7a1acb248056bd_33857413.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a4fac1679ed7f5e81d3d7b5101181202_92852525.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/39ef7429911bdf624bc18bb78a0afac4_18364257.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/ba1384f8129d520c0e7e92db95e522bc_89812863.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/21d6ff1b11e63b2573b25a8b5c9511a0_9009040.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3d935770f413ded6fec8ee5477bdf288_65203795.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e144be1b84e9c24465c8e4fd628801f5_84655833.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/fd26094c0bb29f04c6ff7643c99eb415_50090361.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/b78e71aba5cd42abb8613457a7167088_29599836.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a59a7c36509ae6e6cb4b2cfbe02d5dee_50593537.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3091fc89092f0440507d253aa03995e6_39548903.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/87f58557bb02d0be19189c7da2034fab_85790856.png change filename to text .imagette214048881742917724/ imagette214048881742917724/1742817094_2993943_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95_rle_crop_3726583242_0.png.png imagette214048881742917724/1742817094_2993943_1343739178_1831fcb41d56bfea0491d2a70a1f65a3_rle_crop_3726583365_0.png.png imagette214048881742917724/1742817094_2993943_1343739141_c5ca7dfbd35c067bbaaf49b38b8dc2e2_rle_crop_3726583440_0.png.png imagette214048881742917724/1742816573_2978631_1343739780_08a7c86f835ddbba5c6dae6949a9d665_rle_crop_3726571827_0.png.png imagette214048881742917724/1742817094_2993943_1343739132_d722081e46fe8db571511d25a58e86a8_rle_crop_3726583527_0.png.png imagette214048881742917724/1742817094_2993943_1343739416_c11e68c212bf34de68c013337fb79e87_rle_crop_3726583184_0.png.png imagette214048881742917724/1742817094_2993943_1343739504_7b549c53d0783219bfd6a954f4ed43b6_rle_crop_3726583057_0.png.png imagette214048881742917724/1742817094_2993943_1343739137_282c544a14ea0c41ce7e39d15894612f_rle_crop_3726583483_0.png.png imagette214048881742917724/1742817094_2993943_1343739559_ce8d3222fab71417c17608d65cf90183_rle_crop_3726582672_0.png.png imagette214048881742917724/1742817094_2993943_1343739132_d722081e46fe8db571511d25a58e86a8_rle_crop_3726583528_0.png.png imagette214048881742917724/1742817094_2993943_1343739512_503487c56704972953ffa0df069583a2_rle_crop_3726582876_0.png.png imagette214048881742917724/1742816573_2978631_1343739567_384e0ca484110501d1304045a4e22d04_rle_crop_3726572873_0.png.png imagette214048881742917724/1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583328_0.png.png imagette214048881742917724/1742817094_2993943_1343739523_52f25d093f51d6df1496cfe79a9dbada_rle_crop_3726582756_0.png.png imagette214048881742917724/1742817094_2993943_1343739525_192242a825e252250fda0c1cc86085aa_rle_crop_3726582743_0.png.png imagette214048881742917724/1742817094_2993943_1343739517_70f9dc278e8746f22eccf0611a41ae92_rle_crop_3726582826_0.png.png imagette214048881742917724/1742816573_2978631_1343739569_d82accebac5453556871a3b9afb76547_rle_crop_3726572704_0.png.png imagette214048881742917724/1742817094_2993943_1343739421_b1eff3f312a3efde1ecc355955fc3709_rle_crop_3726583134_0.png.png imagette214048881742917724/1742817094_2993943_1343739554_437bace1c747eb17d5a99b5d9bc31a82_rle_crop_3726582710_0.png.png imagette214048881742917724/1742816573_2978631_1343739601_df498a10b76075fffdf1c8edcc10db40_rle_crop_3726572610_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/01bb9782d6f70d566f1d8a8559bfb8b4_57617842.png imagette214048881742917724 21404877 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=21404877 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346776308: '1742817094_2993943_1343739421_b1eff3f312a3efde1ecc355955fc3709_rle_crop_3726583132_0.png', 1346776324: '1742817094_2993943_1343739093_b68e8bb522786f8c3a00354f12adc2f5_rle_crop_3726583744_0.png', 1346776323: '1742817094_2993943_1343739093_b68e8bb522786f8c3a00354f12adc2f5_rle_crop_3726583742_0.png', 1346776322: '1742817094_2993943_1343739098_3c676b2baf09e52ae0a952cd15969caf_rle_crop_3726583577_0.png', 1346776321: '1742817094_2993943_1343739098_3c676b2baf09e52ae0a952cd15969caf_rle_crop_3726583576_0.png', 1346776320: '1742817094_2993943_1343739178_1831fcb41d56bfea0491d2a70a1f65a3_rle_crop_3726583362_0.png', 1346776318: '1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583322_0.png', 1346776314: '1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583325_0.png', 1346776313: '1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583331_0.png', 1346776312: '1742817094_2993943_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95_rle_crop_3726583243_0.png', 1346776311: '1742817094_2993943_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95_rle_crop_3726583248_0.png', 1346776310: '1742817094_2993943_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95_rle_crop_3726583244_0.png', 1346776309: '1742817094_2993943_1343739416_c11e68c212bf34de68c013337fb79e87_rle_crop_3726583180_0.png', 1346774866: '1742816573_2978631_1343739769_78188fb8a389a90b34abb45345b4a548_rle_crop_3726571955_0.png', 1346776307: '1742817094_2993943_1343739421_b1eff3f312a3efde1ecc355955fc3709_rle_crop_3726583133_0.png', 1346776306: '1742817094_2993943_1343739504_7b549c53d0783219bfd6a954f4ed43b6_rle_crop_3726583058_0.png', 1346776305: '1742817094_2993943_1343739512_503487c56704972953ffa0df069583a2_rle_crop_3726582871_0.png', 1346776304: '1742817094_2993943_1343739512_503487c56704972953ffa0df069583a2_rle_crop_3726582874_0.png', 1346776303: '1742817094_2993943_1343739517_70f9dc278e8746f22eccf0611a41ae92_rle_crop_3726582822_0.png', 1346776302: '1742817094_2993943_1343739525_192242a825e252250fda0c1cc86085aa_rle_crop_3726582741_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/95fe6e5d728a21e8fb1aa8055a8a22c1_45523711.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/bac3ac3e0f354def64d1cf7c81cac727_35749633.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/f11989d95e2b3b76a3c1b0c8194ea55e_74094192.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/9535c7f828435bc31b5e8f152cb6fe09_88103428.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/0d0c1ceee42c27b34704c6886fb3baad_58843023.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/aab79d3f0d14898039e1ae56ec6dce3f_88403905.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/44c2ee900495368a34c02c0a0604810a_76501798.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/1adfffd555353b781de7468921e30c46_81077089.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/46aa9f5ed955bd703ab77e51256918f4_24297602.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/fbc8134bf8548c78e2f76b90f6a4fb7b_34149373.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/77d40e2d9ef9eb985b5ec123bff20f92_84582718.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/c313f934a8ba6ff0c936ea73220edcf4_37890464.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/90479fd14aef39c01de08460979cd522_65172069.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/ce7ae92a57de6297ea9b16ab3b703d87_37691088.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e6def83ea6fab0a93693cea97c04f8b1_18424979.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/0f5cca9f172960a7f5b252ec08da3dac_30684164.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/44d394962544f08ff8cc69e4e73a3f85_71765256.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/41381c8815a4e76b33fd60cfd898a2f4_27475170.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/90e87c6424c9baf0b79dc2fe503cea5a_16906966.png change filename to text .imagette214048771742917726/ imagette214048771742917726/1742817094_2993943_1343739098_3c676b2baf09e52ae0a952cd15969caf_rle_crop_3726583577_0.png.png imagette214048771742917726/1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583322_0.png.png imagette214048771742917726/1742817094_2993943_1343739093_b68e8bb522786f8c3a00354f12adc2f5_rle_crop_3726583744_0.png.png imagette214048771742917726/1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583331_0.png.png imagette214048771742917726/1742817094_2993943_1343739416_c11e68c212bf34de68c013337fb79e87_rle_crop_3726583180_0.png.png imagette214048771742917726/1742817094_2993943_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95_rle_crop_3726583244_0.png.png imagette214048771742917726/1742817094_2993943_1343739517_70f9dc278e8746f22eccf0611a41ae92_rle_crop_3726582822_0.png.png imagette214048771742917726/1742817094_2993943_1343739525_192242a825e252250fda0c1cc86085aa_rle_crop_3726582741_0.png.png imagette214048771742917726/1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583325_0.png.png imagette214048771742917726/1742817094_2993943_1343739512_503487c56704972953ffa0df069583a2_rle_crop_3726582871_0.png.png imagette214048771742917726/1742817094_2993943_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95_rle_crop_3726583243_0.png.png imagette214048771742917726/1742817094_2993943_1343739421_b1eff3f312a3efde1ecc355955fc3709_rle_crop_3726583132_0.png.png imagette214048771742917726/1742817094_2993943_1343739512_503487c56704972953ffa0df069583a2_rle_crop_3726582874_0.png.png imagette214048771742917726/1742816573_2978631_1343739769_78188fb8a389a90b34abb45345b4a548_rle_crop_3726571955_0.png.png imagette214048771742917726/1742817094_2993943_1343739178_1831fcb41d56bfea0491d2a70a1f65a3_rle_crop_3726583362_0.png.png imagette214048771742917726/1742817094_2993943_1343739098_3c676b2baf09e52ae0a952cd15969caf_rle_crop_3726583576_0.png.png imagette214048771742917726/1742817094_2993943_1343739421_b1eff3f312a3efde1ecc355955fc3709_rle_crop_3726583133_0.png.png imagette214048771742917726/1742817094_2993943_1343739093_b68e8bb522786f8c3a00354f12adc2f5_rle_crop_3726583742_0.png.png imagette214048771742917726/1742817094_2993943_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95_rle_crop_3726583248_0.png.png imagette214048771742917726/1742817094_2993943_1343739504_7b549c53d0783219bfd6a954f4ed43b6_rle_crop_3726583058_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/4a6ba4ce2162d4f1f6dc7f058a6bfc2a_28517313.png imagette214048771742917726 21404878 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=21404878 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346774924: '1742816573_2978631_1343739831_faf699f5e48e78da73af706d59ed7cb4_rle_crop_3726571724_0.png', 1346774925: '1742816573_2978631_1343739769_78188fb8a389a90b34abb45345b4a548_rle_crop_3726571956_0.png', 1346774926: '1742816573_2978631_1343739726_0a28e06c9b5d0cd5f402eb1e03cf84da_rle_crop_3726572084_0.png', 1346774927: '1742816573_2978631_1343739666_436219e30d92b78f7105e8f88060ca04_rle_crop_3726572381_0.png', 1346774928: '1742816573_2978631_1343739612_b7ac826be4c212b189960f481fadb66d_rle_crop_3726572574_0.png', 1346774929: '1742816573_2978631_1343739601_df498a10b76075fffdf1c8edcc10db40_rle_crop_3726572611_0.png', 1346776416: '1742817094_2993943_1343739178_1831fcb41d56bfea0491d2a70a1f65a3_rle_crop_3726583366_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/f82170509b656a60f09756ac6d1f8324_16684409.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e875eb7f65e885cace3282e1f03de07c_49431986.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/59c58a5f5516088ae933f7f8db2db103_82064978.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e93223ec22b30545f974e4fbd7e45297_96589364.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/0562bb76f9d36d3091ae857604a01828_80965156.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/5ad59704f4303f206480327b1a50fc3c_6632767.png change filename to text .imagette214048781742917728/ imagette214048781742917728/1742816573_2978631_1343739666_436219e30d92b78f7105e8f88060ca04_rle_crop_3726572381_0.png.png imagette214048781742917728/1742817094_2993943_1343739178_1831fcb41d56bfea0491d2a70a1f65a3_rle_crop_3726583366_0.png.png imagette214048781742917728/1742816573_2978631_1343739726_0a28e06c9b5d0cd5f402eb1e03cf84da_rle_crop_3726572084_0.png.png imagette214048781742917728/1742816573_2978631_1343739601_df498a10b76075fffdf1c8edcc10db40_rle_crop_3726572611_0.png.png imagette214048781742917728/1742816573_2978631_1343739831_faf699f5e48e78da73af706d59ed7cb4_rle_crop_3726571724_0.png.png imagette214048781742917728/1742816573_2978631_1343739769_78188fb8a389a90b34abb45345b4a548_rle_crop_3726571956_0.png.png imagette214048781742917728/1742816573_2978631_1343739612_b7ac826be4c212b189960f481fadb66d_rle_crop_3726572574_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a6dd7eae696b1caf97f5003701b32210_97121209.png imagette214048781742917728 21404880 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=21404880 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346774901: '1742816573_2978631_1343739780_08a7c86f835ddbba5c6dae6949a9d665_rle_crop_3726571822_0.png', 1346774902: '1742816573_2978631_1343739779_f603e1c2a4ffb6f6428e8e52eafe1e56_rle_crop_3726571872_0.png', 1346774903: '1742816573_2978631_1343739707_9def325c5b1b6a1a784ad8a11ababb4e_rle_crop_3726572356_0.png', 1346774904: '1742816573_2978631_1343739658_bf8d546198eb640a2e735a8b805e30d5_rle_crop_3726572415_0.png', 1346774905: '1742816573_2978631_1343739567_384e0ca484110501d1304045a4e22d04_rle_crop_3726572863_0.png', 1346776395: '1742817094_2993943_1343739416_c11e68c212bf34de68c013337fb79e87_rle_crop_3726583177_0.png', 1346776396: '1742817094_2993943_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95_rle_crop_3726583241_0.png', 1346776397: '1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583323_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/345d4f535ac1b57af76f9dd714f0eccd_26702447.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e39f1352d3626cec599df6a722db7941_68857938.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/72eae5edc25be90c23abc4234e88452e_47947156.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/dd11c78b6a22f85e9283e01f031ae391_49049631.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/31542849593ec76af221f37214dccf31_39977255.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/918eea247d2cd971097b73ba5bee848f_17099098.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/36a8dd0a5097f4ad01c4dfaefa604024_2855693.png change filename to text .imagette214048801742917729/ imagette214048801742917729/1742816573_2978631_1343739707_9def325c5b1b6a1a784ad8a11ababb4e_rle_crop_3726572356_0.png.png imagette214048801742917729/1742816573_2978631_1343739567_384e0ca484110501d1304045a4e22d04_rle_crop_3726572863_0.png.png imagette214048801742917729/1742816573_2978631_1343739779_f603e1c2a4ffb6f6428e8e52eafe1e56_rle_crop_3726571872_0.png.png imagette214048801742917729/1742817094_2993943_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95_rle_crop_3726583241_0.png.png imagette214048801742917729/1742816573_2978631_1343739780_08a7c86f835ddbba5c6dae6949a9d665_rle_crop_3726571822_0.png.png imagette214048801742917729/1742817094_2993943_1343739416_c11e68c212bf34de68c013337fb79e87_rle_crop_3726583177_0.png.png imagette214048801742917729/1742816573_2978631_1343739658_bf8d546198eb640a2e735a8b805e30d5_rle_crop_3726572415_0.png.png imagette214048801742917729/1742817094_2993943_1343739223_424ad7272da0f72a55c798e2dcdf2a5b_rle_crop_3726583323_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e68567fc1b22383680eb092046913f0a_23686509.png imagette214048801742917729 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21404760 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21404889,21404890,21404891,21404892,21404893,21404894,21404895,21404896,21404897,21404898,21404899,21404900?tags=Teint_Dans_La_Masse,Carton_brun,papier,Carton_gris,mal_croppe,environnement,cartonnette,kraft,metal,plastique,flou,autre_refus your option no_mail is active, we will not send the real mail to your client args[1343739831] : ('0.08188478312088793',) no score found for photo 1343739831 We are sending mail with results at report@fotonower.com args[1343739780] : ('0.08188478312088793',) no score found for photo 1343739780 We are sending mail with results at report@fotonower.com args[1343739779] : ('0.08188478312088793',) no score found for photo 1343739779 We are sending mail with results at report@fotonower.com args[1343739775] : ('0.08188478312088793',) no score found for photo 1343739775 We are sending mail with results at report@fotonower.com args[1343739769] : ('0.08188478312088793',) no score found for photo 1343739769 We are sending mail with results at report@fotonower.com args[1343739762] : ('0.08188478312088793',) no score found for photo 1343739762 We are sending mail with results at report@fotonower.com args[1343739728] : ('0.08188478312088793',) no score found for photo 1343739728 We are sending mail with results at report@fotonower.com args[1343739726] : ('0.08188478312088793',) no score found for photo 1343739726 We are sending mail with results at report@fotonower.com args[1343739721] : ('0.08188478312088793',) no score found for photo 1343739721 We are sending mail with results at report@fotonower.com args[1343739718] : ('0.08188478312088793',) no score found for photo 1343739718 We are sending mail with results at report@fotonower.com args[1343739712] : ('0.08188478312088793',) no score found for photo 1343739712 We are sending mail with results at report@fotonower.com args[1343739707] : ('0.08188478312088793',) no score found for photo 1343739707 We are sending mail with results at report@fotonower.com args[1343739666] : ('0.08188478312088793',) no score found for photo 1343739666 We are sending mail with results at report@fotonower.com args[1343739658] : ('0.08188478312088793',) no score found for photo 1343739658 We are sending mail with results at report@fotonower.com args[1343739653] : ('0.08188478312088793',) no score found for photo 1343739653 We are sending mail with results at report@fotonower.com args[1343739612] : ('0.08188478312088793',) no score found for photo 1343739612 We are sending mail with results at report@fotonower.com args[1343739607] : ('0.08188478312088793',) no score found for photo 1343739607 We are sending mail with results at report@fotonower.com args[1343739601] : ('0.08188478312088793',) no score found for photo 1343739601 We are sending mail with results at report@fotonower.com args[1343739569] : ('0.08188478312088793',) no score found for photo 1343739569 We are sending mail with results at report@fotonower.com args[1343739567] : ('0.08188478312088793',) no score found for photo 1343739567 We are sending mail with results at report@fotonower.com args[1343739563] : ('0.08188478312088793',) no score found for photo 1343739563 We are sending mail with results at report@fotonower.com args[1343739559] : ('0.08188478312088793',) no score found for photo 1343739559 We are sending mail with results at report@fotonower.com args[1343739554] : ('0.08188478312088793',) no score found for photo 1343739554 We are sending mail with results at report@fotonower.com args[1343739525] : ('0.08188478312088793',) no score found for photo 1343739525 We are sending mail with results at report@fotonower.com args[1343739523] : ('0.08188478312088793',) no score found for photo 1343739523 We are sending mail with results at report@fotonower.com args[1343739517] : ('0.08188478312088793',) no score found for photo 1343739517 We are sending mail with results at report@fotonower.com args[1343739512] : ('0.08188478312088793',) no score found for photo 1343739512 We are sending mail with results at report@fotonower.com args[1343739504] : ('0.08188478312088793',) no score found for photo 1343739504 We are sending mail with results at report@fotonower.com args[1343739421] : ('0.08188478312088793',) no score found for photo 1343739421 We are sending mail with results at report@fotonower.com args[1343739416] : ('0.08188478312088793',) no score found for photo 1343739416 We are sending mail with results at report@fotonower.com args[1343739318] : ('0.08188478312088793',) no score found for photo 1343739318 We are sending mail with results at report@fotonower.com args[1343739223] : ('0.08188478312088793',) no score found for photo 1343739223 We are sending mail with results at report@fotonower.com args[1343739178] : ('0.08188478312088793',) no score found for photo 1343739178 We are sending mail with results at report@fotonower.com args[1343739144] : ('0.08188478312088793',) no score found for photo 1343739144 We are sending mail with results at report@fotonower.com args[1343739141] : ('0.08188478312088793',) no score found for photo 1343739141 We are sending mail with results at report@fotonower.com args[1343739137] : ('0.08188478312088793',) no score found for photo 1343739137 We are sending mail with results at report@fotonower.com args[1343739132] : ('0.08188478312088793',) no score found for photo 1343739132 We are sending mail with results at report@fotonower.com args[1343739098] : ('0.08188478312088793',) no score found for photo 1343739098 We are sending mail with results at report@fotonower.com args[1343739093] : ('0.08188478312088793',) no score found for photo 1343739093 We are sending mail with results at report@fotonower.com refus_total : 0.08188478312088793 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=21404760 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_P21404760_25-03-2025_16_48_42.pdf results_Auto_P21404760_25-03-2025_16_48_42.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_25-03-2025_16_48_42.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','21404760','results_Auto_P21404760_25-03-2025_16_48_42.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_25-03-2025_16_48_42.pdf','pdf','','0.52','0.08188478312088793') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21404760]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] map_info['map_portfolio_photo'] : {21404760: [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093]} final : False mtd_id 4302 list_pids : [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] 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, '2689936') ('4302', '21404760', '1343739831', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739780', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739779', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739775', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739769', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739762', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739728', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739726', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739721', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739718', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739712', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739707', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739666', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739658', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739653', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739612', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739607', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739601', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739569', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739567', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739563', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739559', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739554', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739525', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739523', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739517', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739512', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739504', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739421', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739416', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739318', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739223', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739178', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739144', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739141', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739137', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739132', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739098', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739093', None, None, None, None, None, '2689936') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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', '21404760', '1343739831', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739780', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739779', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739775', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739769', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739762', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739728', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739726', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739721', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739718', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739712', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739707', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739666', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739658', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739653', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739612', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739607', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739601', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739569', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739567', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739563', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739559', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739554', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739525', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739523', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739517', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739512', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739504', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739421', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739416', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739318', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739223', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739178', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739144', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739141', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739137', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739132', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739098', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739093', None, None, None, None, None, '2689936')] time used for this insertion : 0.016232728958129883 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.430219888687134 time spend to save output : 0.016672134399414062 total time spend for step 4 : 13.446892023086548 step5:split_time_score Tue Mar 25 16:48:54 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 : ['21404760'] 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 : [('21404760',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21404760) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1343739728: {'path': 'temp/1742917720_2448833_1343739728_e3417d5dc597a98e0bbf3277277cf307.jpg', 'extension': 'jpg'}, 1343739762: {'path': 'temp/1742917720_2448833_1343739762_591475b2bbd7b4ef970c3b09ee4e3908.jpg', 'extension': 'jpg'}, 1343739769: {'path': 'temp/1742917720_2448833_1343739769_78188fb8a389a90b34abb45345b4a548.jpg', 'extension': 'jpg'}, 1343739775: {'path': 'temp/1742917720_2448833_1343739775_0a96c68597280aa1ba96096d734ef342.jpg', 'extension': 'jpg'}, 1343739779: {'path': 'temp/1742917720_2448833_1343739779_f603e1c2a4ffb6f6428e8e52eafe1e56.jpg', 'extension': 'jpg'}, 1343739780: {'path': 'temp/1742917720_2448833_1343739780_08a7c86f835ddbba5c6dae6949a9d665.jpg', 'extension': 'jpg'}, 1343739831: {'path': 'temp/1742917720_2448833_1343739831_faf699f5e48e78da73af706d59ed7cb4.jpg', 'extension': 'jpg'}, 1343739653: {'path': 'temp/1742917720_2448833_1343739653_6f2bf59a07e0b454722ba39de57bd89a.jpg', 'extension': 'jpg'}, 1343739658: {'path': 'temp/1742917720_2448833_1343739658_bf8d546198eb640a2e735a8b805e30d5.jpg', 'extension': 'jpg'}, 1343739666: {'path': 'temp/1742917720_2448833_1343739666_436219e30d92b78f7105e8f88060ca04.jpg', 'extension': 'jpg'}, 1343739707: {'path': 'temp/1742917720_2448833_1343739707_9def325c5b1b6a1a784ad8a11ababb4e.jpg', 'extension': 'jpg'}, 1343739712: {'path': 'temp/1742917720_2448833_1343739712_c27ebb8909c5f206f13f77020f3ffc45.jpg', 'extension': 'jpg'}, 1343739718: {'path': 'temp/1742917720_2448833_1343739718_b2b65115311d2ab9b3c546c0fc912a9a.jpg', 'extension': 'jpg'}, 1343739721: {'path': 'temp/1742917720_2448833_1343739721_b5570bbd819c43ecf81b9ef8a2f0bdc0.jpg', 'extension': 'jpg'}, 1343739726: {'path': 'temp/1742917720_2448833_1343739726_0a28e06c9b5d0cd5f402eb1e03cf84da.jpg', 'extension': 'jpg'}, 1343739554: {'path': 'temp/1742917720_2448833_1343739554_437bace1c747eb17d5a99b5d9bc31a82.jpg', 'extension': 'jpg'}, 1343739559: {'path': 'temp/1742917720_2448833_1343739559_ce8d3222fab71417c17608d65cf90183.jpg', 'extension': 'jpg'}, 1343739563: {'path': 'temp/1742917720_2448833_1343739563_bc71f72211cf0cb6a830c8e16110cd83.jpg', 'extension': 'jpg'}, 1343739567: {'path': 'temp/1742917720_2448833_1343739567_384e0ca484110501d1304045a4e22d04.jpg', 'extension': 'jpg'}, 1343739569: {'path': 'temp/1742917720_2448833_1343739569_d82accebac5453556871a3b9afb76547.jpg', 'extension': 'jpg'}, 1343739601: {'path': 'temp/1742917720_2448833_1343739601_df498a10b76075fffdf1c8edcc10db40.jpg', 'extension': 'jpg'}, 1343739607: {'path': 'temp/1742917720_2448833_1343739607_7d3b9fb07c29e09159860a4242c1e571.jpg', 'extension': 'jpg'}, 1343739612: {'path': 'temp/1742917720_2448833_1343739612_b7ac826be4c212b189960f481fadb66d.jpg', 'extension': 'jpg'}, 1343739318: {'path': 'temp/1742917720_2448833_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95.jpg', 'extension': 'jpg'}, 1343739416: {'path': 'temp/1742917720_2448833_1343739416_c11e68c212bf34de68c013337fb79e87.jpg', 'extension': 'jpg'}, 1343739421: {'path': 'temp/1742917720_2448833_1343739421_b1eff3f312a3efde1ecc355955fc3709.jpg', 'extension': 'jpg'}, 1343739504: {'path': 'temp/1742917720_2448833_1343739504_7b549c53d0783219bfd6a954f4ed43b6.jpg', 'extension': 'jpg'}, 1343739512: {'path': 'temp/1742917720_2448833_1343739512_503487c56704972953ffa0df069583a2.jpg', 'extension': 'jpg'}, 1343739517: {'path': 'temp/1742917720_2448833_1343739517_70f9dc278e8746f22eccf0611a41ae92.jpg', 'extension': 'jpg'}, 1343739523: {'path': 'temp/1742917720_2448833_1343739523_52f25d093f51d6df1496cfe79a9dbada.jpg', 'extension': 'jpg'}, 1343739525: {'path': 'temp/1742917720_2448833_1343739525_192242a825e252250fda0c1cc86085aa.jpg', 'extension': 'jpg'}, 1343739093: {'path': 'temp/1742917720_2448833_1343739093_b68e8bb522786f8c3a00354f12adc2f5.jpg', 'extension': 'jpg'}, 1343739098: {'path': 'temp/1742917720_2448833_1343739098_3c676b2baf09e52ae0a952cd15969caf.jpg', 'extension': 'jpg'}, 1343739132: {'path': 'temp/1742917720_2448833_1343739132_d722081e46fe8db571511d25a58e86a8.jpg', 'extension': 'jpg'}, 1343739137: {'path': 'temp/1742917720_2448833_1343739137_282c544a14ea0c41ce7e39d15894612f.jpg', 'extension': 'jpg'}, 1343739141: {'path': 'temp/1742917720_2448833_1343739141_c5ca7dfbd35c067bbaaf49b38b8dc2e2.jpg', 'extension': 'jpg'}, 1343739144: {'path': 'temp/1742917720_2448833_1343739144_d4df57e37770304a887a759cdf3087ff.jpg', 'extension': 'jpg'}, 1343739178: {'path': 'temp/1742917720_2448833_1343739178_1831fcb41d56bfea0491d2a70a1f65a3.jpg', 'extension': 'jpg'}, 1343739223: {'path': 'temp/1742917720_2448833_1343739223_424ad7272da0f72a55c798e2dcdf2a5b.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 = 21404760; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 21404760 group by h (('12', 39),) 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=21404760 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 (21404760) 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 (21404760) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13032025 21404760 Nombre de photos uploadées : 39 / 23040 (0%) 13032025 21404760 Nombre de photos taguées (types de déchets): 0 / 39 (0%) 13032025 21404760 Nombre de photos taguées (volume) : 0 / 39 (0%) [{'photo_id': 1343739098, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/3c676b2baf09e52ae0a952cd15969caf.jpg', 'username': None, 'uploaded_at': 1741863703, 'text': 'image_13032025_12_00_14_10200.jpg'}, {'photo_id': 1343739093, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/b68e8bb522786f8c3a00354f12adc2f5.jpg', 'username': None, 'uploaded_at': 1741863703, 'text': 'image_13032025_12_00_24_10140.jpg'}, {'photo_id': 1343739144, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/d4df57e37770304a887a759cdf3087ff.jpg', 'username': None, 'uploaded_at': 1741863763, 'text': 'image_13032025_12_00_35_10141.jpg'}, {'photo_id': 1343739141, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/c5ca7dfbd35c067bbaaf49b38b8dc2e2.jpg', 'username': None, 'uploaded_at': 1741863763, 'text': 'image_13032025_12_01_24_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ??????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001611948013305664 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21404760, '2025-03-13' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1664531,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024231672286987305 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= 1664531 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21372357, 'dashboard_result_id': 9436908, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_14-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372372, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21372764, 'dashboard_result_id': 9436909, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_14-03-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372776, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21373172, 'dashboard_result_id': 9436910, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_14-03-2025_05_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373245, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21373693, 'dashboard_result_id': 9436911, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_14-03-2025_05_37_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373705, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21374101, 'dashboard_result_id': 9436912, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_14-03-2025_05_38_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374129, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21374849, 'dashboard_result_id': 9436913, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_14-03-2025_05_38_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374879, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374885, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21375494, 'dashboard_result_id': 9436914, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_14-03-2025_05_39_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21375497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21375498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21375499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21375500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21375503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21375504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21375505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21375506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21375507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21375508, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21376239, 'dashboard_result_id': 9436915, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_14-03-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21376259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376268, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21376738, 'dashboard_result_id': 9436916, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_14-03-2025_05_40_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21376830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376841, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404712, 'dashboard_result_id': 9436917, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404712_14-03-2025_05_41_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405200, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404713, 'dashboard_result_id': 9436918, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404713_25-03-2025_16_41_45.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405213, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405224, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404714, 'dashboard_result_id': 9436919, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404714_25-03-2025_16_42_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21405225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405236, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404733, 'dashboard_result_id': 9436920, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404733_25-03-2025_16_43_07.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21405165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405176, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404734, 'dashboard_result_id': 9436921, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404734_25-03-2025_16_43_39.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405135, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404753, 'dashboard_result_id': 9436922, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404753_25-03-2025_16_44_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405105, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405111, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404754, 'dashboard_result_id': 9436923, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404754_25-03-2025_16_45_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21405028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405039, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404755, 'dashboard_result_id': 9436924, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404755_25-03-2025_16_45_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405077, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404756, 'dashboard_result_id': 9436925, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404756_25-03-2025_16_46_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405003, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405006, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404757, 'dashboard_result_id': 9436926, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404757_25-03-2025_16_47_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21404949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404960, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404758, 'dashboard_result_id': 9436927, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404758_25-03-2025_16_47_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404948, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404759, 'dashboard_result_id': 9436928, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404759_25-03-2025_16_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404844, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404847, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404760, 'dashboard_result_id': 9436929, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_14-03-2025_01_04_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404888, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404761, 'dashboard_result_id': 9436930, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404761_14-03-2025_01_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404823, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404762, 'dashboard_result_id': 9436931, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404762_14-03-2025_05_49_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404785, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404787, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21404763, 'dashboard_result_id': 9436932, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404763_14-03-2025_05_49_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404774, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404775, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21377710, 'dashboard_result_id': 9436933, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21377710_14-03-2025_05_50_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21377716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21377717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21377718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21377719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21377720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21377721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21377722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21377723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21377724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21377725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21377726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21377727, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21383050, 'dashboard_result_id': 9436934, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_14-03-2025_05_50_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21383078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21383079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21383080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21383081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21383082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21383083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21383084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21383085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21383086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21383087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21383088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21383089, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21384820, 'dashboard_result_id': 9436935, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_14-03-2025_05_51_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21384897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21384898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21384899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21384900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21384901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21384902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21384903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21384904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21384905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21384906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21384907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21384908, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21385552, 'dashboard_result_id': 9436936, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_14-03-2025_05_51_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21385565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21385566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21385567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21385568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21385569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21385570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21385571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21385572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21385573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21385574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21385575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21385576, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21386481, 'dashboard_result_id': 9436937, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_14-03-2025_05_52_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21386482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21386483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21386484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21386485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21386486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21386487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21386488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21386489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21386490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21386491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21386492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21386493, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21388894, 'dashboard_result_id': 9436938, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_14-03-2025_05_52_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21388895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21388896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21388902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21388904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21388905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388906, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21388973, 'dashboard_result_id': 9436939, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_14-03-2025_05_53_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389004, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21389291, 'dashboard_result_id': 9436940, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_14-03-2025_05_54_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21389353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21389354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21389356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21389357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21389359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21389360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21389361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389364, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21390308, 'dashboard_result_id': 9436941, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_14-03-2025_05_54_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21390351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21390352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21390353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21390354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21390355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21390356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21390357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21390358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21390359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21390360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21390361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21390362, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21391251, 'dashboard_result_id': 9436942, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_14-03-2025_05_55_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21391270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21391271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21391272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21391273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21391274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21391275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21391276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21391277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21391278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21391279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21391280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21391281, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21392334, 'dashboard_result_id': 9436943, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_14-03-2025_05_56_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21392502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21392503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21392505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21392506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21392507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21392508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21392509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21392510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21392511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21392512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21392513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21392514, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21393678, 'dashboard_result_id': 9436944, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_14-03-2025_05_56_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21393697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21393698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21393699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21393700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21393701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21393702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21393703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21393704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21393705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21393706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21393707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21393708, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21394780, 'dashboard_result_id': 9436945, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_14-03-2025_05_57_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21394831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21394832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21394833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21394834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21394835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21394836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21394837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21394838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21394839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21394840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21394841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21394842, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21395431, 'dashboard_result_id': 9436946, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_14-03-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21395437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21395438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21395439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21395440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21395441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21395442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21395443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21395444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21395445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21395446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21395447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21395448, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21396174, 'dashboard_result_id': 9436947, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_14-03-2025_05_58_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21396181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21396182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21396184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21396185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21396187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21396188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21396189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21396190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21396192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21396193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21396194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21396195, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21397287, 'dashboard_result_id': 9436948, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_14-03-2025_05_58_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21397291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21397292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21397293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21397294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21397295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21397296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21397297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21397298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21397299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21397300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21397301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21397302, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21398040, 'dashboard_result_id': 9436949, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_14-03-2025_05_59_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21398121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21398122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21398123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21398124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21398125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21398126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21398127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21398128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21398129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21398130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21398131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21398133, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21400996, 'dashboard_result_id': 9436950, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_14-03-2025_06_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21400997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21400998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21400999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401008, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21401669, 'dashboard_result_id': 9436951, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_14-03-2025_06_01_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21401696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21401699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21401700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401705, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675492, 'mtr_portfolio_id': 21402278, 'dashboard_result_id': 9436952, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_14-03-2025_06_01_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21402279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21402280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21402281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21402282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21402283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21402284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21402285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21402286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21402287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21402288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21402289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21402290, '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 = 21372357 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667718, 'mtr_portfolio_id': 21372357, 'created_at': datetime.datetime(2025, 3, 14, 5, 34, 30), 'result': '0.11229118769661359', 'result_long': None, 'result_double': None}] Qualite : 0.11229118769661359 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21372357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_14-03-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21372357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_14-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372372, 'pht': 3726}}" where mtr_portfolio_id = 21372357 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21372357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436908, 0.11229118769661359, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_14-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372372, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21372764 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667719, 'mtr_portfolio_id': 21372764, 'created_at': datetime.datetime(2025, 3, 14, 5, 35, 32), 'result': '0.08953972044377281', 'result_long': None, 'result_double': None}] Qualite : 0.08953972044377281 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21372764 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_14-03-2025_05_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21372764 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_14-03-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372776, 'pht': 3726}}" where mtr_portfolio_id = 21372764 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21372764 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436909, 0.08953972044377281, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_14-03-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372776, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21373172 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667720, 'mtr_portfolio_id': 21373172, 'created_at': datetime.datetime(2025, 3, 14, 5, 36, 29), 'result': '0.08074579242858267', 'result_long': None, 'result_double': None}] Qualite : 0.08074579242858267 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21373172 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_14-03-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21373172 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_14-03-2025_05_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373245, 'pht': 3726}}" where mtr_portfolio_id = 21373172 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21373172 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436910, 0.08074579242858267, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_14-03-2025_05_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373245, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21373693 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667721, 'mtr_portfolio_id': 21373693, 'created_at': datetime.datetime(2025, 3, 14, 5, 37, 1), 'result': '0.07510759779976604', 'result_long': None, 'result_double': None}] Qualite : 0.07510759779976604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21373693 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_14-03-2025_05_37_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21373693 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_14-03-2025_05_37_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373705, 'pht': 3726}}" where mtr_portfolio_id = 21373693 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21373693 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436911, 0.07510759779976604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_14-03-2025_05_37_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21374101 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667722, 'mtr_portfolio_id': 21374101, 'created_at': datetime.datetime(2025, 3, 14, 5, 38, 1), 'result': '0.09486426083580202', 'result_long': None, 'result_double': None}] Qualite : 0.09486426083580202 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21374101 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_14-03-2025_05_38_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21374101 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_14-03-2025_05_38_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374129, 'pht': 3726}}" where mtr_portfolio_id = 21374101 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21374101 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436912, 0.09486426083580202, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_14-03-2025_05_38_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374129, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21374849 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667723, 'mtr_portfolio_id': 21374849, 'created_at': datetime.datetime(2025, 3, 14, 5, 38, 31), 'result': '0.09499661257730552', 'result_long': None, 'result_double': None}] Qualite : 0.09499661257730552 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21374849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_14-03-2025_05_38_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21374849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_14-03-2025_05_38_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374879, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374885, 'pht': 3726}}" where mtr_portfolio_id = 21374849 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21374849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436913, 0.09499661257730552, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_14-03-2025_05_38_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374879, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374885, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21375494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667724, 'mtr_portfolio_id': 21375494, 'created_at': datetime.datetime(2025, 3, 14, 5, 39, 1), 'result': '0.093033995222796', 'result_long': None, 'result_double': None}] Qualite : 0.093033995222796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21375494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_14-03-2025_05_39_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21375494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_14-03-2025_05_39_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21375497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21375498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21375499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21375500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21375503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21375504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21375505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21375506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21375507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21375508, 'pht': 3726}}" where mtr_portfolio_id = 21375494 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21375494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436914, 0.093033995222796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_14-03-2025_05_39_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21375497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21375498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21375499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21375500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21375503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21375504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21375505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21375506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21375507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21375508, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21376239 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667725, 'mtr_portfolio_id': 21376239, 'created_at': datetime.datetime(2025, 3, 14, 5, 39, 28), 'result': '0.09699580029443165', 'result_long': None, 'result_double': None}] Qualite : 0.09699580029443165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21376239 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_14-03-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376239 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_14-03-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21376259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376268, 'pht': 3726}}" where mtr_portfolio_id = 21376239 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21376239 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436915, 0.09699580029443165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_14-03-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21376259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376268, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21376738 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667726, 'mtr_portfolio_id': 21376738, 'created_at': datetime.datetime(2025, 3, 14, 5, 40, 28), 'result': '0.08754507332249967', 'result_long': None, 'result_double': None}] Qualite : 0.08754507332249967 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21376738 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_14-03-2025_05_40_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376738 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_14-03-2025_05_40_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21376830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376841, 'pht': 3726}}" where mtr_portfolio_id = 21376738 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21376738 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436916, 0.08754507332249967, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_14-03-2025_05_40_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21376830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376841, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667727, 'mtr_portfolio_id': 21404712, 'created_at': datetime.datetime(2025, 3, 14, 5, 41), 'result': '0.14960710004861208', 'result_long': None, 'result_double': None}] Qualite : 0.14960710004861208 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404712_14-03-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404712_14-03-2025_05_41_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405200, 'pht': 3726}}" where mtr_portfolio_id = 21404712 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436917, 0.14960710004861208, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404712_14-03-2025_05_41_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404713 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689925, 'mtr_portfolio_id': 21404713, 'created_at': datetime.datetime(2025, 3, 25, 16, 41, 41), 'result': '0.09252723480462616', 'result_long': None, 'result_double': None}] Qualite : 0.09252723480462616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404713_25-03-2025_16_41_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404713 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404713_25-03-2025_16_41_45.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405213, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405224, 'pht': 3726}}" where mtr_portfolio_id = 21404713 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404713 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436918, 0.09252723480462616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404713_25-03-2025_16_41_45.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405213, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405224, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404714 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689926, 'mtr_portfolio_id': 21404714, 'created_at': datetime.datetime(2025, 3, 25, 16, 42, 36), 'result': '0.09709527095978213', 'result_long': None, 'result_double': None}] Qualite : 0.09709527095978213 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404714 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404714_25-03-2025_16_42_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404714 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404714_25-03-2025_16_42_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21405225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405236, 'pht': 3726}}" where mtr_portfolio_id = 21404714 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404714 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436919, 0.09709527095978213, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404714_25-03-2025_16_42_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21405225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405236, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404733 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689927, 'mtr_portfolio_id': 21404733, 'created_at': datetime.datetime(2025, 3, 25, 16, 43, 4), 'result': '0.08906134999649905', 'result_long': None, 'result_double': None}] Qualite : 0.08906134999649905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404733_25-03-2025_16_43_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404733_25-03-2025_16_43_07.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21405165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405176, 'pht': 3726}}" where mtr_portfolio_id = 21404733 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436920, 0.08906134999649905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404733_25-03-2025_16_43_07.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21405165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405176, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404734 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689928, 'mtr_portfolio_id': 21404734, 'created_at': datetime.datetime(2025, 3, 25, 16, 43, 36), 'result': '0.07820964437609373', 'result_long': None, 'result_double': None}] Qualite : 0.07820964437609373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404734 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404734_25-03-2025_16_43_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404734 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404734_25-03-2025_16_43_39.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405135, 'pht': 3726}}" where mtr_portfolio_id = 21404734 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404734 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436921, 0.07820964437609373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404734_25-03-2025_16_43_39.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405135, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404753 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689929, 'mtr_portfolio_id': 21404753, 'created_at': datetime.datetime(2025, 3, 25, 16, 44, 32), 'result': '0.08857646999530452', 'result_long': None, 'result_double': None}] Qualite : 0.08857646999530452 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404753_25-03-2025_16_44_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404753_25-03-2025_16_44_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405105, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405111, 'pht': 3726}}" where mtr_portfolio_id = 21404753 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404753 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436922, 0.08857646999530452, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404753_25-03-2025_16_44_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405105, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405111, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404754 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689930, 'mtr_portfolio_id': 21404754, 'created_at': datetime.datetime(2025, 3, 25, 16, 45), 'result': '0.08135547008220806', 'result_long': None, 'result_double': None}] Qualite : 0.08135547008220806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404754 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404754_25-03-2025_16_45_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404754 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404754_25-03-2025_16_45_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21405028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405039, 'pht': 3726}}" where mtr_portfolio_id = 21404754 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404754 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436923, 0.08135547008220806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404754_25-03-2025_16_45_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21405028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405039, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404755 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689931, 'mtr_portfolio_id': 21404755, 'created_at': datetime.datetime(2025, 3, 25, 16, 45, 34), 'result': '0.07906714539135758', 'result_long': None, 'result_double': None}] Qualite : 0.07906714539135758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404755_25-03-2025_16_45_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404755_25-03-2025_16_45_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405077, 'pht': 3726}}" where mtr_portfolio_id = 21404755 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404755 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436924, 0.07906714539135758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404755_25-03-2025_16_45_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405077, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404756 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689932, 'mtr_portfolio_id': 21404756, 'created_at': datetime.datetime(2025, 3, 25, 16, 46, 1), 'result': '0.06033215255059531', 'result_long': None, 'result_double': None}] Qualite : 0.06033215255059531 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404756 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404756_25-03-2025_16_46_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404756 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404756_25-03-2025_16_46_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405003, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405006, 'pht': 3726}}" where mtr_portfolio_id = 21404756 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404756 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436925, 0.06033215255059531, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404756_25-03-2025_16_46_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405003, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404757 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689933, 'mtr_portfolio_id': 21404757, 'created_at': datetime.datetime(2025, 3, 25, 16, 47, 7), 'result': '0.06878015341219737', 'result_long': None, 'result_double': None}] Qualite : 0.06878015341219737 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404757_25-03-2025_16_47_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404757 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404757_25-03-2025_16_47_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21404949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404960, 'pht': 3726}}" where mtr_portfolio_id = 21404757 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404757 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436926, 0.06878015341219737, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404757_25-03-2025_16_47_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21404949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404960, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404758 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689934, 'mtr_portfolio_id': 21404758, 'created_at': datetime.datetime(2025, 3, 25, 16, 47, 35), 'result': '0.07165858595711347', 'result_long': None, 'result_double': None}] Qualite : 0.07165858595711347 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404758_25-03-2025_16_47_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404758 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404758_25-03-2025_16_47_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404948, 'pht': 3726}}" where mtr_portfolio_id = 21404758 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404758 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436927, 0.07165858595711347, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404758_25-03-2025_16_47_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404948, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404759 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689935, 'mtr_portfolio_id': 21404759, 'created_at': datetime.datetime(2025, 3, 25, 16, 48, 27), 'result': '0.0664851629358161', 'result_long': None, 'result_double': None}] Qualite : 0.0664851629358161 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404759_25-03-2025_16_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404759 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404759_25-03-2025_16_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404844, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404847, 'pht': 3726}}" where mtr_portfolio_id = 21404759 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404759 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436928, 0.0664851629358161, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404759_25-03-2025_16_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404844, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404847, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404760 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689936, 'mtr_portfolio_id': 21404760, 'created_at': datetime.datetime(2025, 3, 25, 16, 48, 40), 'result': '0.08188478312088793', 'result_long': None, 'result_double': None}] Qualite : 0.08188478312088793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_25-03-2025_16_48_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_25-03-2025_16_48_42.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404888, 'pht': 3726}}" where mtr_portfolio_id = 21404760 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436929, 0.08188478312088793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_25-03-2025_16_48_42.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404888, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404761 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 = 21404761 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404761_14-03-2025_01_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404761_14-03-2025_01_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404823, 'pht': 3726}}" where mtr_portfolio_id = 21404761 and dashboard_run_id = 1675492 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404762 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 = 21404762 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 = 21404762 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404762 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 = 21404762 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 = 21404762 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404762_14-03-2025_05_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404762 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404762_14-03-2025_05_49_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404785, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404787, 'pht': 3726}}" where mtr_portfolio_id = 21404762 and dashboard_run_id = 1675492 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404763 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 = 21404763 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 = 21404763 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404763 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 = 21404763 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 = 21404763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404763_14-03-2025_05_49_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404763 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404763_14-03-2025_05_49_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404774, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404775, 'pht': 3726}}" where mtr_portfolio_id = 21404763 and dashboard_run_id = 1675492 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21377710 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667743, 'mtr_portfolio_id': 21377710, 'created_at': datetime.datetime(2025, 3, 14, 5, 50, 35), 'result': '0.07717703068651291', 'result_long': None, 'result_double': None}] Qualite : 0.07717703068651291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21377710 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21377710_14-03-2025_05_50_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21377710 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21377710_14-03-2025_05_50_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21377716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21377717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21377718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21377719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21377720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21377721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21377722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21377723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21377724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21377725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21377726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21377727, 'pht': 3726}}" where mtr_portfolio_id = 21377710 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21377710 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436933, 0.07717703068651291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21377710_14-03-2025_05_50_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21377716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21377717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21377718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21377719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21377720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21377721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21377722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21377723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21377724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21377725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21377726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21377727, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21383050 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667744, 'mtr_portfolio_id': 21383050, 'created_at': datetime.datetime(2025, 3, 14, 5, 50, 30), 'result': '0.10313259400869483', 'result_long': None, 'result_double': None}] Qualite : 0.10313259400869483 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21383050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_14-03-2025_05_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_14-03-2025_05_50_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21383078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21383079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21383080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21383081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21383082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21383083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21383084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21383085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21383086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21383087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21383088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21383089, 'pht': 3726}}" where mtr_portfolio_id = 21383050 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21383050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436934, 0.10313259400869483, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_14-03-2025_05_50_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21383078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21383079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21383080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21383081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21383082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21383083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21383084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21383085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21383086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21383087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21383088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21383089, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21384820 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667745, 'mtr_portfolio_id': 21384820, 'created_at': datetime.datetime(2025, 3, 14, 5, 51, 1), 'result': '0.07729490571505546', 'result_long': None, 'result_double': None}] Qualite : 0.07729490571505546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21384820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_14-03-2025_05_51_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21384820 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_14-03-2025_05_51_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21384897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21384898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21384899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21384900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21384901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21384902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21384903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21384904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21384905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21384906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21384907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21384908, 'pht': 3726}}" where mtr_portfolio_id = 21384820 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21384820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436935, 0.07729490571505546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_14-03-2025_05_51_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21384897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21384898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21384899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21384900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21384901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21384902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21384903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21384904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21384905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21384906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21384907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21384908, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21385552 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667746, 'mtr_portfolio_id': 21385552, 'created_at': datetime.datetime(2025, 3, 14, 5, 51, 32), 'result': '0.07450755416522704', 'result_long': None, 'result_double': None}] Qualite : 0.07450755416522704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21385552 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_14-03-2025_05_51_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385552 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_14-03-2025_05_51_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21385565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21385566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21385567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21385568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21385569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21385570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21385571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21385572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21385573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21385574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21385575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21385576, 'pht': 3726}}" where mtr_portfolio_id = 21385552 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21385552 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436936, 0.07450755416522704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_14-03-2025_05_51_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21385565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21385566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21385567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21385568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21385569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21385570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21385571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21385572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21385573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21385574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21385575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21385576, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21386481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667747, 'mtr_portfolio_id': 21386481, 'created_at': datetime.datetime(2025, 3, 14, 5, 52, 1), 'result': '0.06719627873538137', 'result_long': None, 'result_double': None}] Qualite : 0.06719627873538137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21386481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_14-03-2025_05_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21386481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_14-03-2025_05_52_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21386482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21386483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21386484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21386485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21386486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21386487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21386488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21386489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21386490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21386491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21386492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21386493, 'pht': 3726}}" where mtr_portfolio_id = 21386481 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21386481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436937, 0.06719627873538137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_14-03-2025_05_52_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21386482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21386483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21386484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21386485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21386486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21386487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21386488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21386489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21386490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21386491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21386492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21386493, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21388894 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667748, 'mtr_portfolio_id': 21388894, 'created_at': datetime.datetime(2025, 3, 14, 5, 52, 58), 'result': '0.13584063402328697', 'result_long': None, 'result_double': None}] Qualite : 0.13584063402328697 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21388894 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_14-03-2025_05_52_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21388894 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_14-03-2025_05_52_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21388895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21388896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21388902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21388904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21388905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388906, 'pht': 3726}}" where mtr_portfolio_id = 21388894 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21388894 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436938, 0.13584063402328697, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_14-03-2025_05_52_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21388895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21388896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21388902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21388904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21388905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388906, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21388973 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667749, 'mtr_portfolio_id': 21388973, 'created_at': datetime.datetime(2025, 3, 14, 5, 53, 34), 'result': '0.066937986252761', 'result_long': None, 'result_double': None}] Qualite : 0.066937986252761 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21388973 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_14-03-2025_05_53_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21388973 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_14-03-2025_05_53_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389004, 'pht': 3726}}" where mtr_portfolio_id = 21388973 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21388973 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436939, 0.066937986252761, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_14-03-2025_05_53_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389004, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21389291 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667750, 'mtr_portfolio_id': 21389291, 'created_at': datetime.datetime(2025, 3, 14, 5, 54, 1), 'result': '0.08831615658763825', 'result_long': None, 'result_double': None}] Qualite : 0.08831615658763825 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21389291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_14-03-2025_05_54_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21389291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_14-03-2025_05_54_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21389353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21389354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21389356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21389357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21389359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21389360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21389361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389364, 'pht': 3726}}" where mtr_portfolio_id = 21389291 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21389291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436940, 0.08831615658763825, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_14-03-2025_05_54_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21389353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21389354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21389356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21389357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21389359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21389360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21389361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389364, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21390308 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667751, 'mtr_portfolio_id': 21390308, 'created_at': datetime.datetime(2025, 3, 14, 5, 54, 32), 'result': '0.08809329692333749', 'result_long': None, 'result_double': None}] Qualite : 0.08809329692333749 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21390308 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_14-03-2025_05_54_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390308 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_14-03-2025_05_54_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21390351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21390352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21390353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21390354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21390355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21390356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21390357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21390358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21390359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21390360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21390361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21390362, 'pht': 3726}}" where mtr_portfolio_id = 21390308 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21390308 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436941, 0.08809329692333749, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_14-03-2025_05_54_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21390351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21390352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21390353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21390354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21390355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21390356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21390357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21390358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21390359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21390360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21390361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21390362, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21391251 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667752, 'mtr_portfolio_id': 21391251, 'created_at': datetime.datetime(2025, 3, 14, 5, 55, 32), 'result': '0.0772345938340998', 'result_long': None, 'result_double': None}] Qualite : 0.0772345938340998 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21391251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_14-03-2025_05_55_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21391251 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_14-03-2025_05_55_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21391270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21391271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21391272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21391273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21391274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21391275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21391276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21391277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21391278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21391279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21391280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21391281, 'pht': 3726}}" where mtr_portfolio_id = 21391251 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21391251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436942, 0.0772345938340998, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_14-03-2025_05_55_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21391270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21391271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21391272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21391273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21391274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21391275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21391276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21391277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21391278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21391279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21391280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21391281, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21392334 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667753, 'mtr_portfolio_id': 21392334, 'created_at': datetime.datetime(2025, 3, 14, 5, 56, 2), 'result': '0.08272570051398964', 'result_long': None, 'result_double': None}] Qualite : 0.08272570051398964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21392334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_14-03-2025_05_56_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392334 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_14-03-2025_05_56_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21392502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21392503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21392505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21392506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21392507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21392508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21392509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21392510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21392511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21392512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21392513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21392514, 'pht': 3726}}" where mtr_portfolio_id = 21392334 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21392334 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436943, 0.08272570051398964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_14-03-2025_05_56_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21392502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21392503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21392505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21392506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21392507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21392508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21392509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21392510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21392511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21392512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21392513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21392514, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21393678 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667754, 'mtr_portfolio_id': 21393678, 'created_at': datetime.datetime(2025, 3, 14, 5, 56, 30), 'result': '0.060117359082288775', 'result_long': None, 'result_double': None}] Qualite : 0.060117359082288775 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21393678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_14-03-2025_05_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21393678 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_14-03-2025_05_56_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21393697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21393698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21393699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21393700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21393701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21393702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21393703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21393704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21393705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21393706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21393707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21393708, 'pht': 3726}}" where mtr_portfolio_id = 21393678 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21393678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436944, 0.060117359082288775, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_14-03-2025_05_56_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21393697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21393698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21393699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21393700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21393701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21393702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21393703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21393704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21393705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21393706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21393707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21393708, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21394780 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667755, 'mtr_portfolio_id': 21394780, 'created_at': datetime.datetime(2025, 3, 14, 5, 57, 30), 'result': '0.07212307657360291', 'result_long': None, 'result_double': None}] Qualite : 0.07212307657360291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21394780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_14-03-2025_05_57_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21394780 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_14-03-2025_05_57_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21394831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21394832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21394833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21394834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21394835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21394836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21394837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21394838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21394839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21394840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21394841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21394842, 'pht': 3726}}" where mtr_portfolio_id = 21394780 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21394780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436945, 0.07212307657360291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_14-03-2025_05_57_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21394831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21394832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21394833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21394834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21394835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21394836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21394837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21394838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21394839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21394840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21394841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21394842, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21395431 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667756, 'mtr_portfolio_id': 21395431, 'created_at': datetime.datetime(2025, 3, 14, 5, 57, 59), 'result': '0.08026993254606227', 'result_long': None, 'result_double': None}] Qualite : 0.08026993254606227 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21395431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_14-03-2025_05_58_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21395431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_14-03-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21395437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21395438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21395439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21395440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21395441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21395442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21395443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21395444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21395445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21395446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21395447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21395448, 'pht': 3726}}" where mtr_portfolio_id = 21395431 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21395431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436946, 0.08026993254606227, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_14-03-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21395437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21395438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21395439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21395440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21395441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21395442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21395443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21395444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21395445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21395446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21395447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21395448, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21396174 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667757, 'mtr_portfolio_id': 21396174, 'created_at': datetime.datetime(2025, 3, 14, 5, 58, 30), 'result': '0.07843356862866235', 'result_long': None, 'result_double': None}] Qualite : 0.07843356862866235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21396174 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_14-03-2025_05_58_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21396174 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_14-03-2025_05_58_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21396181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21396182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21396184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21396185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21396187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21396188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21396189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21396190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21396192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21396193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21396194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21396195, 'pht': 3726}}" where mtr_portfolio_id = 21396174 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21396174 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436947, 0.07843356862866235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_14-03-2025_05_58_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21396181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21396182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21396184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21396185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21396187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21396188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21396189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21396190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21396192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21396193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21396194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21396195, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21397287 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667758, 'mtr_portfolio_id': 21397287, 'created_at': datetime.datetime(2025, 3, 14, 5, 58, 36), 'result': '0.07993695985806862', 'result_long': None, 'result_double': None}] Qualite : 0.07993695985806862 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21397287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_14-03-2025_05_58_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_14-03-2025_05_58_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21397291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21397292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21397293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21397294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21397295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21397296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21397297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21397298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21397299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21397300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21397301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21397302, 'pht': 3726}}" where mtr_portfolio_id = 21397287 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21397287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436948, 0.07993695985806862, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_14-03-2025_05_58_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21397291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21397292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21397293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21397294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21397295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21397296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21397297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21397298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21397299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21397300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21397301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21397302, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21398040 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667759, 'mtr_portfolio_id': 21398040, 'created_at': datetime.datetime(2025, 3, 14, 5, 59, 29), 'result': '0.09105159642696223', 'result_long': None, 'result_double': None}] Qualite : 0.09105159642696223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21398040 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_14-03-2025_05_59_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21398040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_14-03-2025_05_59_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21398121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21398122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21398123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21398124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21398125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21398126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21398127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21398128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21398129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21398130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21398131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21398133, 'pht': 3726}}" where mtr_portfolio_id = 21398040 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21398040 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436949, 0.09105159642696223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_14-03-2025_05_59_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21398121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21398122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21398123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21398124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21398125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21398126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21398127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21398128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21398129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21398130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21398131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21398133, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21400996 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667760, 'mtr_portfolio_id': 21400996, 'created_at': datetime.datetime(2025, 3, 14, 6, 0, 33), 'result': '0.14590659504488596', 'result_long': None, 'result_double': None}] Qualite : 0.14590659504488596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21400996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_14-03-2025_06_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_14-03-2025_06_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21400997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21400998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21400999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401008, 'pht': 3726}}" where mtr_portfolio_id = 21400996 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21400996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436950, 0.14590659504488596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_14-03-2025_06_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21400997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21400998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21400999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401008, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21401669 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667761, 'mtr_portfolio_id': 21401669, 'created_at': datetime.datetime(2025, 3, 14, 6, 0, 59), 'result': '0.10495362949316643', 'result_long': None, 'result_double': None}] Qualite : 0.10495362949316643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21401669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_14-03-2025_06_01_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21401669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_14-03-2025_06_01_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21401696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21401699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21401700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401705, 'pht': 3726}}" where mtr_portfolio_id = 21401669 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21401669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436951, 0.10495362949316643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_14-03-2025_06_01_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21401696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21401699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21401700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21402278 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667762, 'mtr_portfolio_id': 21402278, 'created_at': datetime.datetime(2025, 3, 14, 6, 1, 28), 'result': '0.12521998225209086', 'result_long': None, 'result_double': None}] Qualite : 0.12521998225209086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21402278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_14-03-2025_06_01_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21402278 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_14-03-2025_06_01_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21402279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21402280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21402281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21402282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21402283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21402284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21402285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21402286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21402287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21402288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21402289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21402290, 'pht': 3726}}" where mtr_portfolio_id = 21402278 and dashboard_run_id = 1675492 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21402278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9436952, 0.12521998225209086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_14-03-2025_06_01_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21402279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21402280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21402281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21402282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21402283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21402284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21402285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21402286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21402287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21402288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21402289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21402290, '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 (21372357,21372764,21373172,21373693,21374101,21374849,21375494,21376239,21376738,21404712,21404713,21404714,21404733,21404734,21404753,21404754,21404755,21404756,21404757,21404758,21404759,21404760,21404761,21404762,21404763,21377710,21383050,21384820,21385552,21386481,21388894,21388973,21389291,21390308,21391251,21392334,21393678,21394780,21395431,21396174,21397287,21398040,21400996,21401669,21402278) result : ((1343708816,), (1343708820,), (1343708824,), (1343708850,), (1343708853,), (1343708886,), (1343708889,), (1343708891,), (1343708894,), (1343708907,), (1343708921,), (1343708925,), (1343708931,), (1343708934,), (1343708935,), (1343708950,), (1343708956,), (1343708963,), (1343708968,), (1343708971,), (1343708972,), (1343708990,), (1343709000,), (1343709022,), (1343709031,), (1343709036,), (1343709037,), (1343709057,), (1343709062,), (1343709068,), (1343709073,), (1343709075,), (1343709077,), (1343709097,), (1343709103,), (1343709131,), (1343709137,), (1343709142,), (1343709147,), (1343709164,), (1343712361,), (1343712425,), (1343712430,), (1343712436,), (1343712457,), (1343712464,), (1343712466,), (1343712471,), (1343712475,), (1343712479,), (1343712495,), (1343712498,), (1343712501,), (1343712504,), (1343712529,), (1343712534,), (1343712537,), (1343712541,), (1343712544,), (1343712546,), (1343712570,), (1343712573,), (1343712576,), (1343712607,), (1343712611,), (1343712613,), (1343712645,), (1343712650,), (1343712654,), (1343712657,), (1343712685,), (1343712690,), (1343712695,), (1343712700,), (1343712704,), (1343712728,), (1343712732,), (1343712736,), (1343712739,), (1343712740,), (1343712741,), (1343712771,), (1343712774,), (1343712778,), (1343712780,), (1343712782,), (1343712785,), (1343712816,), (1343712820,), (1343712825,), (1343712829,), (1343712831,), (1343712832,), (1343712854,), (1343712859,), (1343712863,), (1343712868,), (1343712869,), (1343712870,), (1343712892,), (1343712897,), (1343712902,), (1343712906,), (1343712907,), (1343712908,), (1343712930,), (1343712936,), (1343712941,), (1343712946,), (1343712947,), (1343712948,), (1343712972,), (1343712976,), (1343712980,), (1343712985,), (1343712989,), (1343713031,), (1343713007,), (1343713013,), (1343713017,), (1343713025,), (1343713029,), (1343713058,), (1343713062,), (1343713069,), (1343713071,), (1343713074,), (1343713077,), (1343713094,), (1343713100,), (1343713105,), (1343713112,), (1343713116,), (1343713117,), (1343713141,), (1343713146,), (1343713152,), (1343713155,), (1343713157,), (1343713161,), (1343713183,), (1343713190,), (1343713194,), (1343713196,), (1343713200,), (1343713205,), (1343713227,), (1343713231,), (1343713235,), (1343713238,), (1343713239,), (1343713241,), (1343713262,), (1343713264,), (1343713268,), (1343713272,), (1343713278,), (1343713284,), (1343713304,), (1343713309,), (1343713313,), (1343713318,), (1343713320,), (1343713344,), (1343713377,), (1343713381,), (1343713384,), (1343713386,), (1343713389,), (1343713420,), (1343713422,), (1343713425,), (1343713427,), (1343713432,), (1343713436,), (1343713513,), (1343713540,), (1343713556,), (1343713569,), (1343713590,), (1343713605,), (1343713688,), (1343713691,), (1343713694,), (1343713696,), (1343713697,), (1343713698,), (1343714266,), (1343714303,), (1343714335,), (1343714398,), (1343714433,), (1343714482,), (1343714954,), (1343714858,), (1343714896,), (1343714916,), (1343714931,), (1343715142,), (1343715174,), (1343715195,), (1343715207,), (1343715248,), (1343715273,), (1343715434,), (1343715444,), (1343715467,), (1343715483,), (1343715488,), (1343715506,), (1343715591,), (1343715595,), (1343715599,), (1343715602,), (1343715605,), (1343715606,), (1343715655,), (1343715658,), (1343715662,), (1343715663,), (1343715665,), (1343715667,), (1343715710,), (1343715713,), (1343715715,), (1343715717,), (1343715718,), (1343715719,), (1343715780,), (1343715785,), (1343715789,), (1343715793,), (1343715818,), (1343715844,), (1343715950,), (1343715955,), (1343715959,), (1343715961,), (1343715964,), (1343715968,), (1343716032,), (1343716041,), (1343716048,), (1343716064,), (1343716073,), (1343716080,), (1343716093,), (1343716095,), (1343716097,), (1343716102,), (1343716110,), (1343716121,), (1343716163,), (1343716170,), (1343716172,), (1343716179,), (1343716186,), (1343716192,), (1343716199,), (1343716240,), (1343716246,), (1343716253,), (1343716255,), (1343716261,), (1343716266,), (1343716293,), (1343716299,), (1343716331,), (1343716333,), (1343716337,), (1343716341,), (1343716352,), (1343716354,), (1343716363,), (1343716370,), (1343716376,), (1343716382,), (1343716430,), (1343716434,), (1343716447,), (1343716450,), (1343716463,), (1343716469,), (1343716145,), (1343716153,), (1343716156,), (1343716158,), (1343716160,), (1343716211,), (1343716213,), (1343716216,), (1343716219,), (1343716221,), (1343716223,), (1343716273,), (1343716282,), (1343716285,), (1343716288,), (1343716324,), (1343716330,), (1343716391,), (1343716411,), (1343716420,), (1343716426,), (1343716491,), (1343716493,), (1343716501,), (1343716505,), (1343716507,), (1343716509,), (1343716512,), (1343716513,), (1343716518,), (1343716519,), (1343716522,), (1343716524,), (1343716539,), (1343716545,), (1343716558,), (1343716579,), (1343716598,), (1343716613,), (1343716741,), (1343716746,), (1343716751,), (1343716771,), (1343716814,), (1343716849,), (1343716965,), (1343716972,), (1343716978,), (1343716984,), (1343716986,), (1343716991,), (1343717041,), (1343717049,), (1343717057,), (1343717063,), (1343717066,), (1343717225,), (1343717255,), (1343717272,), (1343717277,), (1343717280,), (1343717283,), (1343717319,), (1343717324,), (1343717329,), (1343717334,), (1343717336,), (1343717339,), (1343717394,), (1343717398,), (1343717401,), (1343717405,), (1343717408,), (1343717414,), (1343717469,), (1343717494,), (1343717516,), (1343717534,), (1343717553,), (1343717571,), (1343717774,), (1343717789,), (1343717801,), (1343717805,), (1343717809,), (1343717820,), (1343717890,), (1343717863,), (1343717870,), (1343717876,), (1343717880,), (1343717884,), (1343717956,), (1343717963,), (1343717970,), (1343717977,), (1343717978,), (1343717987,), (1343718018,), (1343718041,), (1343718050,), (1343718054,), (1343718056,), (1343718060,), (1343718201,), (1343718228,), (1343718247,), (1343718253,), (1343718271,), (1343718458,), (1343718510,), (1343718555,), (1343718585,), (1343718611,), (1343718635,), (1343718743,), (1343718750,), (1343718757,), (1343718800,), (1343718819,), (1343718826,), (1343719005,), (1343719210,), (1343719220,), (1343719226,), (1343719272,), (1343719294,), (1343719321,), (1343719345,), (1343719369,), (1343719404,), (1343719429,), (1343719555,), (1343719564,), (1343719569,), (1343719574,), (1343719619,), (1343719672,), (1343719757,), (1343719763,), (1343719767,), (1343719771,), (1343719829,), (1343719835,), (1343719840,), (1343719843,), (1343719844,), (1343719847,), (1343720088,), (1343719924,), (1343720006,), (1343720043,), (1343720066,), (1343720074,), (1343720168,), (1343720174,), (1343720180,), (1343720183,), (1343720185,), (1343720186,), (1343720216,), (1343720222,), (1343720226,), (1343720229,), (1343720230,), (1343720233,), (1343720364,), (1343720421,), (1343720438,), (1343720444,), (1343720453,), (1343720464,), (1343720502,), (1343720508,), (1343720513,), (1343720520,), (1343720522,), (1343720555,), (1343720562,), (1343720567,), (1343720571,), (1343720605,), (1343720611,), (1343720616,), (1343720625,), (1343720626,), (1343720628,), (1343720665,), (1343720670,), (1343720673,), (1343720679,), (1343720682,), (1343720687,), (1343720713,), (1343720718,), (1343720723,), (1343720761,), (1343720768,), (1343720774,), (1343720804,), (1343720808,), (1343720813,), (1343720818,), (1343720858,), (1343720863,), (1343720871,), (1343720873,), (1343720903,), (1343720912,), (1343720916,), (1343720920,), (1343721264,), (1343721289,), (1343721315,), (1343721423,), (1343721798,), (1343722466,), (1343722497,), (1343722526,), (1343722560,), (1343722947,), (1343723003,), (1343723042,), (1343723099,), (1343723352,), (1343723382,), (1343723411,), (1343723418,), (1343723422,), (1343723439,), (1343723582,), (1343723590,), (1343723631,), (1343723653,), (1343723671,), (1343723685,), (1343723757,), (1343723762,), (1343723768,), (1343723772,), (1343723776,), (1343723825,), (1343723951,), (1343724782,), (1343724833,), (1343724838,), (1343724844,), (1343724850,), (1343724853,), (1343724857,), (1343724878,), (1343724882,), (1343724889,), (1343724894,), (1343724901,), (1343724923,), (1343725205,), (1343725267,), (1343725308,), (1343725325,), (1343725369,), (1343725390,), (1343726021,), (1343726121,), (1343726159,), (1343726167,), (1343726181,), (1343726199,), (1343726242,), (1343726250,), (1343726254,), (1343726259,), (1343726275,), (1343726285,), (1343726479,), (1343726362,), (1343726387,), (1343726415,), (1343726429,), (1343726474,), (1343726559,), (1343726563,), (1343726568,), (1343726571,), (1343726576,), (1343726580,), (1343726666,), (1343726670,), (1343726678,), (1343726691,), (1343726693,), (1343726696,), (1343726725,), (1343726736,), (1343726774,), (1343726798,), (1343726802,), (1343726806,), (1343726945,), (1343726953,), (1343726977,), (1343726979,), (1343726980,), (1343727010,), (1343727015,), (1343727020,), (1343727024,), (1343727031,), (1343727037,), (1343727062,), (1343727069,), (1343727072,), (1343727079,), (1343727082,), (1343727086,), (1343727116,), (1343727128,), (1343727131,), (1343727133,), (1343727135,), (1343727138,), (1343727168,), (1343727172,), (1343727177,), (1343727918,), (1343728240,), (1343746263,), (1343746514,), (1343746520,), (1343746717,), (1343746724,), (1343746759,), (1343746766,), (1343746881,), (1343800286,), (1343800610,), (1343801463,), (1343801528,), (1343802006,), (1343802071,), (1343802285,), (1343802299,), (1343809216,), (1343822564,), (1343823151,), (1343823179,), (1343825089,), (1343825652,), (1343826049,), (1343826080,), (1343826102,), (1343826415,), (1343826445,), (1343826476,), (1343827207,), (1343827281,), (1343827407,), (1343827474,), (1343827523,), (1343827610,), (1343827737,), (1343827764,), (1343827988,), (1343828017,), (1343828053,), (1343828081,), (1343828108,), (1343828622,), (1343828632,), (1343828654,), (1343828673,), (1343828956,), (1343828991,), (1343829069,), (1343829122,), (1343829158,), (1343829364,), (1343829392,), (1343829418,), (1343829826,), (1343829752,), (1343829786,), (1343829808,), (1343830432,), (1343830445,), (1343830475,), (1343830541,), (1343830579,), (1343830830,), (1343830871,), (1343830895,), (1343830913,), (1343830935,), (1343830980,), (1343831231,), (1343831248,), (1343831259,), (1343831261,), (1343831411,), (1343831444,), (1343831480,), (1343831510,), (1343831532,), (1343831543,), (1343831684,), (1343831784,), (1343831826,), (1343831852,), (1343831878,), (1343832113,), (1343832131,), (1343832135,), (1343832137,), (1343832150,), (1343832235,), (1343832237,), (1343832242,), (1343832274,), (1343832359,), (1343832428,), (1343832433,), (1343832438,), (1343832441,), (1343832530,), (1343832556,), (1343832590,), (1343832616,), (1343833009,), (1343833061,), (1343833126,), (1343833161,), (1343833603,), (1343833606,), (1343833611,), (1343833617,), (1343834022,), (1343834083,), (1343834159,), (1343834223,), (1343834274,), (1343834525,), (1343834528,), (1343834531,), (1343834604,), (1343834618,), (1343834625,), (1343834807,), (1343834876,), (1343835878,), (1343835501,), (1343835549,), (1343835630,), (1343835720,), (1343835813,), (1343836389,), (1343836416,), (1343836435,), (1343836437,), (1343836481,), (1343836529,), (1343836741,), (1343836763,), (1343836784,), (1343836837,), (1343837581,), (1343837660,), (1343837733,), (1343837845,), (1343837913,), (1343838392,), (1343838438,), (1343838470,), (1343838509,), (1343838543,), (1343838842,), (1343838899,), (1343838977,), (1343839018,), (1343839074,), (1343839763,), (1343839828,), (1343839864,), (1343839923,), (1343839951,), (1343840196,), (1343840219,), (1343840255,), (1343840299,), (1343840830,), (1343840885,), (1343840931,), (1343840958,), (1343840981,), (1343841222,), (1343841224,), (1343841234,), (1343841243,), (1343841426,), (1343841447,), (1343841475,), (1343841537,), (1343841558,), (1343841672,), (1343841704,), (1343841733,), (1343841772,), (1343842432,), (1343842472,), (1343842502,), (1343842958,), (1343843010,), (1343843092,), (1343843145,), (1343843192,), (1343843640,), (1343843663,), (1343843673,), (1343843677,), (1343843878,), (1343843853,), (1343843859,), (1343843873,), (1343844049,), (1343844055,), (1343844061,), (1343844066,), (1343862735,), (1343864844,), (1343864893,), (1343865562,), (1343865612,), (1343865640,), (1343865995,), (1343866062,), (1343866132,), (1343866189,), (1343866284,), (1343866841,), (1343866926,), (1343866976,), (1343867086,), (1343867157,), (1343867765,), (1343867823,), (1343867865,), (1343868316,), (1343868078,), (1343868106,), (1343868166,), (1343868192,), (1343868417,), (1343868468,), (1343868496,), (1343868531,), (1343868556,), (1343868623,), (1343868807,), (1343868938,), (1343869033,), (1343869120,), (1343869570,), (1343869734,), (1343870437,), (1343870504,), (1343870979,), (1343871038,), (1343871078,), (1343871111,), (1343871899,), (1343871947,), (1343871990,), (1343872051,), (1343872146,), (1343872359,), (1343872435,), (1343872597,), (1343873602,), (1343873655,), (1343874190,), (1343874272,), (1343874294,), (1343874339,), (1343874482,), (1343874620,), (1343874664,), (1343874708,), (1343875028,), (1343875079,), (1343875127,), (1343875192,), (1343875248,), (1343875423,), (1343875445,), (1343875498,), (1343875548,), (1343875877,), (1343875911,), (1343875956,), (1343876017,), (1343876646,), (1343876707,), (1343876784,), (1343877714,), (1343877534,), (1343877586,), (1343877670,), (1343878072,), (1343878077,), (1343878081,), (1343878083,), (1343878431,), (1343878475,), (1343878502,), (1343878550,), (1343878600,), (1343878643,), (1343878980,), (1343879010,), (1343879036,), (1343879071,), (1343879087,), (1343879600,), (1343879653,), (1343879721,), (1343879772,), (1343879794,), (1343880391,), (1343880597,), (1343880741,), (1343881030,), (1343881137,), (1343881167,), (1343881193,), (1343881256,), (1343881282,), (1343881759,), (1343881811,), (1343881869,), (1343881926,), (1343882087,), (1343882340,), (1343882375,), (1343882402,), (1343882644,), (1343883159,), (1343883200,), (1343883239,), (1343883256,), (1343883263,), (1343883265,), (1343883301,), (1343883307,), (1343883330,), (1343883361,), (1343883408,), (1343883434,), (1343883752,), (1343883823,), (1343883833,), (1343883834,), (1343883996,), (1343884279,), (1343884310,), (1343884404,), (1343885465,), (1343885494,), (1343885520,), (1343885553,), (1343885574,), (1343885666,), (1343885738,), (1343885994,), (1343886750,), (1343886320,), (1343886461,), (1343886622,), (1343887307,), (1343887343,), (1343887368,), (1343887394,), (1343887399,), (1343887403,), (1343887806,), (1343887929,), (1343887976,), (1343888017,), (1343888056,), (1343888082,), (1343888617,), (1343888695,), (1343888771,), (1343889826,), (1343889911,), (1343890024,), (1343890187,), (1343890279,), (1343890419,), (1343890924,), (1343890979,), (1343891023,), (1343891128,), (1343891208,), (1343891294,), (1343891784,), (1343891978,), (1343892022,), (1343892079,), (1343892385,), (1343892454,), (1343892525,), (1343892572,), (1343892617,), (1343893335,), (1343893379,), (1343893452,), (1343893487,), (1343894007,), (1343894120,), (1343894160,), (1343894249,), (1343894322,), (1343894639,), (1343894669,), (1343894722,), (1343894780,), (1343895160,), (1343895185,), (1343895199,), (1343895303,), (1343895398,), (1343895464,), (1343895725,), (1343895841,), (1343895902,), (1343895994,), (1343896064,), (1343896691,), (1343896812,), (1343896901,), (1343897508,), (1343897553,), (1343897686,), (1343897797,), (1343897856,), (1343897919,), (1343898170,), (1343898131,), (1343898138,), (1343898143,), (1343898154,), (1343898507,), (1343898532,), (1343898603,), (1343898632,), (1343898634,), (1343899055,), (1343899075,), (1343899081,), (1343899127,), (1343899671,), (1343899702,), (1343899724,), (1343899781,), (1343899869,), (1343900145,), (1343900168,), (1343900198,), (1343900230,), (1343900557,), (1343900583,), (1343900611,), (1343900664,), (1343900725,), (1343900771,), (1343901221,), (1343901281,), (1343901305,), (1343901411,), (1343901449,), (1343901473,), (1343901748,), (1343901842,), (1343901994,), (1343906530,), (1343906474,), (1343906478,), (1343906918,), (1343906974,), (1343907137,), (1343907232,), (1343907239,), (1343907334,), (1343907742,), (1343907807,), (1343907875,), (1343908106,), (1343908510,), (1343908576,), (1343908641,), (1343909555,), (1343911126,), (1343911256,), (1343920812,), (1343920786,), (1343921088,), (1343922333,), (1343922583,), (1343922594,), (1343922607,), (1343922611,), (1343922809,), (1343923199,), (1343923224,), (1343923248,), (1343923754,), (1343923794,), (1343923825,), (1343924210,), (1343924236,), (1343924845,), (1343925029,), (1343925120,), (1343925160,), (1343925209,), (1343925660,), (1343925697,), (1343925761,), (1343925796,), (1343925815,), (1343926174,), (1343926203,), (1343926232,), (1343926246,), (1343926249,), (1343926251,), (1343926330,), (1343926356,), (1343926380,), (1343926409,), (1343926699,), (1343926739,), (1343926770,), (1343926806,), (1343926831,), (1343927450,), (1343927221,), (1343927280,), (1343927408,), (1343928086,), (1343928312,), (1343928392,), (1343928594,), (1343928685,), (1343929419,), (1343929452,), (1343929580,), (1343929906,), (1343929918,), (1343929922,), (1343929925,), (1343929943,), (1343929958,), (1343930114,), (1343930182,), (1343930186,), (1343930199,), (1343930281,), (1343930309,), (1343930719,), (1343930730,), (1343930737,), (1343930755,), (1343930756,), (1343930758,), (1343930843,), (1343930851,), (1343930882,), (1343930984,), (1343930989,), (1343930994,), (1343930998,), (1343931001,), (1343931371,), (1343931408,), (1343931433,), (1343931477,), (1343931519,), (1343931577,), (1343931900,), (1343931912,), (1343931918,), (1343932085,), (1343932110,), (1343932171,), (1343932196,), (1343932508,), (1343932518,), (1343932538,), (1343932578,), (1343932640,), (1343932839,), (1343932864,), (1343932929,), (1343932977,), (1343933179,), (1343933273,), (1343933300,), (1343933554,), (1343933575,), (1343933605,), (1343933635,), (1343933654,), (1343933674,), (1343933940,), (1343933867,), (1343933897,), (1343933912,), (1343934174,), (1343934212,), (1343934286,), (1343934328,), (1343934348,), (1343934451,), (1343934548,), (1343934645,), (1343934823,), (1343934991,), (1343935082,), (1343935110,), (1343935276,), (1343935338,), (1343935398,), (1343935507,), (1343935569,), (1343935620,), (1343935822,), (1343935869,), (1343935919,), (1343935990,), (1343936066,), (1343936110,), (1343936396,), (1343936453,), (1343936564,), (1343936843,), (1343936926,), (1343936990,), (1343937227,), (1343937327,), (1343937399,), (1343937430,), (1343937497,), (1343937594,), (1343937726,), (1343937752,), (1343937763,), (1343938078,), (1343938103,), (1343938135,), (1343938164,), (1343938183,), (1343938512,), (1343938525,), (1343938535,), (1343938544,), (1343938563,), (1343938982,), (1343939061,), (1343939127,), (1343939901,), (1343939968,), (1343940044,), (1343940103,), (1343940179,), (1343940782,), (1343940861,), (1343940916,), (1343940977,), (1343941039,), (1343941544,), (1343941616,), (1343941666,), (1343941673,), (1343941716,), (1343942012,), (1343942053,), (1343942093,), (1343942682,), (1343942719,), (1343942746,), (1343942804,), (1343942886,), (1343943872,), (1343943485,), (1343943581,), (1343943640,), (1343943728,), (1343943777,), (1343944365,), (1343944431,), (1343944512,), (1343944599,), (1343945086,), (1343945131,), (1343945167,), (1343945205,), (1343945472,), (1343945475,), (1343945488,), (1343945510,), (1343946107,), (1343946192,), (1343946257,), (1343946335,), (1343946403,), (1343946453,), (1343946773,), (1343946794,), (1343946820,), (1343946834,), (1343946858,), (1343947014,), (1343947038,), (1343947060,), (1343947091,), (1343947461,), (1343947496,), (1343947540,), (1343947593,), (1343947953,), (1343947973,), (1343947983,), (1343948008,), (1343948052,), (1343948069,), (1343948175,), (1343948179,), (1343948183,), (1343948186,), (1343948187,), (1343948297,), (1343948312,), (1343948345,), (1343948775,), (1343948799,), (1343948826,), (1343948865,), (1343948911,), (1343949098,), (1343949118,), (1343950120,), (1343950155,), (1343950245,), (1343950315,), (1343950330,), (1343950479,), (1343950487,), (1343950491,), (1343950511,), (1343950532,), (1343950552,), (1343950548,), (1343950666,), (1343950670,), (1343950674,), (1343950694,), (1343950765,), (1343950782,), (1343950786,), (1343951054,), (1343951083,), (1343951134,), (1343951193,), (1343951279,), (1343951844,), (1343951897,), (1343951968,), (1343952688,), (1343952740,), (1343952798,), (1343952859,), (1343952901,), (1343953136,), (1343953165,), (1343953211,), (1343953265,), (1343953723,), (1343953821,), (1343953839,), (1343953972,), (1343954502,), (1343954519,), (1343954524,), (1343954548,), (1343954823,), (1343954826,), (1343954830,), (1343954862,), (1343955042,), (1343955066,), (1343956961,), (1343973062,), (1343973649,), (1343975502,), (1343975959,), (1343975971,), (1343976608,), (1343977489,), (1343977516,), (1343978083,), (1343978108,), (1343978500,), (1343978463,), (1343979604,), (1343980005,), (1343980008,), (1343981517,), (1343981743,), (1343981819,), (1343983376,), (1343984392,), (1343984586,), (1343984795,), (1343984974,), (1343985559,), (1343986222,), (1343989841,), (1343989892,), (1343992400,), (1343992950,), (1343993519,), (1343728198,), (1343728210,), (1343728229,), (1343728234,), (1343728238,), (1343728265,), (1343728271,), (1343728276,), (1343728281,), (1343728284,), (1343728286,), (1343728359,), (1343728364,), (1343728369,), (1343728373,), (1343728427,), (1343728455,), (1343728594,), (1343728603,), (1343728617,), (1343728631,), (1343728634,), (1343728635,), (1343728678,), (1343728683,), (1343728689,), (1343728694,), (1343728697,), (1343728699,), (1343728725,), (1343728730,), (1343728735,), (1343728739,), (1343728741,), (1343728771,), (1343728778,), (1343728786,), (1343728792,), (1343728799,), (1343728883,), (1343728898,), (1343728984,), (1343728986,), (1343729091,), (1343729103,), (1343729268,), (1343729273,), (1343729349,), (1343729386,), (1343729427,), (1343729433,), (1343729439,), (1343729444,), (1343729449,), (1343729473,), (1343729478,), (1343729488,), (1343729493,), (1343729497,), (1343729499,), (1343729542,), (1343729519,), (1343729525,), (1343729531,), (1343729536,), (1343729540,), (1343729705,), (1343729711,), (1343729716,), (1343729720,), (1343729723,), (1343729726,), (1343729752,), (1343729758,), (1343729762,), (1343729767,), (1343729771,), (1343729774,), (1343729803,), (1343729810,), (1343729815,), (1343729818,), (1343729821,), (1343729825,), (1343729838,), (1343729855,), (1343729860,), (1343729863,), (1343729867,), (1343729870,), (1343729892,), (1343729895,), (1343729901,), (1343729906,), (1343729910,), (1343729915,), (1343729946,), (1343729953,), (1343729956,), (1343729960,), (1343729965,), (1343729971,), (1343729994,), (1343730004,), (1343730011,), (1343730017,), (1343730021,), (1343730025,), (1343730043,), (1343730048,), (1343730052,), (1343730056,), (1343730062,), (1343730069,), (1343730093,), (1343730097,), (1343730101,), (1343730104,), (1343730108,), (1343730115,), (1343730139,), (1343730142,), (1343730145,), (1343730146,), (1343730149,), (1343730155,), (1343730184,), (1343730186,), (1343730189,), (1343730190,), (1343730194,), (1343730198,), (1343730233,), (1343730236,), (1343730239,), (1343730242,), (1343730244,), (1343730310,), (1343730314,), (1343730316,), (1343730320,), (1343730322,), (1343730325,), (1343730364,), (1343731749,), (1343731752,), (1343731756,), (1343731790,), (1343731794,), (1343731798,), (1343731801,), (1343731838,), (1343731842,), (1343731845,), (1343731847,), (1343731879,), (1343731922,), (1343731928,), (1343731934,), (1343731979,), (1343731983,), (1343732023,), (1343732027,), (1343732031,), (1343732034,), (1343732073,), (1343732077,), (1343732080,), (1343732082,), (1343732118,), (1343732121,), (1343732123,), (1343732125,), (1343732126,), (1343732127,), (1343732164,), (1343732168,), (1343732171,), (1343732214,), (1343732217,), (1343732221,), (1343732224,), (1343732225,), (1343732272,), (1343732262,), (1343732265,), (1343732268,), (1343732271,), (1343732309,), (1343732314,), (1343732318,), (1343732321,), (1343732355,), (1343732358,), (1343732361,), (1343732399,), (1343732402,), (1343732406,), (1343732409,), (1343732410,), (1343732450,), (1343732454,), (1343732458,), (1343732460,), (1343732462,), (1343732463,), (1343732497,), (1343732500,), (1343732504,), (1343732540,), (1343732543,), (1343732547,), (1343732551,), (1343732554,), (1343732591,), (1343732596,), (1343732600,), (1343732603,), (1343732636,), (1343732640,), (1343732643,), (1343732646,), (1343732691,), (1343732695,), (1343732733,), (1343732737,), (1343732740,), (1343732743,), (1343732744,), (1343732746,), (1343732780,), (1343732785,), (1343732790,), (1343732795,), (1343732798,), (1343732834,), (1343732840,), (1343732845,), (1343732848,), (1343732914,), (1343732917,), (1343732920,), (1343732923,), (1343732926,), (1343732928,), (1343732942,), (1343732946,), (1343732951,), (1343732958,), (1343732966,), (1343732989,), (1343732981,), (1343732986,), (1343732988,), (1343733028,), (1343733031,), (1343733034,), (1343733037,), (1343733040,), (1343733081,), (1343733087,), (1343733091,), (1343733093,), (1343733095,), (1343733099,), (1343733131,), (1343733137,), (1343733142,), (1343733187,), (1343733193,), (1343733198,), (1343733201,), (1343733204,), (1343733207,), (1343733245,), (1343733249,), (1343733253,), (1343733255,), (1343733256,), (1343733260,), (1343733305,), (1343733310,), (1343733314,), (1343733317,), (1343733362,), (1343733365,), (1343733371,), (1343733375,), (1343733378,), (1343733381,), (1343733423,), (1343733428,), (1343733433,), (1343733437,), (1343733439,), (1343733485,), (1343733490,), (1343733495,), (1343733539,), (1343733544,), (1343733550,), (1343733556,), (1343733586,), (1343733591,), (1343733598,), (1343733603,), (1343733606,), (1343733636,), (1343733641,), (1343733648,), (1343733653,), (1343733657,), (1343733688,), (1343733698,), (1343733703,), (1343733706,), (1343733709,), (1343733740,), (1343733746,), (1343733752,), (1343733758,), (1343733762,), (1343733813,), (1343733794,), (1343733799,), (1343733805,), (1343733809,), (1343733846,), (1343733850,), (1343733856,), (1343733861,), (1343733863,), (1343733867,), (1343733896,), (1343733901,), (1343733907,), (1343733914,), (1343733949,), (1343733956,), (1343733962,), (1343733967,), (1343733969,), (1343734014,), (1343734020,), (1343734024,), (1343734029,), (1343734031,), (1343734032,), (1343734066,), (1343734072,), (1343734078,), (1343734113,), (1343734134,), (1343734137,), (1343734139,), (1343734172,), (1343734178,), (1343734184,), (1343734188,), (1343734191,), (1343734194,), (1343734230,), (1343734234,), (1343734238,), (1343734242,), (1343734243,), (1343734296,), (1343734302,), (1343734306,), (1343734309,), (1343734313,), (1343734350,), (1343734355,), (1343734359,), (1343734363,), (1343734364,), (1343734366,), (1343734404,), (1343734409,), (1343734415,), (1343734420,), (1343734422,), (1343734456,), (1343734462,), (1343734470,), (1343734508,), (1343734514,), (1343734521,), (1343734525,), (1343734566,), (1343734570,), (1343734577,), (1343734583,), (1343734585,), (1343734587,), (1343734642,), (1343734616,), (1343734632,), (1343734637,), (1343734639,), (1343734671,), (1343734675,), (1343734681,), (1343734688,), (1343734721,), (1343734726,), (1343734731,), (1343734738,), (1343734740,), (1343734772,), (1343734778,), (1343734783,), (1343734789,), (1343734791,), (1343734827,), (1343734833,), (1343734839,), (1343734845,), (1343734876,), (1343734881,), (1343734889,), (1343734894,), (1343734929,), (1343734936,), (1343734942,), (1343734946,), (1343734950,), (1343734987,), (1343734992,), (1343734998,), (1343735000,), (1343735032,), (1343735040,), (1343735081,), (1343735099,), (1343735104,), (1343735105,), (1343735108,), (1343735148,), (1343735154,), (1343735160,), (1343735163,), (1343735195,), (1343735201,), (1343735206,), (1343735212,), (1343735215,), (1343735217,), (1343735248,), (1343735254,), (1343735260,), (1343735305,), (1343735312,), (1343735318,), (1343735323,), (1343735325,), (1343735329,), (1343735363,), (1343735369,), (1343735374,), (1343735428,), (1343735416,), (1343735422,), (1343735477,), (1343735483,), (1343735488,), (1343735493,), (1343735532,), (1343735538,), (1343735546,), (1343735549,), (1343735578,), (1343735596,), (1343735601,), (1343735604,), (1343735608,), (1343735613,), (1343735651,), (1343735658,), (1343735663,), (1343735705,), (1343735709,), (1343735715,), (1343735720,), (1343735721,), (1343735722,), (1343735761,), (1343735767,), (1343735772,), (1343735777,), (1343735779,), (1343735817,), (1343735825,), (1343735829,), (1343735832,), (1343735869,), (1343735873,), (1343735878,), (1343735880,), (1343735883,), (1343735884,), (1343735932,), (1343735935,), (1343735940,), (1343735980,), (1343735984,), (1343735989,), (1343736033,), (1343736037,), (1343736041,), (1343736044,), (1343736045,), (1343736048,), (1343736085,), (1343736088,), (1343736092,), (1343736096,), (1343736097,), (1343736100,), (1343736171,), (1343736173,), (1343736178,), (1343736183,), (1343736188,), (1343736203,), (1343736205,), (1343736249,), (1343736242,), (1343736246,), (1343736293,), (1343736296,), (1343736298,), (1343736300,), (1343736301,), (1343736339,), (1343736342,), (1343736344,), (1343736346,), (1343736347,), (1343736384,), (1343736387,), (1343736391,), (1343736430,), (1343736433,), (1343736437,), (1343736440,), (1343736443,), (1343736477,), (1343736481,), (1343736484,), (1343736489,), (1343736528,), (1343736535,), (1343736539,), (1343736576,), (1343736581,), (1343736584,), (1343736587,), (1343736592,), (1343736626,), (1343736630,), (1343736633,), (1343736635,), (1343736718,), (1343736722,), (1343736766,), (1343736772,), (1343736776,), (1343736778,), (1343736780,), (1343736785,), (1343736815,), (1343736819,), (1343736857,), (1343736859,), (1343736864,), (1343736870,), (1343736876,), (1343736917,), (1343736920,), (1343736925,), (1343736928,), (1343736980,), (1343736956,), (1343736966,), (1343736971,), (1343736975,), (1343737010,), (1343737015,), (1343737049,), (1343737055,), (1343737090,), (1343737096,), (1343737103,), (1343737108,), (1343737117,), (1343737124,), (1343737143,), (1343737150,), (1343737153,), (1343737161,), (1343737165,), (1343737172,), (1343737205,), (1343737211,), (1343737214,), (1343737218,), (1343737226,), (1343737258,), (1343737264,), (1343737267,), (1343737270,), (1343737273,), (1343737276,), (1343737314,), (1343737319,), (1343737325,), (1343737366,), (1343737370,), (1343737376,), (1343737413,), (1343737419,), (1343737427,), (1343737429,), (1343737465,), (1343737470,), (1343737475,), (1343737478,), (1343737479,), (1343737511,), (1343737515,), (1343737521,), (1343737550,), (1343737556,), (1343737602,), (1343737607,), (1343737613,), (1343737616,), (1343737621,), (1343737644,), (1343737648,), (1343737655,), (1343737660,), (1343737667,), (1343737718,), (1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,), (1343738369,), (1343738375,), (1343738380,), (1343738387,), (1343738417,), (1343738424,), (1343738431,), (1343738464,), (1343738470,), (1343738476,), (1343738483,), (1343738508,), (1343738513,), (1343738519,), (1343738553,), (1343738560,), (1343738567,), (1343738610,), (1343738616,), (1343738621,), (1343738625,), (1343738656,), (1343738663,), (1343738669,), (1343738674,), (1343738678,), (1343738706,), (1343738714,), (1343738720,), (1343738727,), (1343738729,), (1343738760,), (1343738767,), (1343738774,), (1343738780,), (1343738812,), (1343738818,), (1343738822,), (1343738827,), (1343738861,), (1343738865,), (1343738874,), (1343738876,), (1343738879,), (1343738883,), (1343738916,), (1343738919,), (1343738922,), (1343738961,), (1343738963,), (1343738966,), (1343739036,), (1343739038,), (1343739041,), (1343739044,), (1343739048,), (1343739102,), (1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,), (1343739812,), (1343739818,), (1343739823,), (1343739829,), (1343739869,), (1343739874,), (1343739879,), (1343739883,), (1343739884,), (1343739920,), (1343739924,), (1343739928,), (1343739932,), (1343739966,), (1343739971,), (1343739976,), (1343740010,), (1343740015,), (1343740022,), (1343740023,), (1343740056,), (1343740062,), (1343740066,), (1343740072,), (1343740097,), (1343740103,), (1343740108,), (1343740113,), (1343740115,), (1343740141,), (1343740147,), (1343740153,), (1343740159,), (1343740189,), (1343740196,), (1343740201,), (1343740206,), (1343740209,), (1343740242,), (1343740248,), (1343740254,), (1343740259,), (1343740260,), (1343740261,), (1343740291,), (1343740341,), (1343740349,), (1343740355,), (1343740393,), (1343740399,), (1343740405,), (1343740410,), (1343740411,), (1343740412,), (1343740444,), (1343740451,), (1343740456,), (1343740462,), (1343740466,), (1343740468,), (1343740496,), (1343740521,), (1343740525,), (1343740528,), (1343740530,), (1343740534,), (1343740576,), (1343740563,), (1343740570,), (1343740616,), (1343740623,), (1343740629,), (1343740632,), (1343740634,), (1343740663,), (1343740670,), (1343740676,), (1343740679,), (1343740680,), (1343740681,), (1343740710,), (1343740714,), (1343740718,), (1343740761,), (1343740765,), (1343740770,), (1343740774,), (1343740776,), (1343740777,), (1343740811,), (1343740817,), (1343740821,), (1343740822,), (1343740823,), (1343740826,), (1343740860,), (1343740867,), (1343740872,), (1343740877,), (1343740913,), (1343740921,), (1343740927,), (1343740933,), (1343740935,), (1343740961,), (1343740982,), (1343740986,), (1343740988,), (1343740991,), (1343740995,), (1343741025,), (1343741032,), (1343741036,), (1343741042,), (1343741048,), (1343741079,), (1343742161,), (1343742602,), (1343742643,), (1343742683,), (1343742686,), (1343742722,), (1343742766,), (1343742770,), (1343742882,), (1343742914,), (1343742917,), (1343743032,), (1343743039,), (1343743280,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13032025': {'nb_upload': 39, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21404760]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] map_info['map_portfolio_photo'] : {21404760: [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093]} final : True mtd_id 4302 list_pids : [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] Looping around the photos to save general results len do output : 1 /21404760Didn'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, '2689936') ('4302', '21404760', '1343739831', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739780', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739779', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739775', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739769', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739762', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739728', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739726', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739721', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739718', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739712', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739707', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739666', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739658', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739653', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739612', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739607', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739601', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739569', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739567', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739563', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739559', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739554', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739525', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739523', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739517', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739512', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739504', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739421', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739416', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739318', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739223', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739178', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739144', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739141', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739137', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739132', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739098', None, None, None, None, None, '2689936') ('4302', None, None, None, None, None, None, None, '2689936') ('4302', '21404760', '1343739093', None, None, None, None, None, '2689936') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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, '21404760', 'None', None, None, None, None, '2689936'), ('4302', '21404760', '1343739831', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739780', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739779', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739775', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739769', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739762', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739728', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739726', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739721', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739718', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739712', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739707', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739666', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739658', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739653', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739612', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739607', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739601', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739569', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739567', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739563', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739559', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739554', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739525', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739523', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739517', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739512', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739504', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739421', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739416', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739318', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739223', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739178', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739144', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739141', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739137', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739132', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739098', None, None, None, None, None, '2689936'), ('4302', '21404760', '1343739093', None, None, None, None, None, '2689936')] time used for this insertion : 0.01796722412109375 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.7924516201019287 time spend to save output : 0.018368005752563477 total time spend for step 5 : 2.810819625854492 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 (2689936) 3.53user 2.14system 0:30.89elapsed 18%CPU (0avgtext+0avgdata 162032maxresident)k 600inputs+32208outputs (2major+87804minor)pagefaults 0swaps