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 : 1006293 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 (2777818) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2777818) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570136 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2777818'] with mtr_portfolio_ids : ['22570136'] and first list_photo_ids : [] new path : /proc/1006293/ Name: python3 Umask: 0002 State: R (running) Tgid: 1006293 Ngid: 0 Pid: 1006293 PPid: 1006292 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1006293 NSpid: 1006293 NSpgid: 1005836 NSsid: 1005836 VmPeak: 1107228 kB VmSize: 1107228 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100412 kB VmRSS: 100412 kB RssAnon: 60204 kB RssFile: 40208 kB RssShmem: 0 kB VmData: 865976 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 544 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: 42 nonvoluntary_ctxt_switches: 101 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1006293', 'Ngid': '0', 'Pid': '1006293', 'PPid': '1006292', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1006293', 'NSpid': '1006293', 'NSpgid': '1005836', 'NSsid': '1005836', 'VmPeak': '1107228 kB', 'VmSize': '1107228 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100412 kB', 'VmRSS': '100412 kB', 'RssAnon': '60204 kB', 'RssFile': '40208 kB', 'RssShmem': '0 kB', 'VmData': '865976 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '544 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': '42', 'nonvoluntary_ctxt_switches': '101'} ('datou_batch_current', '1006293', '1107228', '0', '1107228', '865976', '100412', b'', 'marlene', '2777818') 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 (22570136) 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 (2777818 ) ) 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 (22570136) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1354968703, 'portfolio_id': 22570136}, {'photo_id': 1354968666, 'portfolio_id': 22570136}, {'photo_id': 1354968662, 'portfolio_id': 22570136}, {'photo_id': 1354968658, 'portfolio_id': 22570136}, {'photo_id': 1354968634, 'portfolio_id': 22570136}, {'photo_id': 1354968631, 'portfolio_id': 22570136}, {'photo_id': 1354968498, 'portfolio_id': 22570136}, {'photo_id': 1354968468, 'portfolio_id': 22570136}, {'photo_id': 1354968440, 'portfolio_id': 22570136}, {'photo_id': 1354968429, 'portfolio_id': 22570136}, {'photo_id': 1354968219, 'portfolio_id': 22570136}, {'photo_id': 1354968186, 'portfolio_id': 22570136}, {'photo_id': 1354968164, 'portfolio_id': 22570136}, {'photo_id': 1354968136, 'portfolio_id': 22570136}, {'photo_id': 1354968132, 'portfolio_id': 22570136}, {'photo_id': 1354968129, 'portfolio_id': 22570136}, {'photo_id': 1354965278, 'portfolio_id': 22570136}, {'photo_id': 1354965197, 'portfolio_id': 22570136}, {'photo_id': 1354965124, 'portfolio_id': 22570136}, {'photo_id': 1354965068, 'portfolio_id': 22570136}, {'photo_id': 1354964999, 'portfolio_id': 22570136}, {'photo_id': 1354964088, 'portfolio_id': 22570136}, {'photo_id': 1354964055, 'portfolio_id': 22570136}, {'photo_id': 1354964027, 'portfolio_id': 22570136}, {'photo_id': 1354963576, 'portfolio_id': 22570136}, {'photo_id': 1354963543, 'portfolio_id': 22570136}, {'photo_id': 1354963509, 'portfolio_id': 22570136}, {'photo_id': 1354963397, 'portfolio_id': 22570136}, {'photo_id': 1354963110, 'portfolio_id': 22570136}, {'photo_id': 1354962373, 'portfolio_id': 22570136}, {'photo_id': 1354962337, 'portfolio_id': 22570136}, {'photo_id': 1354962256, 'portfolio_id': 22570136}, {'photo_id': 1354962178, 'portfolio_id': 22570136}, {'photo_id': 1354962144, 'portfolio_id': 22570136}, {'photo_id': 1354961654, 'portfolio_id': 22570136}, {'photo_id': 1354961597, 'portfolio_id': 22570136}, {'photo_id': 1354961541, 'portfolio_id': 22570136}, {'photo_id': 1354961011, 'portfolio_id': 22570136}, {'photo_id': 1354960978, 'portfolio_id': 22570136}, {'photo_id': 1354960949, 'portfolio_id': 22570136}, {'photo_id': 1354960945, 'portfolio_id': 22570136}, {'photo_id': 1354960646, 'portfolio_id': 22570136}, {'photo_id': 1354960616, 'portfolio_id': 22570136}, {'photo_id': 1354960584, 'portfolio_id': 22570136}] map_portfolio_id_photo_id: {22570136: [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.020415782928466797 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu May 1 05:53:27 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 (22570136) 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 : 22570136 get user id for portfolio 22570136 get sub ptf for main ptf 22570136, type 3726 and hashtags ['environnement', 'Carton_brun', 'flou', 'plastique', 'mal_croppe', 'cartonnette', 'Carton_gris', 'metal', 'kraft', 'Teint_Dans_La_Masse', 'autre_refus', 'papier'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22570136 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_brun','flou','plastique','mal_croppe','cartonnette','Carton_gris','metal','kraft','Teint_Dans_La_Masse','autre_refus','papier')) 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`=22570136 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_brun','flou','plastique','mal_croppe','cartonnette','Carton_gris','metal','kraft','Teint_Dans_La_Masse','autre_refus','papier')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22570136, 'sub_port_id': 22570167, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002920, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}, 'environnement': {'main_port_id': 22570136, 'sub_port_id': 22570168, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002921, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}, 'kraft': {'main_port_id': 22570136, 'sub_port_id': 22570169, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002922, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}, 'metal': {'main_port_id': 22570136, 'sub_port_id': 22570170, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002923, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}, 'autre_refus': {'main_port_id': 22570136, 'sub_port_id': 22570171, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002924, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}, 'cartonnette': {'main_port_id': 22570136, 'sub_port_id': 22570172, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002925, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}, 'flou': {'main_port_id': 22570136, 'sub_port_id': 22570173, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002926, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}, 'plastique': {'main_port_id': 22570136, 'sub_port_id': 22570174, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002927, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}, 'papier': {'main_port_id': 22570136, 'sub_port_id': 22570175, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002928, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}, 'mal_croppe': {'main_port_id': 22570136, 'sub_port_id': 22570176, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002929, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}, 'Carton_brun': {'main_port_id': 22570136, 'sub_port_id': 22570177, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002930, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}, 'Carton_gris': {'main_port_id': 22570136, 'sub_port_id': 22570178, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002931, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22570167 , 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=22570136 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 (22570167) result : ((1354961970,), (1354965396,), (1354965536,), (1354965846,), (1354966294,), (1354966295,), (1354966296,), (1354966297,), (1354966487,), (1354966492,), (1354966495,), (1354966498,), (1354966501,), (1354969578,), (1354969580,), (1354969582,), (1354969583,), (1354969723,), (1354969725,), (1354969826,), (1354969831,), (1354969835,), (1354971770,), (1354978145,), (1354978146,), (1354978147,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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 22570168 , 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=22570136 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 (22570168) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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 22570169 , 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=22570136 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 (22570169) result : ((1354962052,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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 22570170 , 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=22570136 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 (22570170) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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 22570171 , 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=22570136 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 (22570171) result : ((1354961984,), (1354965404,), (1354965549,), (1354966305,), (1354966307,), (1354978149,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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 22570172 , 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=22570136 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 (22570172) result : ((1354962026,), (1354962029,), (1354962032,), (1354965414,), (1354965564,), (1354965854,), (1354966325,), (1354966533,), (1354969635,), (1354969637,), (1354978151,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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 22570173 , 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=22570136 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 (22570173) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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 22570174 , 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=22570136 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 (22570174) result : ((1354965425,), (1354965599,), (1354965601,), (1354966568,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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 22570175 , 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=22570136 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 (22570175) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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 22570176 , 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=22570136 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 (22570176) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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 22570177 , 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=22570136 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 (22570177) result : ((1354962044,), (1354965583,), (1354965586,), (1354965588,), (1354965590,), (1354966552,), (1354966555,), (1354969662,), (1354969664,), (1354969868,), (1354969873,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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 22570178 , 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=22570136 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 (22570178) result : ((1354962000,), (1354962003,), (1354962006,), (1354966316,), (1354966514,), (1354969609,), (1354969612,), (1354978150,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22570136) result : ((1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,)) 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`=22570136 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_brun','flou','plastique','mal_croppe','cartonnette','Carton_gris','metal','kraft','Teint_Dans_La_Masse','autre_refus','papier')) 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`=22570136 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_brun','flou','plastique','mal_croppe','cartonnette','Carton_gris','metal','kraft','Teint_Dans_La_Masse','autre_refus','papier')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22570136, 'sub_port_id': 22570179, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002932, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}, 'environnement': {'main_port_id': 22570136, 'sub_port_id': 22570180, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002933, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}, 'kraft': {'main_port_id': 22570136, 'sub_port_id': 22570181, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002934, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}, 'metal': {'main_port_id': 22570136, 'sub_port_id': 22570182, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002935, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}, 'autre_refus': {'main_port_id': 22570136, 'sub_port_id': 22570183, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002936, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}, 'cartonnette': {'main_port_id': 22570136, 'sub_port_id': 22570184, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002937, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}, 'flou': {'main_port_id': 22570136, 'sub_port_id': 22570185, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002938, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}, 'plastique': {'main_port_id': 22570136, 'sub_port_id': 22570186, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002939, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}, 'papier': {'main_port_id': 22570136, 'sub_port_id': 22570187, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002940, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}, 'mal_croppe': {'main_port_id': 22570136, 'sub_port_id': 22570188, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002941, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}, 'Carton_brun': {'main_port_id': 22570136, 'sub_port_id': 22570189, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002942, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}, 'Carton_gris': {'main_port_id': 22570136, 'sub_port_id': 22570190, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15002943, 'last_updated_at': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 30, 23, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 30, 23, 3, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570179,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570167 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570180,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570168 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570181,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570169 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570182,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570170 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570183,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570171 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570184,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570172 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570185,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570173 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570186,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570174 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570187,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570175 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570188,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570176 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570189,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570177 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22570190,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22570178 lien utilise dans velours : https://www.fotonower.com/velours/22570179,22570180,22570181,22570182,22570183,22570184,22570185,22570186,22570187,22570188,22570189,22570190?tags=Teint_Dans_La_Masse,environnement,kraft,metal,autre_refus,cartonnette,flou,plastique,papier,mal_croppe,Carton_brun,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22570136]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584] map_info['map_portfolio_photo'] : {22570136: [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584]} final : False mtd_id 4302 list_pids : [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584] Looping around the photos to save general results len do output : 1 /22570136. 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, '2777818') ('4302', '22570136', '1354968703', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968666', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968662', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968658', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968634', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968631', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968498', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968468', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968440', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968429', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968219', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968186', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968164', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968136', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968132', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968129', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965278', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965197', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965124', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965068', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964999', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964088', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964055', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964027', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963576', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963543', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963509', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963397', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963110', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962373', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962337', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962256', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962178', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962144', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961654', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961597', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961541', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961011', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960978', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960949', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960945', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960646', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960616', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960584', None, None, None, None, None, '2777818') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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, '22570136', "{'Teint_Dans_La_Masse': 22570167, 'environnement': 22570168, 'kraft': 22570169, 'metal': 22570170, 'autre_refus': 22570171, 'cartonnette': 22570172, 'flou': 22570173, 'plastique': 22570174, 'papier': 22570175, 'mal_croppe': 22570176, 'Carton_brun': 22570177, 'Carton_gris': 22570178}", None, None, None, None, '2777818'), ('4302', '22570136', '1354968703', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968666', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968662', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968658', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968634', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968631', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968498', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968468', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968440', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968429', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968219', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968186', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968164', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968136', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968132', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968129', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965278', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965197', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965124', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965068', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964999', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964088', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964055', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964027', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963576', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963543', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963509', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963397', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963110', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962373', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962337', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962256', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962178', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962144', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961654', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961597', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961541', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961011', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960978', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960949', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960945', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960646', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960616', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960584', None, None, None, None, None, '2777818')] time used for this insertion : 0.022954702377319336 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.39017653465271 time spend to save output : 0.023397445678710938 total time spend for step 1 : 1.413573980331421 step2:final Thu May 1 05:53:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22570136) 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 22570136 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1354960646,1354960616,1354960584,1354961011,1354960978,1354960949,1354960945,1354961654,1354961597,1354961541,1354962373,1354962337,1354962256,1354962178,1354962144,1354963576,1354963543,1354963509,1354963397,1354963110,1354964088,1354964055,1354964027,1354965278,1354965197,1354965124,1354965068,1354964999,1354968219,1354968186,1354968164,1354968136,1354968132,1354968129,1354968498,1354968468,1354968440,1354968429,1354968666,1354968662,1354968658,1354968634,1354968631,1354968703); 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([22570136]) Inside saveOutput : final : False verbose : True original output for save of step final : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} new output for save of step final : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584] map_info['map_portfolio_photo'] : {22570136: [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584]} final : False mtd_id 4302 list_pids : [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584] Looping around the photos to save general results len do output : 44 /1354968703.Didn't retrieve data . /1354968666.Didn't retrieve data . /1354968662.Didn't retrieve data . /1354968658.Didn't retrieve data . /1354968634.Didn't retrieve data . /1354968631.Didn't retrieve data . /1354968498.Didn't retrieve data . /1354968468.Didn't retrieve data . /1354968440.Didn't retrieve data . /1354968429.Didn't retrieve data . /1354968219.Didn't retrieve data . /1354968186.Didn't retrieve data . /1354968164.Didn't retrieve data . /1354968136.Didn't retrieve data . /1354968132.Didn't retrieve data . /1354968129.Didn't retrieve data . /1354965278.Didn't retrieve data . /1354965197.Didn't retrieve data . /1354965124.Didn't retrieve data . /1354965068.Didn't retrieve data . /1354964999.Didn't retrieve data . /1354964088.Didn't retrieve data . /1354964055.Didn't retrieve data . /1354964027.Didn't retrieve data . /1354963576.Didn't retrieve data . /1354963543.Didn't retrieve data . /1354963509.Didn't retrieve data . /1354963397.Didn't retrieve data . /1354963110.Didn't retrieve data . /1354962373.Didn't retrieve data . /1354962337.Didn't retrieve data . /1354962256.Didn't retrieve data . /1354962178.Didn't retrieve data . /1354962144.Didn't retrieve data . /1354961654.Didn't retrieve data . /1354961597.Didn't retrieve data . /1354961541.Didn't retrieve data . /1354961011.Didn't retrieve data . /1354960978.Didn't retrieve data . /1354960949.Didn't retrieve data . /1354960945.Didn't retrieve data . /1354960646.Didn't retrieve data . /1354960616.Didn't retrieve data . /1354960584.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, '2777818') ('4302', '22570136', '1354968703', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968666', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968662', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968658', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968634', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968631', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968498', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968468', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968440', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968429', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968219', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968186', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968164', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968136', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968132', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968129', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965278', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965197', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965124', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965068', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964999', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964088', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964055', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964027', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963576', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963543', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963509', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963397', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963110', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962373', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962337', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962256', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962178', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962144', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961654', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961597', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961541', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961011', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960978', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960949', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960945', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960646', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960616', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960584', None, None, None, None, None, '2777818') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 132 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', '22570136', '1354968703', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968666', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968662', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968658', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968634', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968631', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968498', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968468', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968440', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968429', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968219', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968186', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968164', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968136', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968132', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354968129', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354965278', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354965197', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354965124', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354965068', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354964999', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354964088', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354964055', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354964027', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354963576', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354963543', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354963509', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354963397', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354963110', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354962373', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354962337', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354962256', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354962178', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354962144', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354961654', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354961597', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354961541', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354961011', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354960978', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354960949', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354960945', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354960646', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354960616', '0.04459055678406828', None, None, None, None, '2777818'), ('4302', '22570136', '1354960584', '0.04459055678406828', None, None, None, None, '2777818')] time used for this insertion : 0.023169755935668945 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06968450546264648 time spend to save output : 0.024822473526000977 total time spend for step 2 : 0.09450697898864746 step3:velours_tree Thu May 1 05:53:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22570136: [{'Teint_Dans_La_Masse': 22570167, 'environnement': 22570168, 'kraft': 22570169, 'metal': 22570170, 'autre_refus': 22570171, 'cartonnette': 22570172, 'flou': 22570173, 'plastique': 22570174, 'papier': 22570175, 'mal_croppe': 22570176, 'Carton_brun': 22570177, 'Carton_gris': 22570178}]} input_args_next_step : {22570136: ()} output_args : {22570136: [{'Teint_Dans_La_Masse': 22570167, 'environnement': 22570168, 'kraft': 22570169, 'metal': 22570170, 'autre_refus': 22570171, 'cartonnette': 22570172, 'flou': 22570173, 'plastique': 22570174, 'papier': 22570175, 'mal_croppe': 22570176, 'Carton_brun': 22570177, 'Carton_gris': 22570178}]} args : 22570136 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': 22570167, 'environnement': 22570168, 'kraft': 22570169, 'metal': 22570170, 'autre_refus': 22570171, 'cartonnette': 22570172, 'flou': 22570173, 'plastique': 22570174, 'papier': 22570175, 'mal_croppe': 22570176, 'Carton_brun': 22570177, 'Carton_gris': 22570178},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22570136) 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([22570136]) 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.27476978302001953 time spend to save output : 4.0531158447265625e-05 total time spend for step 3 : 0.2748103141784668 step4:send_mail_cod Thu May 1 05:53:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} input_args_next_step : {1354968703: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968703 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968666 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968662 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968658 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968634 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968631 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968498 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968468 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968440 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968429 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968219 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968186 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968164 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968136 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968132 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354968129 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354965278 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354965197 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354965124 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354965068 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354964999 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354964088 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354964055 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354964027 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354963576 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354963543 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354963509 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354963397 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354963110 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354962373 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354962337 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354962256 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354962178 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354962144 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354961654 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354961597 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354961541 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354961011 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354960978 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354960949 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354960945 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354960646 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354960616 depend.output_id : 0 input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ()} output_args : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',)} args : 1354960584 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 : {22570136: [{'Teint_Dans_La_Masse': 22570167, 'environnement': 22570168, 'kraft': 22570169, 'metal': 22570170, 'autre_refus': 22570171, 'cartonnette': 22570172, 'flou': 22570173, 'plastique': 22570174, 'papier': 22570175, 'mal_croppe': 22570176, 'Carton_brun': 22570177, 'Carton_gris': 22570178}]} input_args_next_step : {1354968703: ('0.04459055678406828',), 1354968666: ('0.04459055678406828',), 1354968662: ('0.04459055678406828',), 1354968658: ('0.04459055678406828',), 1354968634: ('0.04459055678406828',), 1354968631: ('0.04459055678406828',), 1354968498: ('0.04459055678406828',), 1354968468: ('0.04459055678406828',), 1354968440: ('0.04459055678406828',), 1354968429: ('0.04459055678406828',), 1354968219: ('0.04459055678406828',), 1354968186: ('0.04459055678406828',), 1354968164: ('0.04459055678406828',), 1354968136: ('0.04459055678406828',), 1354968132: ('0.04459055678406828',), 1354968129: ('0.04459055678406828',), 1354965278: ('0.04459055678406828',), 1354965197: ('0.04459055678406828',), 1354965124: ('0.04459055678406828',), 1354965068: ('0.04459055678406828',), 1354964999: ('0.04459055678406828',), 1354964088: ('0.04459055678406828',), 1354964055: ('0.04459055678406828',), 1354964027: ('0.04459055678406828',), 1354963576: ('0.04459055678406828',), 1354963543: ('0.04459055678406828',), 1354963509: ('0.04459055678406828',), 1354963397: ('0.04459055678406828',), 1354963110: ('0.04459055678406828',), 1354962373: ('0.04459055678406828',), 1354962337: ('0.04459055678406828',), 1354962256: ('0.04459055678406828',), 1354962178: ('0.04459055678406828',), 1354962144: ('0.04459055678406828',), 1354961654: ('0.04459055678406828',), 1354961597: ('0.04459055678406828',), 1354961541: ('0.04459055678406828',), 1354961011: ('0.04459055678406828',), 1354960978: ('0.04459055678406828',), 1354960949: ('0.04459055678406828',), 1354960945: ('0.04459055678406828',), 1354960646: ('0.04459055678406828',), 1354960616: ('0.04459055678406828',), 1354960584: ('0.04459055678406828',), 22570136: ()} output_args : {22570136: [{'Teint_Dans_La_Masse': 22570167, 'environnement': 22570168, 'kraft': 22570169, 'metal': 22570170, 'autre_refus': 22570171, 'cartonnette': 22570172, 'flou': 22570173, 'plastique': 22570174, 'papier': 22570175, 'mal_croppe': 22570176, 'Carton_brun': 22570177, 'Carton_gris': 22570178}]} args : 22570136 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 :45, first value : ('0.04459055678406828',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22570136) 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 (1354968703,1354968666,1354968662,1354968658,1354968634,1354968631,1354968498,1354968468,1354968440,1354968429,1354968219,1354968186,1354968164,1354968136,1354968132,1354968129,1354965278,1354965197,1354965124,1354965068,1354964999,1354964088,1354964055,1354964027,1354963576,1354963543,1354963509,1354963397,1354963110,1354962373,1354962337,1354962256,1354962178,1354962144,1354961654,1354961597,1354961541,1354961011,1354960978,1354960949,1354960945,1354960646,1354960616,1354960584) Found this number of photos: 44 ##### Call download_photos : nb_thread : 5 begin to download photo : 1354960584 begin to download photo : 1354961654 begin to download photo : 1354963543 begin to download photo : 1354965278 begin to download photo : 1354968468 download finish for photo 1354965278 begin to download photo : 1354968129 download finish for photo 1354968468 begin to download photo : 1354968498 download finish for photo 1354961654 begin to download photo : 1354962144 download finish for photo 1354960584 begin to download photo : 1354960616 download finish for photo 1354963543 begin to download photo : 1354963576 download finish for photo 1354968129 begin to download photo : 1354968132 download finish for photo 1354962144 begin to download photo : 1354962178 download finish for photo 1354960616 begin to download photo : 1354960646 download finish for photo 1354963576 begin to download photo : 1354964027 download finish for photo 1354968498 begin to download photo : 1354968631 download finish for photo 1354968132 begin to download photo : 1354968136 download finish for photo 1354962178 begin to download photo : 1354962256 download finish for photo 1354964027 begin to download photo : 1354964055 download finish for photo 1354968631 begin to download photo : 1354968634 download finish for photo 1354960646 begin to download photo : 1354960945 download finish for photo 1354968136 begin to download photo : 1354968164 download finish for photo 1354968634 begin to download photo : 1354968658 download finish for photo 1354960945 begin to download photo : 1354960949 download finish for photo 1354968164 begin to download photo : 1354968186 download finish for photo 1354960949 begin to download photo : 1354960978 download finish for photo 1354968658 begin to download photo : 1354968662 download finish for photo 1354968186 begin to download photo : 1354968219 download finish for photo 1354964055 begin to download photo : 1354964088 download finish for photo 1354968662 begin to download photo : 1354968666 download finish for photo 1354960978 begin to download photo : 1354961011 download finish for photo 1354968219 begin to download photo : 1354968429 download finish for photo 1354964088 begin to download photo : 1354964999 download finish for photo 1354968429 begin to download photo : 1354968440 download finish for photo 1354961011 begin to download photo : 1354961541 download finish for photo 1354964999 begin to download photo : 1354965068 download finish for photo 1354968666 begin to download photo : 1354968703 download finish for photo 1354968440 download finish for photo 1354961541 begin to download photo : 1354961597 download finish for photo 1354965068 begin to download photo : 1354965124 download finish for photo 1354968703 download finish for photo 1354961597 download finish for photo 1354965124 begin to download photo : 1354965197 download finish for photo 1354965197 download finish for photo 1354962256 begin to download photo : 1354962337 download finish for photo 1354962337 begin to download photo : 1354962373 download finish for photo 1354962373 begin to download photo : 1354963110 download finish for photo 1354963110 begin to download photo : 1354963397 download finish for photo 1354963397 begin to download photo : 1354963509 download finish for photo 1354963509 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 44 ; length of list_pids : 44 ; length of list_args : 44 results_Auto_P22570136_01-05-2025_05_53_31.pdf 22570169 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=22570169 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354962052: '1746047007_2710345_1354960646_94a95106efbcc068e6e10923d67520ef_rle_crop_3777522075_0.png'} change filename to text .imagette225701691746071611/ imagette225701691746071611/1746047007_2710345_1354960646_94a95106efbcc068e6e10923d67520ef_rle_crop_3777522075_0.png.png imagette225701701746071611/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/7adf87e54669f9b3150b57c1607b33c5_48644919.png imagette225701691746071611 22570170 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=22570170 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette225701701746071611 22570171 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=22570171 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354961984: '1746047007_2710345_1354960616_ed08a7f59094e200ea657ae933942a57_rle_crop_3777522092_0.png', 1354965404: '1746047231_1448438_1354964027_3b71f80a244566a733137b70abcb40a0_rle_crop_3777545597_0.png', 1354965549: '1746047246_2717789_1354963543_064e4fa03e6afe91df49bd98cf0a3d1b_rle_crop_3777548418_0.png', 1354966305: '1746047341_1449556_1354965124_9db583f0f109a34b08196ed58677719a_rle_crop_3777549849_0.png', 1354966307: '1746047341_1449556_1354965124_9db583f0f109a34b08196ed58677719a_rle_crop_3777549847_0.png', 1354978149: '1746049572_1470346_1354960949_ce51173fd5bdcc4c5285df30585102a4_rle_crop_3777527244_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/f5a23a42fa9a9ad54f7fd6a692ce0cea_95560859.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/ee8fea67f1a3e412c506b745b023e884_97639590.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/a3021b5ff67a720a9eff94c1d0872884_24980833.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/e26ab2372d7404df458711df2bf5e620_46431745.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/4e6a3b2c7ed6a74badb8452e8ee30a0f_50056527.png change filename to text .imagette225701711746071611/ imagette225701711746071611/1746047231_1448438_1354964027_3b71f80a244566a733137b70abcb40a0_rle_crop_3777545597_0.png.png imagette225701711746071611/1746047007_2710345_1354960616_ed08a7f59094e200ea657ae933942a57_rle_crop_3777522092_0.png.png imagette225701711746071611/1746047246_2717789_1354963543_064e4fa03e6afe91df49bd98cf0a3d1b_rle_crop_3777548418_0.png.png imagette225701711746071611/1746047341_1449556_1354965124_9db583f0f109a34b08196ed58677719a_rle_crop_3777549847_0.png.png imagette225701711746071611/1746049572_1470346_1354960949_ce51173fd5bdcc4c5285df30585102a4_rle_crop_3777527244_0.png.png imagette225701711746071611/1746047341_1449556_1354965124_9db583f0f109a34b08196ed58677719a_rle_crop_3777549849_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/1e5d22fc5809dc98d48476c5f6e2fd23_150728.png imagette225701711746071611 22570172 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=22570172 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354962026: '1746047007_2710345_1354960646_94a95106efbcc068e6e10923d67520ef_rle_crop_3777522083_0.png', 1354962029: '1746047007_2710345_1354960616_ed08a7f59094e200ea657ae933942a57_rle_crop_3777522098_0.png', 1354962032: '1746047007_2710345_1354960584_bb5c24ec0e82e5efe42079d0ea0e8fb1_rle_crop_3777522105_0.png', 1354965414: '1746047231_1448438_1354964027_3b71f80a244566a733137b70abcb40a0_rle_crop_3777545595_0.png', 1354965564: '1746047246_2717789_1354964088_6124ee93bff55b12720f80b57fbf28d9_rle_crop_3777548405_0.png', 1354965854: '1746047291_1448949_1354962373_4954812c3bb2e6cf564e7b5e0a4fda77_rle_crop_3777548576_0.png', 1354966325: '1746047341_1449556_1354965068_dd79d21c611fdfd80943dd2b3fa47a1a_rle_crop_3777549859_0.png', 1354966533: '1746047364_2720631_1354962337_e3e553c7f99ce45fec511bb130e6887e_rle_crop_3777549964_0.png', 1354969635: '1746047823_1453741_1354968662_9d4b30e626f2b619f69522c77d4e6e30_rle_crop_3777608406_0.png', 1354969637: '1746047823_1453741_1354968634_e8c54bb47ca83a96f17232b0647e8eac_rle_crop_3777608431_0.png', 1354978151: '1746049572_1470346_1354960949_ce51173fd5bdcc4c5285df30585102a4_rle_crop_3777527240_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/ab7dbd2204b8c4d27141649f1a3e81b3_56491699.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/f769993e980501b4328a1c5ee2d18f77_45119702.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/ee2df97385bd7e4562d8237bcfc4672e_46711750.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/6f5a2320ffedb53e9c574dad389060f1_241810.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/96e125484c8f519967d34bb21e4bb272_59528012.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/b566d6b330c88188b32f3762d5328211_84091526.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/cbed1ab715f1f07e631747d6c08e27b4_52150230.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/8d2c76466ea25a6f919db714a8320af9_4972577.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/0c637d513afbfc75bba6c0032633ff29_60812243.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/7e6bc63dc97f1a65f41bd100b77cef8a_12657780.png change filename to text .imagette225701721746071612/ imagette225701721746071612/1746047823_1453741_1354968662_9d4b30e626f2b619f69522c77d4e6e30_rle_crop_3777608406_0.png.png imagette225701721746071612/1746047341_1449556_1354965068_dd79d21c611fdfd80943dd2b3fa47a1a_rle_crop_3777549859_0.png.png imagette225701721746071612/1746047007_2710345_1354960584_bb5c24ec0e82e5efe42079d0ea0e8fb1_rle_crop_3777522105_0.png.png imagette225701721746071612/1746047231_1448438_1354964027_3b71f80a244566a733137b70abcb40a0_rle_crop_3777545595_0.png.png imagette225701721746071612/1746047823_1453741_1354968634_e8c54bb47ca83a96f17232b0647e8eac_rle_crop_3777608431_0.png.png imagette225701721746071612/1746049572_1470346_1354960949_ce51173fd5bdcc4c5285df30585102a4_rle_crop_3777527240_0.png.png imagette225701721746071612/1746047007_2710345_1354960646_94a95106efbcc068e6e10923d67520ef_rle_crop_3777522083_0.png.png imagette225701721746071612/1746047007_2710345_1354960616_ed08a7f59094e200ea657ae933942a57_rle_crop_3777522098_0.png.png imagette225701721746071612/1746047364_2720631_1354962337_e3e553c7f99ce45fec511bb130e6887e_rle_crop_3777549964_0.png.png imagette225701721746071612/1746047291_1448949_1354962373_4954812c3bb2e6cf564e7b5e0a4fda77_rle_crop_3777548576_0.png.png imagette225701721746071612/1746047246_2717789_1354964088_6124ee93bff55b12720f80b57fbf28d9_rle_crop_3777548405_0.png.png imagette225701731746071614/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/acaccb88d305539b07fef9913bacaaff_47187002.png imagette225701721746071612 22570173 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=22570173 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette225701731746071614 22570174 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=22570174 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354965425: '1746047231_1448438_1354964055_7935fd87ff4a5f746b3abe85225add30_rle_crop_3777545586_0.png', 1354965599: '1746047246_2717789_1354963397_0f28e7d852608f8992fddd2ff3b9b7c3_rle_crop_3777548444_0.png', 1354965601: '1746047246_2717789_1354963110_a52ff3a54bacb0fc10c4edbbf78be907_rle_crop_3777548516_0.png', 1354966568: '1746047364_2720631_1354963576_9ed5ccc72b99e26ba99e2d0756460371_rle_crop_3777549944_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/e254bd20d3b4e91aea2d8f9d172045de_90265296.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/33f060c3e6e8aa33235f99a8f0f35094_34686265.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/2953baada77b0e622bb1d45d1dab2f6a_91202402.png change filename to text .imagette225701741746071614/ imagette225701741746071614/1746047246_2717789_1354963110_a52ff3a54bacb0fc10c4edbbf78be907_rle_crop_3777548516_0.png.png imagette225701741746071614/1746047246_2717789_1354963397_0f28e7d852608f8992fddd2ff3b9b7c3_rle_crop_3777548444_0.png.png imagette225701741746071614/1746047364_2720631_1354963576_9ed5ccc72b99e26ba99e2d0756460371_rle_crop_3777549944_0.png.png imagette225701741746071614/1746047231_1448438_1354964055_7935fd87ff4a5f746b3abe85225add30_rle_crop_3777545586_0.png.png imagette225701761746071614/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/58bd40555f6d72b0e423c2b572b43890_27847587.png imagette225701741746071614 22570176 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=22570176 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette225701761746071614 22570167 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=22570167 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354969578: '1746047823_1453741_1354968662_9d4b30e626f2b619f69522c77d4e6e30_rle_crop_3777608414_0.png', 1354978147: '1746049572_1470346_1354960949_ce51173fd5bdcc4c5285df30585102a4_rle_crop_3777527248_0.png', 1354978146: '1746049572_1470346_1354960978_c690a79707ca9af1dcdcd14d7c4b27e4_rle_crop_3777527231_0.png', 1354978145: '1746049572_1470346_1354960978_c690a79707ca9af1dcdcd14d7c4b27e4_rle_crop_3777527228_0.png', 1354971770: '1746047953_1455271_1354968703_f003def7a5bca80a77b405b6817f2805_rle_crop_3777611170_0.png', 1354969835: '1746047846_2729127_1354968129_1678114304543dfc44a6766f8e5f9021_rle_crop_3777608674_0.png', 1354969831: '1746047846_2729127_1354968498_41b96c6ec31fddeac899b985b4cf7bd2_rle_crop_3777608632_0.png', 1354969826: '1746047846_2729127_1354968498_41b96c6ec31fddeac899b985b4cf7bd2_rle_crop_3777608637_0.png', 1354969725: '1746047831_1453887_1354968440_26d99909ee25e72e5ac56f91cb741fb0_rle_crop_3777608601_0.png', 1354969723: '1746047831_1453887_1354968468_755da5e83c8aff3fd79d35eb4ed6186c_rle_crop_3777608585_0.png', 1354969583: '1746047823_1453741_1354968634_e8c54bb47ca83a96f17232b0647e8eac_rle_crop_3777608435_0.png', 1354969582: '1746047823_1453741_1354968658_ed48679989cd033a30b63e4d29bf0094_rle_crop_3777608425_0.png', 1354969580: '1746047823_1453741_1354968662_9d4b30e626f2b619f69522c77d4e6e30_rle_crop_3777608410_0.png', 1354961970: '1746047007_2710345_1354961011_442a2e89e287d81552701dcc187a861d_rle_crop_3777522070_0.png', 1354966501: '1746047364_2720631_1354962144_1bffcb68419b7125f15e2ab95e4f3052_rle_crop_3777550012_0.png', 1354966498: '1746047364_2720631_1354962256_ad8655ee0d802dd122a5492197e7b356_rle_crop_3777549991_0.png', 1354966495: '1746047364_2720631_1354962337_e3e553c7f99ce45fec511bb130e6887e_rle_crop_3777549970_0.png', 1354966492: '1746047364_2720631_1354963576_9ed5ccc72b99e26ba99e2d0756460371_rle_crop_3777549941_0.png', 1354966487: '1746047364_2720631_1354963576_9ed5ccc72b99e26ba99e2d0756460371_rle_crop_3777549942_0.png', 1354966297: '1746047341_1449556_1354965068_dd79d21c611fdfd80943dd2b3fa47a1a_rle_crop_3777549866_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/24c1e930ea74d017882895b9ab90d25a_27420683.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/1ccebe86035ec1cb67c49bebafff339e_49023532.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/6061a2df8f7b79a9e2279b92e74e6d82_91426638.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/771eb7811a73d98cecaef5204afe79b6_58667467.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/b7dd75377cd2b3bcb8bd588ca717ed78_95635561.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/cce1b5fde924ec1a3c16534a5e6d6b70_98894447.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/bca1ef41874f56b37ea7e94d57586312_69630506.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/d180360ae8f4418f76c6e99c174fde88_45740392.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/4e05bac4f5d885cdeb78c819c96a6e8b_5326748.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/3504565bb3a28f3694dbe7bd665ee7ee_67956226.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/c8d641951ba578704f58511d873b13b4_32399122.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/4323325607608ac39b6c0b9b5cce5455_41181585.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/a7d5ecf478f5435d196431e6beafbac0_33408336.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/78fd724a35941ce1a1dc6bdc9dede2eb_6756159.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/5d47bb42b543b218c19222f2ba9221df_83266262.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/f1285566a808043b1922615114b9010c_54551814.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/e0e5ed878ad0d94df490d62ac3bda8b1_5176412.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/c0e0ececf01535b647c4dcfb88ede107_93830916.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/7c6545a1c2d4f9d94a031da85a410c69_21021400.png change filename to text .imagette225701671746071614/ imagette225701671746071614/1746047364_2720631_1354962337_e3e553c7f99ce45fec511bb130e6887e_rle_crop_3777549970_0.png.png imagette225701671746071614/1746049572_1470346_1354960949_ce51173fd5bdcc4c5285df30585102a4_rle_crop_3777527248_0.png.png imagette225701671746071614/1746049572_1470346_1354960978_c690a79707ca9af1dcdcd14d7c4b27e4_rle_crop_3777527231_0.png.png imagette225701671746071614/1746047846_2729127_1354968498_41b96c6ec31fddeac899b985b4cf7bd2_rle_crop_3777608632_0.png.png imagette225701671746071614/1746047823_1453741_1354968658_ed48679989cd033a30b63e4d29bf0094_rle_crop_3777608425_0.png.png imagette225701671746071614/1746049572_1470346_1354960978_c690a79707ca9af1dcdcd14d7c4b27e4_rle_crop_3777527228_0.png.png imagette225701671746071614/1746047846_2729127_1354968498_41b96c6ec31fddeac899b985b4cf7bd2_rle_crop_3777608637_0.png.png imagette225701671746071614/1746047823_1453741_1354968662_9d4b30e626f2b619f69522c77d4e6e30_rle_crop_3777608410_0.png.png imagette225701671746071614/1746047364_2720631_1354962144_1bffcb68419b7125f15e2ab95e4f3052_rle_crop_3777550012_0.png.png imagette225701671746071614/1746047823_1453741_1354968634_e8c54bb47ca83a96f17232b0647e8eac_rle_crop_3777608435_0.png.png imagette225701671746071614/1746047364_2720631_1354963576_9ed5ccc72b99e26ba99e2d0756460371_rle_crop_3777549941_0.png.png imagette225701671746071614/1746047341_1449556_1354965068_dd79d21c611fdfd80943dd2b3fa47a1a_rle_crop_3777549866_0.png.png imagette225701671746071614/1746047831_1453887_1354968440_26d99909ee25e72e5ac56f91cb741fb0_rle_crop_3777608601_0.png.png imagette225701671746071614/1746047823_1453741_1354968662_9d4b30e626f2b619f69522c77d4e6e30_rle_crop_3777608414_0.png.png imagette225701671746071614/1746047846_2729127_1354968129_1678114304543dfc44a6766f8e5f9021_rle_crop_3777608674_0.png.png imagette225701671746071614/1746047007_2710345_1354961011_442a2e89e287d81552701dcc187a861d_rle_crop_3777522070_0.png.png imagette225701671746071614/1746047364_2720631_1354962256_ad8655ee0d802dd122a5492197e7b356_rle_crop_3777549991_0.png.png imagette225701671746071614/1746047831_1453887_1354968468_755da5e83c8aff3fd79d35eb4ed6186c_rle_crop_3777608585_0.png.png imagette225701671746071614/1746047953_1455271_1354968703_f003def7a5bca80a77b405b6817f2805_rle_crop_3777611170_0.png.png imagette225701671746071614/1746047364_2720631_1354963576_9ed5ccc72b99e26ba99e2d0756460371_rle_crop_3777549942_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/7f8c2afee629d26f648cca84b02b9a36_4527941.png imagette225701671746071614 22570177 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=22570177 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354962044: '1746047007_2710345_1354960616_ed08a7f59094e200ea657ae933942a57_rle_crop_3777522094_0.png', 1354965583: '1746047246_2717789_1354963543_064e4fa03e6afe91df49bd98cf0a3d1b_rle_crop_3777548419_0.png', 1354965586: '1746047246_2717789_1354963509_4cd90e5b0176aedf9d5197e1448e26fb_rle_crop_3777548430_0.png', 1354965588: '1746047246_2717789_1354963509_4cd90e5b0176aedf9d5197e1448e26fb_rle_crop_3777548429_0.png', 1354965590: '1746047246_2717789_1354963397_0f28e7d852608f8992fddd2ff3b9b7c3_rle_crop_3777548445_0.png', 1354966552: '1746047364_2720631_1354963576_9ed5ccc72b99e26ba99e2d0756460371_rle_crop_3777549946_0.png', 1354966555: '1746047364_2720631_1354962256_ad8655ee0d802dd122a5492197e7b356_rle_crop_3777549993_0.png', 1354969662: '1746047823_1453741_1354968658_ed48679989cd033a30b63e4d29bf0094_rle_crop_3777608423_0.png', 1354969664: '1746047823_1453741_1354968634_e8c54bb47ca83a96f17232b0647e8eac_rle_crop_3777608437_0.png', 1354969868: '1746047846_2729127_1354968498_41b96c6ec31fddeac899b985b4cf7bd2_rle_crop_3777608634_0.png', 1354969873: '1746047846_2729127_1354968129_1678114304543dfc44a6766f8e5f9021_rle_crop_3777608679_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/d0bacdebadb5302ad4d1fd51a74589a6_60922106.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/e4b724d9d39c5af3002129ba20510510_9595295.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/8c71988066924e0c14f401c3da673e28_93932111.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/c34235b7d9c224ea89681233efbe4579_72471365.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/5ec22a0a7ae6988df0e627a40312b819_10533577.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/15dce3140a469ef87eb0b5fc417fb4c0_29974673.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/b0330dbf3116cd6bd7b47ad8c1567ba7_26275602.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/c2e3b88cfe7f0756477df52cec27ac25_99037892.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/cb2f72b17f43ce3b59af87bd3924d4eb_77882462.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/6b57192fd16c59533413228509bd62b4_14663366.png change filename to text .imagette225701771746071616/ imagette225701771746071616/1746047246_2717789_1354963509_4cd90e5b0176aedf9d5197e1448e26fb_rle_crop_3777548429_0.png.png imagette225701771746071616/1746047823_1453741_1354968658_ed48679989cd033a30b63e4d29bf0094_rle_crop_3777608423_0.png.png imagette225701771746071616/1746047846_2729127_1354968498_41b96c6ec31fddeac899b985b4cf7bd2_rle_crop_3777608634_0.png.png imagette225701771746071616/1746047846_2729127_1354968129_1678114304543dfc44a6766f8e5f9021_rle_crop_3777608679_0.png.png imagette225701771746071616/1746047007_2710345_1354960616_ed08a7f59094e200ea657ae933942a57_rle_crop_3777522094_0.png.png imagette225701771746071616/1746047823_1453741_1354968634_e8c54bb47ca83a96f17232b0647e8eac_rle_crop_3777608437_0.png.png imagette225701771746071616/1746047246_2717789_1354963509_4cd90e5b0176aedf9d5197e1448e26fb_rle_crop_3777548430_0.png.png imagette225701771746071616/1746047364_2720631_1354963576_9ed5ccc72b99e26ba99e2d0756460371_rle_crop_3777549946_0.png.png imagette225701771746071616/1746047246_2717789_1354963543_064e4fa03e6afe91df49bd98cf0a3d1b_rle_crop_3777548419_0.png.png imagette225701771746071616/1746047246_2717789_1354963397_0f28e7d852608f8992fddd2ff3b9b7c3_rle_crop_3777548445_0.png.png imagette225701771746071616/1746047364_2720631_1354962256_ad8655ee0d802dd122a5492197e7b356_rle_crop_3777549993_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/8637ebf25c242390e63f442a2520d22e_3072160.png imagette225701771746071616 22570178 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=22570178 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354962000: '1746047007_2710345_1354961011_442a2e89e287d81552701dcc187a861d_rle_crop_3777522064_0.png', 1354962003: '1746047007_2710345_1354960616_ed08a7f59094e200ea657ae933942a57_rle_crop_3777522097_0.png', 1354962006: '1746047007_2710345_1354960584_bb5c24ec0e82e5efe42079d0ea0e8fb1_rle_crop_3777522107_0.png', 1354966316: '1746047341_1449556_1354964999_6dd6a28a712ade499470f367d807829d_rle_crop_3777549881_0.png', 1354966514: '1746047364_2720631_1354962256_ad8655ee0d802dd122a5492197e7b356_rle_crop_3777549985_0.png', 1354969609: '1746047823_1453741_1354968634_e8c54bb47ca83a96f17232b0647e8eac_rle_crop_3777608432_0.png', 1354969612: '1746047823_1453741_1354968631_29ae14df7cd1b2b8e17983223e999976_rle_crop_3777608447_0.png', 1354978150: '1746049572_1470346_1354960978_c690a79707ca9af1dcdcd14d7c4b27e4_rle_crop_3777527230_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/a46b6444e2d5010418bd0453fd99489b_7210116.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/74da12a17bb62bb099cf046fe7f2d197_83912548.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/0c9656c13c6e709f1d8445ddb4ee5413_68167044.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/f61f4b853bcd24cc98a72615c9d8a9bc_43121437.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/b90852e8721ab0220a42c9d7dbf43dd1_64694918.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/a3d9407856e48524cf40bbccb3c05db5_79352314.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/8ed110354b7698be1883ff813a921695_54478461.png change filename to text .imagette225701781746071617/ imagette225701781746071617/1746047823_1453741_1354968631_29ae14df7cd1b2b8e17983223e999976_rle_crop_3777608447_0.png.png imagette225701781746071617/1746049572_1470346_1354960978_c690a79707ca9af1dcdcd14d7c4b27e4_rle_crop_3777527230_0.png.png imagette225701781746071617/1746047364_2720631_1354962256_ad8655ee0d802dd122a5492197e7b356_rle_crop_3777549985_0.png.png imagette225701781746071617/1746047007_2710345_1354961011_442a2e89e287d81552701dcc187a861d_rle_crop_3777522064_0.png.png imagette225701781746071617/1746047007_2710345_1354960616_ed08a7f59094e200ea657ae933942a57_rle_crop_3777522097_0.png.png imagette225701781746071617/1746047823_1453741_1354968634_e8c54bb47ca83a96f17232b0647e8eac_rle_crop_3777608432_0.png.png imagette225701781746071617/1746047341_1449556_1354964999_6dd6a28a712ade499470f367d807829d_rle_crop_3777549881_0.png.png imagette225701781746071617/1746047007_2710345_1354960584_bb5c24ec0e82e5efe42079d0ea0e8fb1_rle_crop_3777522107_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/f39f0d40eab26493d323fdafac47b40c_30363147.png imagette225701781746071617 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22570136 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22570179,22570180,22570181,22570182,22570183,22570184,22570185,22570186,22570187,22570188,22570189,22570190?tags=Teint_Dans_La_Masse,environnement,kraft,metal,autre_refus,cartonnette,flou,plastique,papier,mal_croppe,Carton_brun,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1354968703] : ('0.04459055678406828',) no score found for photo 1354968703 We are sending mail with results at report@fotonower.com args[1354968666] : ('0.04459055678406828',) no score found for photo 1354968666 We are sending mail with results at report@fotonower.com args[1354968662] : ('0.04459055678406828',) no score found for photo 1354968662 We are sending mail with results at report@fotonower.com args[1354968658] : ('0.04459055678406828',) no score found for photo 1354968658 We are sending mail with results at report@fotonower.com args[1354968634] : ('0.04459055678406828',) no score found for photo 1354968634 We are sending mail with results at report@fotonower.com args[1354968631] : ('0.04459055678406828',) no score found for photo 1354968631 We are sending mail with results at report@fotonower.com args[1354968498] : ('0.04459055678406828',) no score found for photo 1354968498 We are sending mail with results at report@fotonower.com args[1354968468] : ('0.04459055678406828',) no score found for photo 1354968468 We are sending mail with results at report@fotonower.com args[1354968440] : ('0.04459055678406828',) no score found for photo 1354968440 We are sending mail with results at report@fotonower.com args[1354968429] : ('0.04459055678406828',) no score found for photo 1354968429 We are sending mail with results at report@fotonower.com args[1354968219] : ('0.04459055678406828',) no score found for photo 1354968219 We are sending mail with results at report@fotonower.com args[1354968186] : ('0.04459055678406828',) no score found for photo 1354968186 We are sending mail with results at report@fotonower.com args[1354968164] : ('0.04459055678406828',) no score found for photo 1354968164 We are sending mail with results at report@fotonower.com args[1354968136] : ('0.04459055678406828',) no score found for photo 1354968136 We are sending mail with results at report@fotonower.com args[1354968132] : ('0.04459055678406828',) no score found for photo 1354968132 We are sending mail with results at report@fotonower.com args[1354968129] : ('0.04459055678406828',) no score found for photo 1354968129 We are sending mail with results at report@fotonower.com args[1354965278] : ('0.04459055678406828',) no score found for photo 1354965278 We are sending mail with results at report@fotonower.com args[1354965197] : ('0.04459055678406828',) no score found for photo 1354965197 We are sending mail with results at report@fotonower.com args[1354965124] : ('0.04459055678406828',) no score found for photo 1354965124 We are sending mail with results at report@fotonower.com args[1354965068] : ('0.04459055678406828',) no score found for photo 1354965068 We are sending mail with results at report@fotonower.com args[1354964999] : ('0.04459055678406828',) no score found for photo 1354964999 We are sending mail with results at report@fotonower.com args[1354964088] : ('0.04459055678406828',) no score found for photo 1354964088 We are sending mail with results at report@fotonower.com args[1354964055] : ('0.04459055678406828',) no score found for photo 1354964055 We are sending mail with results at report@fotonower.com args[1354964027] : ('0.04459055678406828',) no score found for photo 1354964027 We are sending mail with results at report@fotonower.com args[1354963576] : ('0.04459055678406828',) no score found for photo 1354963576 We are sending mail with results at report@fotonower.com args[1354963543] : ('0.04459055678406828',) no score found for photo 1354963543 We are sending mail with results at report@fotonower.com args[1354963509] : ('0.04459055678406828',) no score found for photo 1354963509 We are sending mail with results at report@fotonower.com args[1354963397] : ('0.04459055678406828',) no score found for photo 1354963397 We are sending mail with results at report@fotonower.com args[1354963110] : ('0.04459055678406828',) no score found for photo 1354963110 We are sending mail with results at report@fotonower.com args[1354962373] : ('0.04459055678406828',) no score found for photo 1354962373 We are sending mail with results at report@fotonower.com args[1354962337] : ('0.04459055678406828',) no score found for photo 1354962337 We are sending mail with results at report@fotonower.com args[1354962256] : ('0.04459055678406828',) no score found for photo 1354962256 We are sending mail with results at report@fotonower.com args[1354962178] : ('0.04459055678406828',) no score found for photo 1354962178 We are sending mail with results at report@fotonower.com args[1354962144] : ('0.04459055678406828',) no score found for photo 1354962144 We are sending mail with results at report@fotonower.com args[1354961654] : ('0.04459055678406828',) no score found for photo 1354961654 We are sending mail with results at report@fotonower.com args[1354961597] : ('0.04459055678406828',) no score found for photo 1354961597 We are sending mail with results at report@fotonower.com args[1354961541] : ('0.04459055678406828',) no score found for photo 1354961541 We are sending mail with results at report@fotonower.com args[1354961011] : ('0.04459055678406828',) no score found for photo 1354961011 We are sending mail with results at report@fotonower.com args[1354960978] : ('0.04459055678406828',) no score found for photo 1354960978 We are sending mail with results at report@fotonower.com args[1354960949] : ('0.04459055678406828',) no score found for photo 1354960949 We are sending mail with results at report@fotonower.com args[1354960945] : ('0.04459055678406828',) no score found for photo 1354960945 We are sending mail with results at report@fotonower.com args[1354960646] : ('0.04459055678406828',) no score found for photo 1354960646 We are sending mail with results at report@fotonower.com args[1354960616] : ('0.04459055678406828',) no score found for photo 1354960616 We are sending mail with results at report@fotonower.com args[1354960584] : ('0.04459055678406828',) no score found for photo 1354960584 We are sending mail with results at report@fotonower.com refus_total : 0.04459055678406828 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=22570136 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_P22570136_01-05-2025_05_53_31.pdf results_Auto_P22570136_01-05-2025_05_53_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22570136_01-05-2025_05_53_31.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','22570136','results_Auto_P22570136_01-05-2025_05_53_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22570136_01-05-2025_05_53_31.pdf','pdf','','0.45','0.04459055678406828') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22570136]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584] map_info['map_portfolio_photo'] : {22570136: [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584]} final : False mtd_id 4302 list_pids : [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584] 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, '2777818') ('4302', '22570136', '1354968703', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968666', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968662', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968658', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968634', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968631', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968498', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968468', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968440', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968429', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968219', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968186', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968164', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968136', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968132', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968129', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965278', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965197', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965124', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965068', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964999', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964088', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964055', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964027', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963576', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963543', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963509', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963397', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963110', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962373', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962337', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962256', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962178', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962144', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961654', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961597', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961541', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961011', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960978', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960949', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960945', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960646', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960616', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960584', None, None, None, None, None, '2777818') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 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', '22570136', '1354968703', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968666', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968662', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968658', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968634', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968631', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968498', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968468', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968440', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968429', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968219', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968186', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968164', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968136', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968132', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968129', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965278', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965197', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965124', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965068', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964999', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964088', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964055', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964027', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963576', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963543', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963509', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963397', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963110', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962373', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962337', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962256', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962178', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962144', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961654', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961597', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961541', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961011', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960978', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960949', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960945', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960646', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960616', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960584', None, None, None, None, None, '2777818')] time used for this insertion : 0.020319223403930664 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.299466609954834 time spend to save output : 0.020855188369750977 total time spend for step 4 : 11.320321798324585 step5:split_time_score Thu May 1 05:53: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 : ['22570136'] 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 : [('22570136',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22570136) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1354965278: {'path': 'temp/1746071609_1006293_1354965278_f492b2def19b1c8e29fc18c3ed9a905a.jpg', 'extension': 'jpg'}, 1354968129: {'path': 'temp/1746071609_1006293_1354968129_1678114304543dfc44a6766f8e5f9021.jpg', 'extension': 'jpg'}, 1354968132: {'path': 'temp/1746071609_1006293_1354968132_4352bfdccadd672589d6fd810a8a2cd8.jpg', 'extension': 'jpg'}, 1354968136: {'path': 'temp/1746071609_1006293_1354968136_1b396b5075c5a287edae426e2af3e1b6.jpg', 'extension': 'jpg'}, 1354968164: {'path': 'temp/1746071609_1006293_1354968164_89088aa7a629a92eef83cb9cadf264ee.jpg', 'extension': 'jpg'}, 1354968186: {'path': 'temp/1746071609_1006293_1354968186_d0ffa3b625bf15d6aaadf73b49db348c.jpg', 'extension': 'jpg'}, 1354968219: {'path': 'temp/1746071609_1006293_1354968219_ec2fb82c72d624c9ef5904bd1ba70339.jpg', 'extension': 'jpg'}, 1354968429: {'path': 'temp/1746071609_1006293_1354968429_1882870041caa3b69906300794664034.jpg', 'extension': 'jpg'}, 1354968440: {'path': 'temp/1746071609_1006293_1354968440_26d99909ee25e72e5ac56f91cb741fb0.jpg', 'extension': 'jpg'}, 1354968468: {'path': 'temp/1746071609_1006293_1354968468_755da5e83c8aff3fd79d35eb4ed6186c.jpg', 'extension': 'jpg'}, 1354968498: {'path': 'temp/1746071609_1006293_1354968498_41b96c6ec31fddeac899b985b4cf7bd2.jpg', 'extension': 'jpg'}, 1354968631: {'path': 'temp/1746071609_1006293_1354968631_29ae14df7cd1b2b8e17983223e999976.jpg', 'extension': 'jpg'}, 1354968634: {'path': 'temp/1746071609_1006293_1354968634_e8c54bb47ca83a96f17232b0647e8eac.jpg', 'extension': 'jpg'}, 1354968658: {'path': 'temp/1746071609_1006293_1354968658_ed48679989cd033a30b63e4d29bf0094.jpg', 'extension': 'jpg'}, 1354968662: {'path': 'temp/1746071609_1006293_1354968662_9d4b30e626f2b619f69522c77d4e6e30.jpg', 'extension': 'jpg'}, 1354968666: {'path': 'temp/1746071609_1006293_1354968666_7d8e73d5719e9e200ee7e635612ec5b1.jpg', 'extension': 'jpg'}, 1354968703: {'path': 'temp/1746071609_1006293_1354968703_f003def7a5bca80a77b405b6817f2805.jpg', 'extension': 'jpg'}, 1354960584: {'path': 'temp/1746071609_1006293_1354960584_bb5c24ec0e82e5efe42079d0ea0e8fb1.jpg', 'extension': 'jpg'}, 1354960616: {'path': 'temp/1746071609_1006293_1354960616_ed08a7f59094e200ea657ae933942a57.jpg', 'extension': 'jpg'}, 1354960646: {'path': 'temp/1746071609_1006293_1354960646_94a95106efbcc068e6e10923d67520ef.jpg', 'extension': 'jpg'}, 1354960945: {'path': 'temp/1746071609_1006293_1354960945_f8f7b1eb0040b01f5b1c74309ffcccd8.jpg', 'extension': 'jpg'}, 1354960949: {'path': 'temp/1746071609_1006293_1354960949_ce51173fd5bdcc4c5285df30585102a4.jpg', 'extension': 'jpg'}, 1354960978: {'path': 'temp/1746071609_1006293_1354960978_c690a79707ca9af1dcdcd14d7c4b27e4.jpg', 'extension': 'jpg'}, 1354961011: {'path': 'temp/1746071609_1006293_1354961011_442a2e89e287d81552701dcc187a861d.jpg', 'extension': 'jpg'}, 1354961541: {'path': 'temp/1746071609_1006293_1354961541_f5807c969194946275c264ed9830aa5c.jpg', 'extension': 'jpg'}, 1354961597: {'path': 'temp/1746071609_1006293_1354961597_9dd219f6da5253a2f715e69154aaca94.jpg', 'extension': 'jpg'}, 1354963543: {'path': 'temp/1746071609_1006293_1354963543_064e4fa03e6afe91df49bd98cf0a3d1b.jpg', 'extension': 'jpg'}, 1354963576: {'path': 'temp/1746071609_1006293_1354963576_9ed5ccc72b99e26ba99e2d0756460371.jpg', 'extension': 'jpg'}, 1354964027: {'path': 'temp/1746071609_1006293_1354964027_3b71f80a244566a733137b70abcb40a0.jpg', 'extension': 'jpg'}, 1354964055: {'path': 'temp/1746071609_1006293_1354964055_7935fd87ff4a5f746b3abe85225add30.jpg', 'extension': 'jpg'}, 1354964088: {'path': 'temp/1746071609_1006293_1354964088_6124ee93bff55b12720f80b57fbf28d9.jpg', 'extension': 'jpg'}, 1354964999: {'path': 'temp/1746071609_1006293_1354964999_6dd6a28a712ade499470f367d807829d.jpg', 'extension': 'jpg'}, 1354965068: {'path': 'temp/1746071609_1006293_1354965068_dd79d21c611fdfd80943dd2b3fa47a1a.jpg', 'extension': 'jpg'}, 1354965124: {'path': 'temp/1746071609_1006293_1354965124_9db583f0f109a34b08196ed58677719a.jpg', 'extension': 'jpg'}, 1354965197: {'path': 'temp/1746071609_1006293_1354965197_ad77624a93b1bbb71bcc4cede2c21b91.jpg', 'extension': 'jpg'}, 1354961654: {'path': 'temp/1746071609_1006293_1354961654_d4dbdc18425248d6c6317f760266ff22.jpg', 'extension': 'jpg'}, 1354962144: {'path': 'temp/1746071609_1006293_1354962144_1bffcb68419b7125f15e2ab95e4f3052.jpg', 'extension': 'jpg'}, 1354962178: {'path': 'temp/1746071609_1006293_1354962178_b8abd98beee7a2c30fc59b5fa5f17059.jpg', 'extension': 'jpg'}, 1354962256: {'path': 'temp/1746071609_1006293_1354962256_ad8655ee0d802dd122a5492197e7b356.jpg', 'extension': 'jpg'}, 1354962337: {'path': 'temp/1746071609_1006293_1354962337_e3e553c7f99ce45fec511bb130e6887e.jpg', 'extension': 'jpg'}, 1354962373: {'path': 'temp/1746071609_1006293_1354962373_4954812c3bb2e6cf564e7b5e0a4fda77.jpg', 'extension': 'jpg'}, 1354963110: {'path': 'temp/1746071609_1006293_1354963110_a52ff3a54bacb0fc10c4edbbf78be907.jpg', 'extension': 'jpg'}, 1354963397: {'path': 'temp/1746071609_1006293_1354963397_0f28e7d852608f8992fddd2ff3b9b7c3.jpg', 'extension': 'jpg'}, 1354963509: {'path': 'temp/1746071609_1006293_1354963509_4cd90e5b0176aedf9d5197e1448e26fb.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 = 22570136; (('arc_en_ciel_jrm_live',), ('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 = 22570136 group by h (('23', 44),) 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=22570136 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 (22570136) 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 (22570136) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 30042025 22570136 Nombre de photos uploadées : 44 / 23040 (0%) 30042025 22570136 Nombre de photos taguées (types de déchets): 0 / 44 (0%) 30042025 22570136 Nombre de photos taguées (volume) : 0 / 44 (0%) [{'photo_id': 1354960646, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/94a95106efbcc068e6e10923d67520ef.jpg', 'username': None, 'uploaded_at': 1746046867, 'text': 'image_30042025_23_00_04_010148m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1354960616, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/ed08a7f59094e200ea657ae933942a57.jpg', 'username': None, 'uploaded_at': 1746046867, 'text': 'image_30042025_23_00_33_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1354960584, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/bb5c24ec0e82e5efe42079d0ea0e8fb1.jpg', 'username': None, 'uploaded_at': 1746046867, 'text': 'image_30042025_23_00_43_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1354961011, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/30/442a2e89e287d81552701dcc187a861d.jpg', 'username': None, 'uploaded_at': 1746046927, 'text': 'image_30042025_23_00_54_010136m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0023202896118164062 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22570136, '2025-04-30' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1757228,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023456096649169922 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= 1757228 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22526515, 'dashboard_result_id': 10220922, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22526515_01-05-2025_05_34_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22526516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22526517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22526518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22526519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22526520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22526521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22526522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22526523, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22526524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22526525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22526526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22526527, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22528309, 'dashboard_result_id': 10220923, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528309_01-05-2025_05_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22528311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22528312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22528313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22528314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22528315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22528316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22528317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22528318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22528319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22528320, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22528321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22528322, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22528467, 'dashboard_result_id': 10220924, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528467_01-05-2025_05_35_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22528470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22528471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22528472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22528473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22528474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22528475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22528476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22528477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22528478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22528479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22528480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22528481, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22528725, 'dashboard_result_id': 10220925, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528725_01-05-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22528750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22528751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22528752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22528753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22528754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22528755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22528756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22528757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22528758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22528759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22528760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22528761, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22529264, 'dashboard_result_id': 10220926, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22529264_01-05-2025_05_35_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22529292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22529293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22529294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22529295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22529296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22529297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22529298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22529299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22529300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22529301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22529302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22529303, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22529945, 'dashboard_result_id': 10220927, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22529945_01-05-2025_05_36_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22529946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22529947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22529948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22529949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22529950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22529951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22529952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22529953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22529954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22529955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22529956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22529957, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22530302, 'dashboard_result_id': 10220928, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22530302_01-05-2025_05_36_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22530327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22530328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22530329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22530330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22530331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22530332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22530333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22530334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22530335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22530336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22530337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22530338, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22530537, 'dashboard_result_id': 10220929, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22530537_01-05-2025_05_36_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22530567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22530568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22530569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22530570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22530571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22530572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22530573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22530574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22530575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22530576, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22530577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22530578, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22531077, 'dashboard_result_id': 10220930, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22531077_01-05-2025_05_37_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22531081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22531082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22531083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22531084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22531085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22531086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22531087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22531088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22531089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22531090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22531091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22531092, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22531438, 'dashboard_result_id': 10220931, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22531438_01-05-2025_05_37_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22531463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22531464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22531465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22531466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22531467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22531468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22531469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22531470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22531471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22531472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22531473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22531474, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22532077, 'dashboard_result_id': 10220932, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22532077_01-05-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22532102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22532103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22532104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22532105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22532106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22532107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22532108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22532109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22532110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22532111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22532112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22532113, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22532565, 'dashboard_result_id': 10220933, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22532565_01-05-2025_05_38_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22532631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22532632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22532633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22532634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22532635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22532636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22532637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22532638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22532639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22532640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22532641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22532642, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22533018, 'dashboard_result_id': 10220934, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22533018_01-05-2025_05_38_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22533046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22533047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22533048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22533049, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22533050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22533051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22533052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22533053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22533054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22533055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22533056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22533057, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22533642, 'dashboard_result_id': 10220935, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22533642_01-05-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22533649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22533650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22533651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22533652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22533653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22533654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22533655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22533656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22533657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22533658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22533659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22533660, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22534441, 'dashboard_result_id': 10220936, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22534441_01-05-2025_05_39_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22534447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22534448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22534449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22534450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22534451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22534452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22534453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22534454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22534455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22534456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22534457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22534458, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22534867, 'dashboard_result_id': 10220937, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22534867_01-05-2025_05_39_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22534895, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22534896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22534897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22534898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22534899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22534900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22534901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22534902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22534903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22534904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22534905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22534906, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22535311, 'dashboard_result_id': 10220938, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22535311_01-05-2025_05_40_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22535380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22535381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22535382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22535383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22535384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22535385, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22535386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22535387, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22535388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22535389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22535390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22535391, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22536575, 'dashboard_result_id': 10220939, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22536575_01-05-2025_05_40_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22536579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22536580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22536581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22536582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22536583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22536584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22536585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22536586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22536587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22536588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22536589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22536590, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22537123, 'dashboard_result_id': 10220940, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22537123_01-05-2025_05_40_40.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22537130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22537131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22537132, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22537133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22537134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22537135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22537136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22537137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22537138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22537139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22537140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22537141, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22537734, 'dashboard_result_id': 10220941, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22537734_01-05-2025_05_41_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22537761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22537762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22537763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22537764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22537765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22537766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22537767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22537768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22537769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22537770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22537771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22537772, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22538229, 'dashboard_result_id': 10220942, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22538229_01-05-2025_05_41_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22538253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22538254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22538255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22538256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22538257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22538258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22538259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22538260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22538261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22538262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22538263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22538264, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22538786, 'dashboard_result_id': 10220943, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22538786_01-05-2025_05_41_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22538789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22538790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22538791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22538792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22538793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22538794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22538795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22538796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22538797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22538798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22538799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22538800, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22539166, 'dashboard_result_id': 10220944, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22539166_01-05-2025_05_41_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22539173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22539174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22539175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22539176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22539177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22539178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22539179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22539180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22539181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22539182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22539183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22539184, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22539903, 'dashboard_result_id': 10220945, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22539903_01-05-2025_05_42_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22539936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22539937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22539938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22539939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22539940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22539941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22539942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22539943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22539944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22539945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22539946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22539947, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22540751, 'dashboard_result_id': 10220946, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22540751_01-05-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22540782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22540783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22540784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22540785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22540786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22540787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22540788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22540789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22540790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22540791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22540792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22540793, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22541523, 'dashboard_result_id': 10220947, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22541523_01-05-2025_05_43_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22541552, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22541553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22541554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22541555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22541556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22541557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22541558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22541559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22541560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22541561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22541562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22541563, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22542192, 'dashboard_result_id': 10220948, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22542192_01-05-2025_05_43_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22542221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22542222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22542223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22542224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22542225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22542226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22542227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22542228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22542229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22542230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22542231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22542232, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22542669, 'dashboard_result_id': 10220949, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22542669_01-05-2025_05_43_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22542699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22542700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22542701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22542702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22542703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22542704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22542705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22542706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22542707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22542708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22542709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22542710, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22545030, 'dashboard_result_id': 10220950, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22545030_01-05-2025_05_44_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22545079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22545080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22545081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22545082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22545083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22545084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22545085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22545086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22545087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22545088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22545089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22545090, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22545603, 'dashboard_result_id': 10220951, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22545603_01-05-2025_05_44_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22545673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22545674, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22545675, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22545676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22545677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22545678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22545679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22545680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22545681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22545682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22545683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22545684, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22546186, 'dashboard_result_id': 10220952, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22546186_01-05-2025_05_45_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22546227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22546228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22546229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22546230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22546231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22546232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22546233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22546234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22546235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22546236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22546237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22546238, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22547208, 'dashboard_result_id': 10220953, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22547208_01-05-2025_05_45_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22547283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22547284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22547285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22547286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22547287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22547288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22547289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22547290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22547291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22547292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22547293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22547294, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22548118, 'dashboard_result_id': 10220954, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22548118_01-05-2025_05_45_40.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22548180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22548181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22548182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22548183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22548184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22548185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22548186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22548187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22548188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22548189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22548190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22548191, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22549007, 'dashboard_result_id': 10220955, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22549007_01-05-2025_05_46_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22549126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22549127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22549128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22549129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22549130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22549131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22549132, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22549133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22549134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22549135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22549136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22549137, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22552008, 'dashboard_result_id': 10220956, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552008_01-05-2025_05_46_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22552011, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22552012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22552013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22552014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22552015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22552016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22552017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22552018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22552019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22552020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22552021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22552022, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22552298, 'dashboard_result_id': 10220957, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552298_01-05-2025_05_46_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22552333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22552334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22552335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22552336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22552337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22552338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22552339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22552340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22552341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22552342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22552343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22552344, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22552909, 'dashboard_result_id': 10220958, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552909_01-05-2025_05_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22553000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22553001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22553002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22553003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22553004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22553005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22553006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22553007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22553008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22553009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22553010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22553011, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22553640, 'dashboard_result_id': 10220959, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22553640_01-05-2025_05_47_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22553686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22553687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22553688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22553689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22553690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22553691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22553692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22553693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22553694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22553695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22553696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22553697, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22554225, 'dashboard_result_id': 10220960, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22554225_01-05-2025_05_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22554248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22554249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22554250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22554251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22554252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22554253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22554254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22554255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22554256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22554257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22554258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22554259, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22554869, 'dashboard_result_id': 10220961, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22554869_01-05-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22554916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22554917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22554918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22554919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22554920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22554921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22554922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22554923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22554924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22554925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22554926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22554927, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22556483, 'dashboard_result_id': 10220962, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22556483_01-05-2025_05_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22556546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22556547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22556548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22556549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22556550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22556551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22556552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22556553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22556554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22556555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22556556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22556557, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22557255, 'dashboard_result_id': 10220963, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22557255_01-05-2025_05_49_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22557316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22557317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22557318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22557319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22557320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22557321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22557322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22557323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22557324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22557325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22557326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22557327, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22558203, 'dashboard_result_id': 10220964, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22558203_01-05-2025_05_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22558233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22558234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22558235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22558236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22558237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22558238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22558239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22558240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22558241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22558242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22558243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22558244, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22558906, 'dashboard_result_id': 10220965, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22558906_01-05-2025_05_49_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22558988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22558989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22558990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22558991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22558992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22558993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22558994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22558995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22558996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22558997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22558998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22558999, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22559944, 'dashboard_result_id': 10220966, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22559944_01-05-2025_05_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22560002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22560003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22560004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22560005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22560006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22560007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22560008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22560009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22560010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22560011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22560012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22560013, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22560698, 'dashboard_result_id': 10220967, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22560698_01-05-2025_05_50_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22560729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22560730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22560731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22560732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22560733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22560734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22560735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22560736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22560737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22560738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22560739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22560740, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22561424, 'dashboard_result_id': 10220968, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22561424_01-05-2025_05_50_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22561453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22561454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22561455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22561456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22561457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22561458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22561459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22561460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22561461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22561462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22561463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22561464, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22562347, 'dashboard_result_id': 10220969, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22562347_01-05-2025_05_50_41.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22562361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22562362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22562363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22562364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22562365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22562366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22562367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22562368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22562369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22562370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22562371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22562372, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22562830, 'dashboard_result_id': 10220970, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22562830_01-05-2025_05_51_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22562878, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22562879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22562880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22562881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22562882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22562883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22562884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22562885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22562886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22562887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22562888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22562889, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22563649, 'dashboard_result_id': 10220971, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22563649_01-05-2025_05_51_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22563691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22563692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22563693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22563694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22563695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22563696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22563697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22563698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22563699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22563700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22563701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22563702, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22564393, 'dashboard_result_id': 10220972, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22564393_01-05-2025_05_51_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22564432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22564433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22564434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22564435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22564436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22564437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22564438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22564439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22564440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22564441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22564442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22564443, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22566678, 'dashboard_result_id': 10220973, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22566678_01-05-2025_05_51_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22566696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22566697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22566698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22566699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22566700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22566701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22566702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22566703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22566704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22566705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22566706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22566707, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22567495, 'dashboard_result_id': 10220974, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22567495_01-05-2025_05_52_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22567560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22567561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22567562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22567563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22567564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22567565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22567566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22567567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22567568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22567569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22567570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22567571, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22568177, 'dashboard_result_id': 10220975, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22568177_01-05-2025_05_53_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22568262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22568263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22568264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22568265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22568266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22568267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22568268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22568269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22568270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22568271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22568272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22568273, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22569317, 'dashboard_result_id': 10220976, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22569317_30-04-2025_23_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22569360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22569361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22569362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22569363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22569364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22569365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22569366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22569367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22569368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22569369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22569370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22569371, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22570136, 'dashboard_result_id': 10220977, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22570136_30-04-2025_23_21_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22570167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22570168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22570169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22570170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22570171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22570172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22570173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22570174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22570175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22570176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22570177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22570178, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22570964, 'dashboard_result_id': 10220978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22570964_30-04-2025_23_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22571041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22571042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22571043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22571044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22571045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22571046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22571047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22571048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22571049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22571050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22571051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22571052, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22571732, 'dashboard_result_id': 10220979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22571732_30-04-2025_23_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22571757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22571758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22571759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22571760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22571761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22571762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22571763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22571764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22571765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22571766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22571767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22571768, 'pht': 3726}}"}, {'dashboat_entry_day': 1757228, 'dashboard_run_id': 1769648, 'mtr_portfolio_id': 22572051, 'dashboard_result_id': 10220980, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22572051_01-05-2025_02_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22572079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22572080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22572081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22572082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22572083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22572084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22572085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22572086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22572087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22572088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22572089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22572090, '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 = 22526515 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777763, 'mtr_portfolio_id': 22526515, 'created_at': datetime.datetime(2025, 5, 1, 5, 34, 30), 'result': '0.06603091637010676', 'result_long': None, 'result_double': None}] Qualite : 0.06603091637010676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22526515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22526515_01-05-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22526515 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22526515_01-05-2025_05_34_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22526516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22526517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22526518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22526519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22526520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22526521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22526522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22526523, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22526524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22526525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22526526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22526527, 'pht': 3726}}" where mtr_portfolio_id = 22526515 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22526515 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220922, 0.06603091637010676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22526515_01-05-2025_05_34_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22526516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22526517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22526518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22526519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22526520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22526521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22526522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22526523, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22526524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22526525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22526526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22526527, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22528309 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777764, 'mtr_portfolio_id': 22528309, 'created_at': datetime.datetime(2025, 5, 1, 5, 34, 59), 'result': '0.0541596861272124', 'result_long': None, 'result_double': None}] Qualite : 0.0541596861272124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22528309 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528309_01-05-2025_05_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22528309 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528309_01-05-2025_05_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22528311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22528312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22528313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22528314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22528315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22528316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22528317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22528318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22528319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22528320, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22528321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22528322, 'pht': 3726}}" where mtr_portfolio_id = 22528309 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22528309 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220923, 0.0541596861272124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528309_01-05-2025_05_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22528311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22528312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22528313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22528314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22528315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22528316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22528317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22528318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22528319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22528320, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22528321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22528322, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22528467 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777765, 'mtr_portfolio_id': 22528467, 'created_at': datetime.datetime(2025, 5, 1, 5, 35, 32), 'result': '0.04773812404485209', 'result_long': None, 'result_double': None}] Qualite : 0.04773812404485209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22528467 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528467_01-05-2025_05_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22528467 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528467_01-05-2025_05_35_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22528470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22528471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22528472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22528473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22528474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22528475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22528476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22528477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22528478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22528479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22528480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22528481, 'pht': 3726}}" where mtr_portfolio_id = 22528467 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22528467 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220924, 0.04773812404485209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528467_01-05-2025_05_35_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22528470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22528471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22528472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22528473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22528474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22528475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22528476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22528477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22528478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22528479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22528480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22528481, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22528725 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777766, 'mtr_portfolio_id': 22528725, 'created_at': datetime.datetime(2025, 5, 1, 5, 35, 28), 'result': '0.047352666859561', 'result_long': None, 'result_double': None}] Qualite : 0.047352666859561 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22528725 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528725_01-05-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22528725 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528725_01-05-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22528750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22528751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22528752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22528753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22528754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22528755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22528756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22528757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22528758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22528759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22528760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22528761, 'pht': 3726}}" where mtr_portfolio_id = 22528725 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22528725 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220925, 0.047352666859561, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22528725_01-05-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22528750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22528751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22528752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22528753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22528754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22528755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22528756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22528757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22528758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22528759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22528760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22528761, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22529264 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777767, 'mtr_portfolio_id': 22529264, 'created_at': datetime.datetime(2025, 5, 1, 5, 35, 38), 'result': '0.06593710888735793', 'result_long': None, 'result_double': None}] Qualite : 0.06593710888735793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22529264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22529264_01-05-2025_05_35_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22529264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22529264_01-05-2025_05_35_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22529292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22529293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22529294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22529295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22529296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22529297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22529298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22529299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22529300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22529301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22529302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22529303, 'pht': 3726}}" where mtr_portfolio_id = 22529264 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22529264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220926, 0.06593710888735793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22529264_01-05-2025_05_35_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22529292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22529293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22529294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22529295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22529296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22529297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22529298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22529299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22529300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22529301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22529302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22529303, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22529945 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777768, 'mtr_portfolio_id': 22529945, 'created_at': datetime.datetime(2025, 5, 1, 5, 35, 58), 'result': '0.04918859698966567', 'result_long': None, 'result_double': None}] Qualite : 0.04918859698966567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22529945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22529945_01-05-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22529945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22529945_01-05-2025_05_36_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22529946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22529947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22529948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22529949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22529950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22529951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22529952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22529953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22529954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22529955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22529956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22529957, 'pht': 3726}}" where mtr_portfolio_id = 22529945 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22529945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220927, 0.04918859698966567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22529945_01-05-2025_05_36_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22529946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22529947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22529948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22529949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22529950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22529951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22529952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22529953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22529954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22529955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22529956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22529957, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22530302 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777769, 'mtr_portfolio_id': 22530302, 'created_at': datetime.datetime(2025, 5, 1, 5, 36, 27), 'result': '0.06694970404770444', 'result_long': None, 'result_double': None}] Qualite : 0.06694970404770444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22530302 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22530302_01-05-2025_05_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22530302 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22530302_01-05-2025_05_36_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22530327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22530328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22530329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22530330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22530331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22530332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22530333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22530334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22530335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22530336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22530337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22530338, 'pht': 3726}}" where mtr_portfolio_id = 22530302 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22530302 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220928, 0.06694970404770444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22530302_01-05-2025_05_36_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22530327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22530328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22530329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22530330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22530331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22530332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22530333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22530334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22530335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22530336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22530337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22530338, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22530537 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777770, 'mtr_portfolio_id': 22530537, 'created_at': datetime.datetime(2025, 5, 1, 5, 36, 57), 'result': '0.05050872987502817', 'result_long': None, 'result_double': None}] Qualite : 0.05050872987502817 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22530537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22530537_01-05-2025_05_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22530537 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22530537_01-05-2025_05_36_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22530567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22530568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22530569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22530570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22530571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22530572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22530573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22530574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22530575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22530576, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22530577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22530578, 'pht': 3726}}" where mtr_portfolio_id = 22530537 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22530537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220929, 0.05050872987502817, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22530537_01-05-2025_05_36_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22530567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22530568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22530569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22530570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22530571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22530572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22530573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22530574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22530575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22530576, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22530577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22530578, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22531077 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777771, 'mtr_portfolio_id': 22531077, 'created_at': datetime.datetime(2025, 5, 1, 5, 37, 27), 'result': '0.03811690192825598', 'result_long': None, 'result_double': None}] Qualite : 0.03811690192825598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22531077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22531077_01-05-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22531077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22531077_01-05-2025_05_37_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22531081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22531082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22531083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22531084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22531085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22531086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22531087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22531088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22531089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22531090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22531091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22531092, 'pht': 3726}}" where mtr_portfolio_id = 22531077 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22531077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220930, 0.03811690192825598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22531077_01-05-2025_05_37_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22531081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22531082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22531083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22531084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22531085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22531086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22531087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22531088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22531089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22531090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22531091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22531092, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22531438 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777772, 'mtr_portfolio_id': 22531438, 'created_at': datetime.datetime(2025, 5, 1, 5, 37, 29), 'result': '0.06064747174822353', 'result_long': None, 'result_double': None}] Qualite : 0.06064747174822353 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22531438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22531438_01-05-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22531438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22531438_01-05-2025_05_37_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22531463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22531464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22531465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22531466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22531467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22531468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22531469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22531470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22531471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22531472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22531473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22531474, 'pht': 3726}}" where mtr_portfolio_id = 22531438 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22531438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220931, 0.06064747174822353, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22531438_01-05-2025_05_37_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22531463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22531464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22531465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22531466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22531467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22531468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22531469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22531470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22531471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22531472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22531473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22531474, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22532077 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777773, 'mtr_portfolio_id': 22532077, 'created_at': datetime.datetime(2025, 5, 1, 5, 37, 29), 'result': '0.04883980063792039', 'result_long': None, 'result_double': None}] Qualite : 0.04883980063792039 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22532077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22532077_01-05-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22532077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22532077_01-05-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22532102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22532103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22532104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22532105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22532106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22532107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22532108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22532109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22532110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22532111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22532112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22532113, 'pht': 3726}}" where mtr_portfolio_id = 22532077 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22532077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220932, 0.04883980063792039, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22532077_01-05-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22532102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22532103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22532104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22532105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22532106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22532107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22532108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22532109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22532110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22532111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22532112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22532113, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22532565 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777774, 'mtr_portfolio_id': 22532565, 'created_at': datetime.datetime(2025, 5, 1, 5, 37, 58), 'result': '0.03881451969242332', 'result_long': None, 'result_double': None}] Qualite : 0.03881451969242332 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22532565 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22532565_01-05-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22532565 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22532565_01-05-2025_05_38_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22532631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22532632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22532633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22532634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22532635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22532636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22532637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22532638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22532639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22532640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22532641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22532642, 'pht': 3726}}" where mtr_portfolio_id = 22532565 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22532565 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220933, 0.03881451969242332, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22532565_01-05-2025_05_38_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22532631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22532632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22532633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22532634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22532635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22532636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22532637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22532638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22532639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22532640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22532641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22532642, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22533018 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777775, 'mtr_portfolio_id': 22533018, 'created_at': datetime.datetime(2025, 5, 1, 5, 38, 30), 'result': '0.05397669112014419', 'result_long': None, 'result_double': None}] Qualite : 0.05397669112014419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22533018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22533018_01-05-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22533018 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22533018_01-05-2025_05_38_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22533046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22533047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22533048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22533049, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22533050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22533051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22533052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22533053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22533054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22533055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22533056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22533057, 'pht': 3726}}" where mtr_portfolio_id = 22533018 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22533018 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220934, 0.05397669112014419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22533018_01-05-2025_05_38_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22533046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22533047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22533048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22533049, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22533050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22533051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22533052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22533053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22533054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22533055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22533056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22533057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22533642 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777776, 'mtr_portfolio_id': 22533642, 'created_at': datetime.datetime(2025, 5, 1, 5, 38, 57), 'result': '0.03792408745461411', 'result_long': None, 'result_double': None}] Qualite : 0.03792408745461411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22533642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22533642_01-05-2025_05_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22533642 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22533642_01-05-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22533649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22533650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22533651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22533652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22533653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22533654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22533655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22533656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22533657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22533658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22533659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22533660, 'pht': 3726}}" where mtr_portfolio_id = 22533642 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22533642 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220935, 0.03792408745461411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22533642_01-05-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22533649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22533650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22533651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22533652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22533653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22533654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22533655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22533656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22533657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22533658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22533659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22533660, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22534441 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777777, 'mtr_portfolio_id': 22534441, 'created_at': datetime.datetime(2025, 5, 1, 5, 39, 27), 'result': '0.03641304413796802', 'result_long': None, 'result_double': None}] Qualite : 0.03641304413796802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22534441 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22534441_01-05-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22534441 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22534441_01-05-2025_05_39_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22534447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22534448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22534449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22534450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22534451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22534452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22534453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22534454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22534455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22534456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22534457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22534458, 'pht': 3726}}" where mtr_portfolio_id = 22534441 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22534441 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220936, 0.03641304413796802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22534441_01-05-2025_05_39_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22534447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22534448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22534449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22534450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22534451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22534452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22534453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22534454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22534455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22534456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22534457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22534458, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22534867 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777778, 'mtr_portfolio_id': 22534867, 'created_at': datetime.datetime(2025, 5, 1, 5, 39, 28), 'result': '0.03251293580843094', 'result_long': None, 'result_double': None}] Qualite : 0.03251293580843094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22534867 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22534867_01-05-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22534867 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22534867_01-05-2025_05_39_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22534895, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22534896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22534897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22534898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22534899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22534900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22534901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22534902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22534903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22534904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22534905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22534906, 'pht': 3726}}" where mtr_portfolio_id = 22534867 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22534867 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220937, 0.03251293580843094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22534867_01-05-2025_05_39_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22534895, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22534896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22534897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22534898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22534899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22534900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22534901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22534902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22534903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22534904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22534905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22534906, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22535311 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777779, 'mtr_portfolio_id': 22535311, 'created_at': datetime.datetime(2025, 5, 1, 5, 39, 59), 'result': '0.053393952432662005', 'result_long': None, 'result_double': None}] Qualite : 0.053393952432662005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22535311 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22535311_01-05-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22535311 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22535311_01-05-2025_05_40_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22535380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22535381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22535382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22535383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22535384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22535385, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22535386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22535387, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22535388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22535389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22535390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22535391, 'pht': 3726}}" where mtr_portfolio_id = 22535311 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22535311 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220938, 0.053393952432662005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22535311_01-05-2025_05_40_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22535380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22535381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22535382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22535383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22535384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22535385, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22535386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22535387, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22535388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22535389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22535390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22535391, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22536575 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777780, 'mtr_portfolio_id': 22536575, 'created_at': datetime.datetime(2025, 5, 1, 5, 40, 29), 'result': '0.052144860409894474', 'result_long': None, 'result_double': None}] Qualite : 0.052144860409894474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22536575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22536575_01-05-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22536575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22536575_01-05-2025_05_40_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22536579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22536580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22536581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22536582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22536583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22536584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22536585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22536586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22536587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22536588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22536589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22536590, 'pht': 3726}}" where mtr_portfolio_id = 22536575 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22536575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220939, 0.052144860409894474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22536575_01-05-2025_05_40_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22536579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22536580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22536581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22536582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22536583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22536584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22536585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22536586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22536587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22536588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22536589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22536590, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22537123 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777781, 'mtr_portfolio_id': 22537123, 'created_at': datetime.datetime(2025, 5, 1, 5, 40, 37), 'result': '0.0534282802235087', 'result_long': None, 'result_double': None}] Qualite : 0.0534282802235087 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22537123 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22537123_01-05-2025_05_40_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22537123 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22537123_01-05-2025_05_40_40.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22537130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22537131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22537132, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22537133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22537134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22537135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22537136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22537137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22537138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22537139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22537140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22537141, 'pht': 3726}}" where mtr_portfolio_id = 22537123 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22537123 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220940, 0.0534282802235087, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22537123_01-05-2025_05_40_40.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22537130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22537131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22537132, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22537133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22537134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22537135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22537136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22537137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22537138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22537139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22537140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22537141, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22537734 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777782, 'mtr_portfolio_id': 22537734, 'created_at': datetime.datetime(2025, 5, 1, 5, 40, 58), 'result': '0.05834089294109832', 'result_long': None, 'result_double': None}] Qualite : 0.05834089294109832 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22537734 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22537734_01-05-2025_05_41_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22537734 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22537734_01-05-2025_05_41_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22537761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22537762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22537763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22537764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22537765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22537766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22537767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22537768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22537769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22537770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22537771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22537772, 'pht': 3726}}" where mtr_portfolio_id = 22537734 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22537734 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220941, 0.05834089294109832, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22537734_01-05-2025_05_41_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22537761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22537762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22537763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22537764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22537765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22537766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22537767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22537768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22537769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22537770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22537771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22537772, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22538229 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777783, 'mtr_portfolio_id': 22538229, 'created_at': datetime.datetime(2025, 5, 1, 5, 41, 2), 'result': '0.05165853345887633', 'result_long': None, 'result_double': None}] Qualite : 0.05165853345887633 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22538229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22538229_01-05-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22538229 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22538229_01-05-2025_05_41_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22538253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22538254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22538255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22538256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22538257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22538258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22538259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22538260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22538261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22538262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22538263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22538264, 'pht': 3726}}" where mtr_portfolio_id = 22538229 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22538229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220942, 0.05165853345887633, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22538229_01-05-2025_05_41_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22538253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22538254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22538255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22538256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22538257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22538258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22538259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22538260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22538261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22538262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22538263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22538264, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22538786 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777784, 'mtr_portfolio_id': 22538786, 'created_at': datetime.datetime(2025, 5, 1, 5, 41, 30), 'result': '0.04984390222835195', 'result_long': None, 'result_double': None}] Qualite : 0.04984390222835195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22538786 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22538786_01-05-2025_05_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22538786 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22538786_01-05-2025_05_41_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22538789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22538790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22538791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22538792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22538793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22538794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22538795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22538796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22538797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22538798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22538799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22538800, 'pht': 3726}}" where mtr_portfolio_id = 22538786 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22538786 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220943, 0.04984390222835195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22538786_01-05-2025_05_41_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22538789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22538790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22538791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22538792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22538793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22538794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22538795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22538796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22538797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22538798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22538799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22538800, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22539166 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777785, 'mtr_portfolio_id': 22539166, 'created_at': datetime.datetime(2025, 5, 1, 5, 41, 27), 'result': '0.06362904392852774', 'result_long': None, 'result_double': None}] Qualite : 0.06362904392852774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22539166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22539166_01-05-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22539166 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22539166_01-05-2025_05_41_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22539173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22539174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22539175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22539176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22539177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22539178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22539179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22539180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22539181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22539182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22539183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22539184, 'pht': 3726}}" where mtr_portfolio_id = 22539166 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22539166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220944, 0.06362904392852774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22539166_01-05-2025_05_41_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22539173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22539174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22539175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22539176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22539177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22539178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22539179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22539180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22539181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22539182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22539183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22539184, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22539903 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777786, 'mtr_portfolio_id': 22539903, 'created_at': datetime.datetime(2025, 5, 1, 5, 41, 58), 'result': '0.07907929961195895', 'result_long': None, 'result_double': None}] Qualite : 0.07907929961195895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22539903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22539903_01-05-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22539903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22539903_01-05-2025_05_42_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22539936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22539937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22539938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22539939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22539940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22539941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22539942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22539943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22539944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22539945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22539946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22539947, 'pht': 3726}}" where mtr_portfolio_id = 22539903 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22539903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220945, 0.07907929961195895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22539903_01-05-2025_05_42_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22539936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22539937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22539938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22539939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22539940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22539941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22539942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22539943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22539944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22539945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22539946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22539947, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22540751 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777787, 'mtr_portfolio_id': 22540751, 'created_at': datetime.datetime(2025, 5, 1, 5, 42, 29), 'result': '0.05643257139800323', 'result_long': None, 'result_double': None}] Qualite : 0.05643257139800323 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22540751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22540751_01-05-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22540751 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22540751_01-05-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22540782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22540783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22540784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22540785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22540786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22540787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22540788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22540789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22540790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22540791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22540792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22540793, 'pht': 3726}}" where mtr_portfolio_id = 22540751 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22540751 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220946, 0.05643257139800323, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22540751_01-05-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22540782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22540783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22540784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22540785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22540786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22540787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22540788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22540789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22540790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22540791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22540792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22540793, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22541523 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777788, 'mtr_portfolio_id': 22541523, 'created_at': datetime.datetime(2025, 5, 1, 5, 43), 'result': '0.05293464079097482', 'result_long': None, 'result_double': None}] Qualite : 0.05293464079097482 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22541523 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22541523_01-05-2025_05_43_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22541523 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22541523_01-05-2025_05_43_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22541552, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22541553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22541554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22541555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22541556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22541557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22541558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22541559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22541560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22541561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22541562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22541563, 'pht': 3726}}" where mtr_portfolio_id = 22541523 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22541523 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220947, 0.05293464079097482, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22541523_01-05-2025_05_43_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22541552, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22541553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22541554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22541555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22541556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22541557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22541558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22541559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22541560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22541561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22541562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22541563, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22542192 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777789, 'mtr_portfolio_id': 22542192, 'created_at': datetime.datetime(2025, 5, 1, 5, 43, 31), 'result': '0.05919028376452635', 'result_long': None, 'result_double': None}] Qualite : 0.05919028376452635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22542192 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22542192_01-05-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22542192 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22542192_01-05-2025_05_43_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22542221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22542222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22542223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22542224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22542225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22542226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22542227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22542228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22542229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22542230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22542231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22542232, 'pht': 3726}}" where mtr_portfolio_id = 22542192 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22542192 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220948, 0.05919028376452635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22542192_01-05-2025_05_43_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22542221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22542222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22542223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22542224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22542225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22542226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22542227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22542228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22542229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22542230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22542231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22542232, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22542669 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777790, 'mtr_portfolio_id': 22542669, 'created_at': datetime.datetime(2025, 5, 1, 5, 43, 30), 'result': '0.055206012129918776', 'result_long': None, 'result_double': None}] Qualite : 0.055206012129918776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22542669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22542669_01-05-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22542669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22542669_01-05-2025_05_43_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22542699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22542700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22542701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22542702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22542703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22542704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22542705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22542706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22542707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22542708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22542709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22542710, 'pht': 3726}}" where mtr_portfolio_id = 22542669 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22542669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220949, 0.055206012129918776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22542669_01-05-2025_05_43_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22542699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22542700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22542701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22542702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22542703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22542704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22542705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22542706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22542707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22542708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22542709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22542710, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22545030 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777791, 'mtr_portfolio_id': 22545030, 'created_at': datetime.datetime(2025, 5, 1, 5, 44), 'result': '0.04829189661835954', 'result_long': None, 'result_double': None}] Qualite : 0.04829189661835954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22545030 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22545030_01-05-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22545030 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22545030_01-05-2025_05_44_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22545079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22545080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22545081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22545082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22545083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22545084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22545085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22545086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22545087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22545088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22545089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22545090, 'pht': 3726}}" where mtr_portfolio_id = 22545030 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22545030 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220950, 0.04829189661835954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22545030_01-05-2025_05_44_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22545079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22545080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22545081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22545082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22545083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22545084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22545085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22545086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22545087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22545088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22545089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22545090, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22545603 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777792, 'mtr_portfolio_id': 22545603, 'created_at': datetime.datetime(2025, 5, 1, 5, 44, 28), 'result': '0.0410318250029318', 'result_long': None, 'result_double': None}] Qualite : 0.0410318250029318 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22545603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22545603_01-05-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22545603 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22545603_01-05-2025_05_44_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22545673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22545674, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22545675, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22545676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22545677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22545678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22545679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22545680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22545681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22545682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22545683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22545684, 'pht': 3726}}" where mtr_portfolio_id = 22545603 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22545603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220951, 0.0410318250029318, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22545603_01-05-2025_05_44_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22545673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22545674, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22545675, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22545676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22545677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22545678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22545679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22545680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22545681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22545682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22545683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22545684, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22546186 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777793, 'mtr_portfolio_id': 22546186, 'created_at': datetime.datetime(2025, 5, 1, 5, 44, 58), 'result': '0.045816530606585935', 'result_long': None, 'result_double': None}] Qualite : 0.045816530606585935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22546186 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22546186_01-05-2025_05_45_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22546186 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22546186_01-05-2025_05_45_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22546227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22546228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22546229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22546230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22546231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22546232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22546233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22546234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22546235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22546236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22546237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22546238, 'pht': 3726}}" where mtr_portfolio_id = 22546186 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22546186 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220952, 0.045816530606585935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22546186_01-05-2025_05_45_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22546227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22546228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22546229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22546230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22546231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22546232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22546233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22546234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22546235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22546236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22546237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22546238, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22547208 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777794, 'mtr_portfolio_id': 22547208, 'created_at': datetime.datetime(2025, 5, 1, 5, 45, 27), 'result': '0.04657723973490239', 'result_long': None, 'result_double': None}] Qualite : 0.04657723973490239 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22547208 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22547208_01-05-2025_05_45_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22547208 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22547208_01-05-2025_05_45_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22547283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22547284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22547285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22547286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22547287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22547288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22547289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22547290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22547291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22547292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22547293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22547294, 'pht': 3726}}" where mtr_portfolio_id = 22547208 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22547208 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220953, 0.04657723973490239, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22547208_01-05-2025_05_45_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22547283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22547284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22547285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22547286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22547287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22547288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22547289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22547290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22547291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22547292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22547293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22547294, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22548118 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777795, 'mtr_portfolio_id': 22548118, 'created_at': datetime.datetime(2025, 5, 1, 5, 45, 37), 'result': '0.05381194654058508', 'result_long': None, 'result_double': None}] Qualite : 0.05381194654058508 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22548118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22548118_01-05-2025_05_45_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22548118 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22548118_01-05-2025_05_45_40.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22548180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22548181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22548182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22548183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22548184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22548185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22548186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22548187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22548188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22548189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22548190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22548191, 'pht': 3726}}" where mtr_portfolio_id = 22548118 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22548118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220954, 0.05381194654058508, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22548118_01-05-2025_05_45_40.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22548180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22548181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22548182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22548183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22548184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22548185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22548186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22548187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22548188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22548189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22548190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22548191, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22549007 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777796, 'mtr_portfolio_id': 22549007, 'created_at': datetime.datetime(2025, 5, 1, 5, 45, 59), 'result': '0.04454407974517417', 'result_long': None, 'result_double': None}] Qualite : 0.04454407974517417 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22549007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22549007_01-05-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22549007 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22549007_01-05-2025_05_46_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22549126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22549127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22549128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22549129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22549130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22549131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22549132, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22549133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22549134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22549135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22549136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22549137, 'pht': 3726}}" where mtr_portfolio_id = 22549007 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22549007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220955, 0.04454407974517417, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22549007_01-05-2025_05_46_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22549126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22549127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22549128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22549129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22549130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22549131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22549132, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22549133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22549134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22549135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22549136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22549137, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22552008 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777797, 'mtr_portfolio_id': 22552008, 'created_at': datetime.datetime(2025, 5, 1, 5, 46, 28), 'result': '0.05189816106313183', 'result_long': None, 'result_double': None}] Qualite : 0.05189816106313183 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22552008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552008_01-05-2025_05_46_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22552008 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552008_01-05-2025_05_46_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22552011, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22552012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22552013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22552014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22552015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22552016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22552017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22552018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22552019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22552020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22552021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22552022, 'pht': 3726}}" where mtr_portfolio_id = 22552008 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22552008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220956, 0.05189816106313183, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552008_01-05-2025_05_46_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22552011, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22552012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22552013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22552014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22552015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22552016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22552017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22552018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22552019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22552020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22552021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22552022, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22552298 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777798, 'mtr_portfolio_id': 22552298, 'created_at': datetime.datetime(2025, 5, 1, 5, 46, 33), 'result': '0.058366302027269515', 'result_long': None, 'result_double': None}] Qualite : 0.058366302027269515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22552298 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552298_01-05-2025_05_46_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22552298 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552298_01-05-2025_05_46_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22552333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22552334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22552335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22552336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22552337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22552338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22552339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22552340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22552341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22552342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22552343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22552344, 'pht': 3726}}" where mtr_portfolio_id = 22552298 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22552298 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220957, 0.058366302027269515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552298_01-05-2025_05_46_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22552333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22552334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22552335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22552336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22552337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22552338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22552339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22552340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22552341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22552342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22552343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22552344, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22552909 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777799, 'mtr_portfolio_id': 22552909, 'created_at': datetime.datetime(2025, 5, 1, 5, 46, 59), 'result': '0.052748718527812335', 'result_long': None, 'result_double': None}] Qualite : 0.052748718527812335 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22552909 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552909_01-05-2025_05_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22552909 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552909_01-05-2025_05_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22553000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22553001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22553002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22553003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22553004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22553005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22553006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22553007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22553008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22553009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22553010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22553011, 'pht': 3726}}" where mtr_portfolio_id = 22552909 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22552909 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220958, 0.052748718527812335, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22552909_01-05-2025_05_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22553000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22553001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22553002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22553003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22553004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22553005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22553006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22553007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22553008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22553009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22553010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22553011, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22553640 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777800, 'mtr_portfolio_id': 22553640, 'created_at': datetime.datetime(2025, 5, 1, 5, 47, 32), 'result': '0.055900352897938134', 'result_long': None, 'result_double': None}] Qualite : 0.055900352897938134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22553640 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22553640_01-05-2025_05_47_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22553640 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22553640_01-05-2025_05_47_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22553686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22553687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22553688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22553689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22553690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22553691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22553692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22553693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22553694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22553695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22553696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22553697, 'pht': 3726}}" where mtr_portfolio_id = 22553640 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22553640 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220959, 0.055900352897938134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22553640_01-05-2025_05_47_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22553686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22553687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22553688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22553689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22553690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22553691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22553692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22553693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22553694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22553695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22553696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22553697, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22554225 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777801, 'mtr_portfolio_id': 22554225, 'created_at': datetime.datetime(2025, 5, 1, 5, 47, 31), 'result': '0.036467654198737744', 'result_long': None, 'result_double': None}] Qualite : 0.036467654198737744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22554225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22554225_01-05-2025_05_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22554225 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22554225_01-05-2025_05_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22554248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22554249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22554250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22554251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22554252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22554253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22554254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22554255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22554256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22554257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22554258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22554259, 'pht': 3726}}" where mtr_portfolio_id = 22554225 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22554225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220960, 0.036467654198737744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22554225_01-05-2025_05_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22554248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22554249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22554250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22554251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22554252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22554253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22554254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22554255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22554256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22554257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22554258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22554259, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22554869 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777802, 'mtr_portfolio_id': 22554869, 'created_at': datetime.datetime(2025, 5, 1, 5, 48), 'result': '0.047282179008158814', 'result_long': None, 'result_double': None}] Qualite : 0.047282179008158814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22554869 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22554869_01-05-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22554869 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22554869_01-05-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22554916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22554917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22554918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22554919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22554920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22554921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22554922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22554923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22554924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22554925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22554926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22554927, 'pht': 3726}}" where mtr_portfolio_id = 22554869 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22554869 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220961, 0.047282179008158814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22554869_01-05-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22554916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22554917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22554918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22554919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22554920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22554921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22554922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22554923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22554924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22554925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22554926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22554927, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22556483 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777803, 'mtr_portfolio_id': 22556483, 'created_at': datetime.datetime(2025, 5, 1, 5, 48, 28), 'result': '0.04487165827253722', 'result_long': None, 'result_double': None}] Qualite : 0.04487165827253722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22556483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22556483_01-05-2025_05_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22556483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22556483_01-05-2025_05_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22556546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22556547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22556548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22556549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22556550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22556551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22556552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22556553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22556554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22556555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22556556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22556557, 'pht': 3726}}" where mtr_portfolio_id = 22556483 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22556483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220962, 0.04487165827253722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22556483_01-05-2025_05_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22556546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22556547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22556548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22556549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22556550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22556551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22556552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22556553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22556554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22556555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22556556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22556557, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22557255 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777804, 'mtr_portfolio_id': 22557255, 'created_at': datetime.datetime(2025, 5, 1, 5, 48, 59), 'result': '0.03721274937607456', 'result_long': None, 'result_double': None}] Qualite : 0.03721274937607456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22557255 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22557255_01-05-2025_05_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22557255 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22557255_01-05-2025_05_49_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22557316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22557317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22557318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22557319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22557320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22557321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22557322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22557323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22557324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22557325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22557326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22557327, 'pht': 3726}}" where mtr_portfolio_id = 22557255 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22557255 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220963, 0.03721274937607456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22557255_01-05-2025_05_49_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22557316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22557317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22557318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22557319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22557320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22557321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22557322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22557323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22557324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22557325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22557326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22557327, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22558203 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777805, 'mtr_portfolio_id': 22558203, 'created_at': datetime.datetime(2025, 5, 1, 5, 49, 1), 'result': '0.05300130976316875', 'result_long': None, 'result_double': None}] Qualite : 0.05300130976316875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22558203 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22558203_01-05-2025_05_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22558203 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22558203_01-05-2025_05_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22558233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22558234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22558235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22558236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22558237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22558238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22558239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22558240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22558241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22558242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22558243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22558244, 'pht': 3726}}" where mtr_portfolio_id = 22558203 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22558203 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220964, 0.05300130976316875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22558203_01-05-2025_05_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22558233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22558234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22558235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22558236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22558237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22558238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22558239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22558240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22558241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22558242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22558243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22558244, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22558906 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777806, 'mtr_portfolio_id': 22558906, 'created_at': datetime.datetime(2025, 5, 1, 5, 49, 31), 'result': '0.04397942990939621', 'result_long': None, 'result_double': None}] Qualite : 0.04397942990939621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22558906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22558906_01-05-2025_05_49_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22558906 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22558906_01-05-2025_05_49_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22558988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22558989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22558990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22558991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22558992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22558993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22558994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22558995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22558996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22558997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22558998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22558999, 'pht': 3726}}" where mtr_portfolio_id = 22558906 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22558906 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220965, 0.04397942990939621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22558906_01-05-2025_05_49_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22558988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22558989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22558990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22558991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22558992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22558993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22558994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22558995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22558996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22558997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22558998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22558999, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22559944 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777807, 'mtr_portfolio_id': 22559944, 'created_at': datetime.datetime(2025, 5, 1, 5, 49, 28), 'result': '0.04318602806559738', 'result_long': None, 'result_double': None}] Qualite : 0.04318602806559738 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22559944 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22559944_01-05-2025_05_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22559944 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22559944_01-05-2025_05_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22560002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22560003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22560004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22560005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22560006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22560007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22560008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22560009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22560010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22560011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22560012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22560013, 'pht': 3726}}" where mtr_portfolio_id = 22559944 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22559944 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220966, 0.04318602806559738, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22559944_01-05-2025_05_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22560002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22560003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22560004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22560005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22560006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22560007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22560008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22560009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22560010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22560011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22560012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22560013, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22560698 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777808, 'mtr_portfolio_id': 22560698, 'created_at': datetime.datetime(2025, 5, 1, 5, 50), 'result': '0.029700954934273962', 'result_long': None, 'result_double': None}] Qualite : 0.029700954934273962 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22560698 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22560698_01-05-2025_05_50_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22560698 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22560698_01-05-2025_05_50_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22560729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22560730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22560731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22560732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22560733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22560734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22560735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22560736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22560737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22560738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22560739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22560740, 'pht': 3726}}" where mtr_portfolio_id = 22560698 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22560698 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220967, 0.029700954934273962, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22560698_01-05-2025_05_50_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22560729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22560730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22560731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22560732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22560733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22560734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22560735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22560736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22560737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22560738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22560739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22560740, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22561424 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777809, 'mtr_portfolio_id': 22561424, 'created_at': datetime.datetime(2025, 5, 1, 5, 50, 30), 'result': '0.04374298173073647', 'result_long': None, 'result_double': None}] Qualite : 0.04374298173073647 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22561424 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22561424_01-05-2025_05_50_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22561424 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22561424_01-05-2025_05_50_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22561453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22561454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22561455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22561456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22561457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22561458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22561459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22561460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22561461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22561462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22561463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22561464, 'pht': 3726}}" where mtr_portfolio_id = 22561424 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22561424 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220968, 0.04374298173073647, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22561424_01-05-2025_05_50_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22561453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22561454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22561455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22561456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22561457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22561458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22561459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22561460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22561461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22561462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22561463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22561464, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22562347 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777810, 'mtr_portfolio_id': 22562347, 'created_at': datetime.datetime(2025, 5, 1, 5, 50, 39), 'result': '0.05346445700886199', 'result_long': None, 'result_double': None}] Qualite : 0.05346445700886199 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22562347 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22562347_01-05-2025_05_50_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22562347 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22562347_01-05-2025_05_50_41.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22562361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22562362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22562363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22562364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22562365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22562366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22562367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22562368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22562369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22562370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22562371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22562372, 'pht': 3726}}" where mtr_portfolio_id = 22562347 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22562347 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220969, 0.05346445700886199, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22562347_01-05-2025_05_50_41.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22562361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22562362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22562363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22562364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22562365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22562366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22562367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22562368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22562369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22562370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22562371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22562372, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22562830 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777811, 'mtr_portfolio_id': 22562830, 'created_at': datetime.datetime(2025, 5, 1, 5, 50, 58), 'result': '0.039240642515371335', 'result_long': None, 'result_double': None}] Qualite : 0.039240642515371335 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22562830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22562830_01-05-2025_05_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22562830 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22562830_01-05-2025_05_51_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22562878, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22562879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22562880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22562881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22562882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22562883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22562884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22562885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22562886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22562887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22562888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22562889, 'pht': 3726}}" where mtr_portfolio_id = 22562830 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22562830 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220970, 0.039240642515371335, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22562830_01-05-2025_05_51_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22562878, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22562879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22562880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22562881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22562882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22562883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22562884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22562885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22562886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22562887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22562888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22562889, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22563649 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777812, 'mtr_portfolio_id': 22563649, 'created_at': datetime.datetime(2025, 5, 1, 5, 51, 29), 'result': '0.06243265645533592', 'result_long': None, 'result_double': None}] Qualite : 0.06243265645533592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22563649 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22563649_01-05-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22563649 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22563649_01-05-2025_05_51_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22563691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22563692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22563693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22563694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22563695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22563696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22563697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22563698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22563699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22563700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22563701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22563702, 'pht': 3726}}" where mtr_portfolio_id = 22563649 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22563649 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220971, 0.06243265645533592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22563649_01-05-2025_05_51_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22563691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22563692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22563693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22563694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22563695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22563696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22563697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22563698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22563699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22563700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22563701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22563702, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22564393 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777813, 'mtr_portfolio_id': 22564393, 'created_at': datetime.datetime(2025, 5, 1, 5, 51, 30), 'result': '0.04987898186100749', 'result_long': None, 'result_double': None}] Qualite : 0.04987898186100749 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22564393 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22564393_01-05-2025_05_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22564393 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22564393_01-05-2025_05_51_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22564432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22564433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22564434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22564435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22564436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22564437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22564438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22564439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22564440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22564441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22564442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22564443, 'pht': 3726}}" where mtr_portfolio_id = 22564393 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22564393 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220972, 0.04987898186100749, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22564393_01-05-2025_05_51_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22564432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22564433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22564434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22564435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22564436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22564437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22564438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22564439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22564440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22564441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22564442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22564443, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22566678 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777814, 'mtr_portfolio_id': 22566678, 'created_at': datetime.datetime(2025, 5, 1, 5, 51, 57), 'result': '0.05235964156813905', 'result_long': None, 'result_double': None}] Qualite : 0.05235964156813905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22566678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22566678_01-05-2025_05_51_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22566678 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22566678_01-05-2025_05_51_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22566696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22566697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22566698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22566699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22566700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22566701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22566702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22566703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22566704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22566705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22566706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22566707, 'pht': 3726}}" where mtr_portfolio_id = 22566678 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22566678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220973, 0.05235964156813905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22566678_01-05-2025_05_51_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22566696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22566697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22566698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22566699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22566700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22566701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22566702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22566703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22566704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22566705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22566706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22566707, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22567495 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777815, 'mtr_portfolio_id': 22567495, 'created_at': datetime.datetime(2025, 5, 1, 5, 52, 31), 'result': '0.044239003439598294', 'result_long': None, 'result_double': None}] Qualite : 0.044239003439598294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22567495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22567495_01-05-2025_05_52_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22567495 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22567495_01-05-2025_05_52_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22567560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22567561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22567562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22567563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22567564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22567565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22567566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22567567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22567568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22567569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22567570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22567571, 'pht': 3726}}" where mtr_portfolio_id = 22567495 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22567495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220974, 0.044239003439598294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22567495_01-05-2025_05_52_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22567560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22567561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22567562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22567563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22567564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22567565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22567566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22567567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22567568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22567569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22567570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22567571, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22568177 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777816, 'mtr_portfolio_id': 22568177, 'created_at': datetime.datetime(2025, 5, 1, 5, 52, 58), 'result': '0.07252779520196882', 'result_long': None, 'result_double': None}] Qualite : 0.07252779520196882 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22568177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22568177_01-05-2025_05_53_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22568177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22568177_01-05-2025_05_53_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22568262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22568263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22568264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22568265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22568266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22568267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22568268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22568269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22568270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22568271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22568272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22568273, 'pht': 3726}}" where mtr_portfolio_id = 22568177 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22568177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220975, 0.07252779520196882, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22568177_01-05-2025_05_53_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22568262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22568263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22568264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22568265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22568266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22568267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22568268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22568269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22568270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22568271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22568272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22568273, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22569317 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777817, 'mtr_portfolio_id': 22569317, 'created_at': datetime.datetime(2025, 5, 1, 5, 53, 32), 'result': '0.04702300518638686', 'result_long': None, 'result_double': None}] Qualite : 0.04702300518638686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22569317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22569317_30-04-2025_23_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22569317 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22569317_30-04-2025_23_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22569360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22569361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22569362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22569363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22569364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22569365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22569366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22569367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22569368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22569369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22569370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22569371, 'pht': 3726}}" where mtr_portfolio_id = 22569317 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22569317 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220976, 0.04702300518638686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22569317_30-04-2025_23_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22569360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22569361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22569362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22569363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22569364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22569365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22569366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22569367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22569368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22569369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22569370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22569371, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22570136 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2777818, 'mtr_portfolio_id': 22570136, 'created_at': datetime.datetime(2025, 5, 1, 5, 53, 28), 'result': '0.04459055678406828', 'result_long': None, 'result_double': None}] Qualite : 0.04459055678406828 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22570136 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22570136_01-05-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22570136 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22570136_01-05-2025_05_53_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22570167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22570168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22570169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22570170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22570171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22570172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22570173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22570174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22570175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22570176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22570177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22570178, 'pht': 3726}}" where mtr_portfolio_id = 22570136 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22570136 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220977, 0.04459055678406828, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22570136_01-05-2025_05_53_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22570167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22570168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22570169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22570170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22570171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22570172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22570173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22570174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22570175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22570176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22570177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22570178, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22570964 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2776676, 'mtr_portfolio_id': 22570964, 'created_at': datetime.datetime(2025, 4, 30, 23, 32, 59), 'result': '0.05746160311759761', 'result_long': None, 'result_double': None}] Qualite : 0.05746160311759761 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22570964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22570964_30-04-2025_23_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22570964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22570964_30-04-2025_23_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22571041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22571042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22571043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22571044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22571045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22571046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22571047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22571048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22571049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22571050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22571051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22571052, 'pht': 3726}}" where mtr_portfolio_id = 22570964 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22570964 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220978, 0.05746160311759761, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22570964_30-04-2025_23_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22571041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22571042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22571043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22571044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22571045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22571046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22571047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22571048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22571049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22571050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22571051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22571052, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22571732 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2776711, 'mtr_portfolio_id': 22571732, 'created_at': datetime.datetime(2025, 4, 30, 23, 47, 1), 'result': '0.0518395952568353', 'result_long': None, 'result_double': None}] Qualite : 0.0518395952568353 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22571732 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22571732_30-04-2025_23_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22571732 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22571732_30-04-2025_23_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22571757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22571758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22571759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22571760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22571761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22571762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22571763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22571764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22571765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22571766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22571767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22571768, 'pht': 3726}}" where mtr_portfolio_id = 22571732 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22571732 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220979, 0.0518395952568353, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22571732_30-04-2025_23_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22571757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22571758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22571759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22571760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22571761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22571762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22571763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22571764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22571765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22571766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22571767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22571768, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22572051 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2776745, 'mtr_portfolio_id': 22572051, 'created_at': datetime.datetime(2025, 5, 1, 2, 5, 59), 'result': '0.05273794772663662', 'result_long': None, 'result_double': None}] Qualite : 0.05273794772663662 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22572051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22572051_01-05-2025_02_05_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22572051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22572051_01-05-2025_02_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22572079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22572080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22572081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22572082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22572083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22572084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22572085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22572086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22572087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22572088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22572089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22572090, 'pht': 3726}}" where mtr_portfolio_id = 22572051 and dashboard_run_id = 1769648 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22572051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10220980, 0.05273794772663662, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22572051_01-05-2025_02_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22572079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22572080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22572081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22572082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22572083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22572084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22572085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22572086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22572087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22572088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22572089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22572090, '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 (22526515,22528309,22528467,22528725,22529264,22529945,22530302,22530537,22531077,22531438,22532077,22532565,22533018,22533642,22534441,22534867,22535311,22536575,22537123,22537734,22538229,22538786,22539166,22539903,22540751,22541523,22542192,22542669,22545030,22545603,22546186,22547208,22548118,22549007,22552008,22552298,22552909,22553640,22554225,22554869,22556483,22557255,22558203,22558906,22559944,22560698,22561424,22562347,22562830,22563649,22564393,22566678,22567495,22568177,22569317,22570136,22570964,22571732,22572051) result : ((1354545782,), (1354545829,), (1354545877,), (1354546754,), (1354550988,), (1354551694,), (1354551721,), (1354552387,), (1354577390,), (1354577772,), (1354577795,), (1354577796,), (1354577797,), (1354577821,), (1354577823,), (1354577908,), (1354577910,), (1354577911,), (1354577912,), (1354577935,), (1354577937,), (1354577939,), (1354577941,), (1354577943,), (1354577945,), (1354577970,), (1354578010,), (1354578012,), (1354578116,), (1354578359,), (1354578453,), (1354578455,), (1354578458,), (1354578461,), (1354578485,), (1354578521,), (1354578523,), (1354578546,), (1354578550,), (1354578579,), (1354578581,), (1354578583,), (1354578622,), (1354578625,), (1354578629,), (1354578667,), (1354578668,), (1354578670,), (1354578671,), (1354578696,), (1354578728,), (1354578731,), (1354578734,), (1354578759,), (1354578762,), (1354578792,), (1354578793,), (1354578838,), (1354578840,), (1354578843,), (1354578849,), (1354578851,), (1354578873,), (1354578875,), (1354578876,), (1354578878,), (1354578899,), (1354578904,), (1354578906,), (1354578908,), (1354578911,), (1354578912,), (1354578931,), (1354578934,), (1354578936,), (1354578938,), (1354578994,), (1354578990,), (1354578991,), (1354578992,), (1354579022,), (1354579025,), (1354579029,), (1354579031,), (1354579033,), (1354579035,), (1354579057,), (1354579059,), (1354579060,), (1354579061,), (1354579062,), (1354579095,), (1354579097,), (1354579098,), (1354579099,), (1354579119,), (1354579123,), (1354579126,), (1354579128,), (1354579131,), (1354579158,), (1354579161,), (1354579170,), (1354579178,), (1354579180,), (1354579209,), (1354579212,), (1354579216,), (1354579219,), (1354579242,), (1354579247,), (1354579248,), (1354579250,), (1354579273,), (1354579277,), (1354579310,), (1354579316,), (1354579337,), (1354579354,), (1354579371,), (1354579399,), (1354579402,), (1354579405,), (1354579428,), (1354579430,), (1354579432,), (1354579434,), (1354579456,), (1354579457,), (1354579459,), (1354579480,), (1354579482,), (1354579486,), (1354579525,), (1354579516,), (1354579518,), (1354579520,), (1354579523,), (1354579547,), (1354579551,), (1354579554,), (1354579557,), (1354579583,), (1354579611,), (1354579614,), (1354579619,), (1354579622,), (1354579662,), (1354579665,), (1354579669,), (1354579696,), (1354579698,), (1354579700,), (1354579949,), (1354579972,), (1354580001,), (1354580352,), (1354580378,), (1354580406,), (1354580435,), (1354580471,), (1354580755,), (1354580782,), (1354580808,), (1354580833,), (1354580878,), (1354580881,), (1354580884,), (1354580887,), (1354581093,), (1354581117,), (1354581145,), (1354581340,), (1354581364,), (1354581397,), (1354581445,), (1354585701,), (1354586584,), (1354586588,), (1354586593,), (1354586596,), (1354586598,), (1354586618,), (1354586619,), (1354586644,), (1354586669,), (1354586701,), (1354586728,), (1354587005,), (1354587033,), (1354587047,), (1354587052,), (1354587231,), (1354587235,), (1354587238,), (1354587241,), (1354587265,), (1354587272,), (1354587274,), (1354587277,), (1354587297,), (1354587299,), (1354587325,), (1354587326,), (1354587327,), (1354587328,), (1354587360,), (1354587363,), (1354587366,), (1354587368,), (1354587585,), (1354587588,), (1354587590,), (1354587591,), (1354587842,), (1354587873,), (1354587876,), (1354587903,), (1354587904,), (1354587905,), (1354587906,), (1354587938,), (1354587948,), (1354587951,), (1354587980,), (1354587984,), (1354587986,), (1354587988,), (1354587989,), (1354588016,), (1354588022,), (1354588028,), (1354588055,), (1354588057,), (1354588059,), (1354588061,), (1354588079,), (1354588084,), (1354588086,), (1354588089,), (1354588108,), (1354588112,), (1354588115,), (1354588138,), (1354588140,), (1354588149,), (1354588170,), (1354588174,), (1354588196,), (1354588199,), (1354588200,), (1354588201,), (1354588203,), (1354588218,), (1354588221,), (1354588224,), (1354588227,), (1354588230,), (1354588259,), (1354588261,), (1354588262,), (1354588325,), (1354588311,), (1354588315,), (1354588319,), (1354588322,), (1354588341,), (1354588351,), (1354588355,), (1354588377,), (1354588380,), (1354588382,), (1354588384,), (1354588386,), (1354588427,), (1354588431,), (1354588435,), (1354588456,), (1354588459,), (1354588462,), (1354588489,), (1354588492,), (1354588495,), (1354588498,), (1354588500,), (1354588529,), (1354588532,), (1354588533,), (1354588535,), (1354588562,), (1354588565,), (1354588572,), (1354588603,), (1354588605,), (1354588636,), (1354588642,), (1354588651,), (1354588703,), (1354588729,), (1354588751,), (1354588753,), (1354588755,), (1354588757,), (1354588762,), (1354588782,), (1354588785,), (1354588787,), (1354588790,), (1354588812,), (1354588816,), (1354588819,), (1354588822,), (1354588825,), (1354588849,), (1354588851,), (1354588854,), (1354588904,), (1354588887,), (1354588895,), (1354588900,), (1354588934,), (1354588937,), (1354588939,), (1354588941,), (1354588943,), (1354588946,), (1354588970,), (1354588975,), (1354588979,), (1354588983,), (1354588986,), (1354588989,), (1354589015,), (1354589016,), (1354589063,), (1354589066,), (1354589068,), (1354589070,), (1354589072,), (1354589131,), (1354589134,), (1354589136,), (1354589138,), (1354589140,), (1354589143,), (1354589178,), (1354589181,), (1354589183,), (1354589222,), (1354589225,), (1354589228,), (1354589230,), (1354589235,), (1354589237,), (1354589266,), (1354589267,), (1354589268,), (1354589270,), (1354589273,), (1354589305,), (1354589308,), (1354589310,), (1354589343,), (1354589345,), (1354589347,), (1354589349,), (1354589351,), (1354589352,), (1354589372,), (1354589376,), (1354589378,), (1354589380,), (1354589382,), (1354589386,), (1354589408,), (1354589412,), (1354589418,), (1354589424,), (1354589828,), (1354589858,), (1354589891,), (1354589926,), (1354589961,), (1354590270,), (1354590158,), (1354590176,), (1354590198,), (1354590236,), (1354590665,), (1354590700,), (1354590758,), (1354590799,), (1354590833,), (1354590865,), (1354591120,), (1354591146,), (1354591174,), (1354591202,), (1354591229,), (1354591523,), (1354591550,), (1354591700,), (1354591714,), (1354591745,), (1354591760,), (1354591766,), (1354591840,), (1354591842,), (1354591846,), (1354591851,), (1354591855,), (1354591860,), (1354591896,), (1354591901,), (1354591907,), (1354591911,), (1354591915,), (1354591950,), (1354591954,), (1354591957,), (1354591961,), (1354592008,), (1354592011,), (1354592015,), (1354592019,), (1354592053,), (1354592074,), (1354592078,), (1354592091,), (1354592102,), (1354592162,), (1354592165,), (1354592192,), (1354592216,), (1354592219,), (1354592252,), (1354592256,), (1354592260,), (1354592288,), (1354592292,), (1354592296,), (1354592336,), (1354592339,), (1354592342,), (1354592344,), (1354592370,), (1354592373,), (1354592375,), (1354592381,), (1354592433,), (1354592420,), (1354592423,), (1354592425,), (1354592428,), (1354592461,), (1354592464,), (1354592504,), (1354592506,), (1354592511,), (1354592516,), (1354592518,), (1354592565,), (1354592588,), (1354592595,), (1354592615,), (1354592672,), (1354592676,), (1354592680,), (1354592684,), (1354592731,), (1354592750,), (1354592764,), (1354592781,), (1354592859,), (1354592862,), (1354592866,), (1354592965,), (1354593016,), (1354593051,), (1354593079,), (1354593106,), (1354593373,), (1354593380,), (1354593396,), (1354593572,), (1354593580,), (1354593586,), (1354593589,), (1354593696,), (1354593700,), (1354593866,), (1354593891,), (1354594012,), (1354594020,), (1354594024,), (1354594027,), (1354594057,), (1354594061,), (1354594064,), (1354594066,), (1354594069,), (1354594092,), (1354594096,), (1354594100,), (1354594103,), (1354594106,), (1354594182,), (1354594179,), (1354594236,), (1354594245,), (1354594249,), (1354594254,), (1354594300,), (1354594303,), (1354594306,), (1354594309,), (1354594313,), (1354594365,), (1354594369,), (1354594381,), (1354594385,), (1354594694,), (1354594727,), (1354594793,), (1354594946,), (1354594950,), (1354594954,), (1354594957,), (1354594982,), (1354594984,), (1354594987,), (1354594990,), (1354594993,), (1354595031,), (1354595032,), (1354595038,), (1354595044,), (1354595089,), (1354595358,), (1354595363,), (1354595437,), (1354595444,), (1354595472,), (1354595594,), (1354595508,), (1354595512,), (1354595515,), (1354595590,), (1354595612,), (1354595616,), (1354595621,), (1354595626,), (1354595628,), (1354595631,), (1354595651,), (1354595655,), (1354595659,), (1354595663,), (1354595667,), (1354595711,), (1354595720,), (1354595729,), (1354595742,), (1354595745,), (1354595747,), (1354595825,), (1354595828,), (1354595863,), (1354596048,), (1354596053,), (1354596059,), (1354596063,), (1354596066,), (1354596111,), (1354596150,), (1354596156,), (1354596159,), (1354596161,), (1354596163,), (1354596197,), (1354596203,), (1354596205,), (1354596229,), (1354596233,), (1354596238,), (1354596242,), (1354596246,), (1354596265,), (1354596269,), (1354596274,), (1354596280,), (1354596286,), (1354596340,), (1354596356,), (1354596367,), (1354596369,), (1354596372,), (1354596376,), (1354596463,), (1354596491,), (1354596530,), (1354597030,), (1354597060,), (1354597111,), (1354597135,), (1354597337,), (1354597344,), (1354597346,), (1354597402,), (1354597387,), (1354597607,), (1354597652,), (1354597684,), (1354598368,), (1354598418,), (1354598470,), (1354598537,), (1354598594,), (1354598647,), (1354599181,), (1354599244,), (1354599313,), (1354599369,), (1354599402,), (1354599700,), (1354599726,), (1354599729,), (1354599846,), (1354599879,), (1354599911,), (1354599943,), (1354600390,), (1354600434,), (1354600472,), (1354600977,), (1354600980,), (1354600986,), (1354601018,), (1354601071,), (1354601302,), (1354601328,), (1354601341,), (1354601348,), (1354601379,), (1354601383,), (1354601388,), (1354601391,), (1354601495,), (1354601507,), (1354601529,), (1354601578,), (1354601616,), (1354601658,), (1354601661,), (1354601668,), (1354601704,), (1354601706,), (1354601710,), (1354601744,), (1354601747,), (1354601749,), (1354601753,), (1354601756,), (1354601780,), (1354601782,), (1354601785,), (1354602162,), (1354602297,), (1354602300,), (1354602337,), (1354602342,), (1354602345,), (1354602385,), (1354602388,), (1354602458,), (1354602463,), (1354602497,), (1354602501,), (1354602513,), (1354602517,), (1354602521,), (1354602585,), (1354602590,), (1354602598,), (1354602607,), (1354602654,), (1354602661,), (1354602671,), (1354602677,), (1354602683,), (1354602704,), (1354602708,), (1354602717,), (1354602722,), (1354602735,), (1354602797,), (1354602802,), (1354602808,), (1354602812,), (1354602847,), (1354602851,), (1354602895,), (1354602898,), (1354602900,), (1354602902,), (1354602905,), (1354602909,), (1354602936,), (1354602946,), (1354602955,), (1354602961,), (1354603042,), (1354603019,), (1354603031,), (1354603033,), (1354603036,), (1354603074,), (1354603077,), (1354603113,), (1354603123,), (1354603127,), (1354603164,), (1354603169,), (1354603172,), (1354603175,), (1354603206,), (1354603209,), (1354603212,), (1354603261,), (1354603263,), (1354603266,), (1354603269,), (1354603294,), (1354603298,), (1354603301,), (1354603338,), (1354603341,), (1354603344,), (1354603347,), (1354603351,), (1354603388,), (1354603434,), (1354603441,), (1354603515,), (1354603540,), (1354603545,), (1354603548,), (1354603553,), (1354603557,), (1354603561,), (1354603579,), (1354603581,), (1354603582,), (1354603618,), (1354603622,), (1354603626,), (1354603656,), (1354603659,), (1354603661,), (1354603664,), (1354603699,), (1354603693,), (1354603697,), (1354603728,), (1354603736,), (1354603739,), (1354603741,), (1354603800,), (1354603809,), (1354603819,), (1354603914,), (1354604010,), (1354604019,), (1354604023,), (1354604025,), (1354604028,), (1354604098,), (1354604155,), (1354604157,), (1354604159,), (1354604162,), (1354604168,), (1354604188,), (1354604190,), (1354604194,), (1354604197,), (1354604199,), (1354604202,), (1354604227,), (1354604236,), (1354604239,), (1354604243,), (1354604268,), (1354604272,), (1354604368,), (1354604394,), (1354604402,), (1354604505,), (1354604508,), (1354604511,), (1354604535,), (1354604538,), (1354604723,), (1354604724,), (1354604753,), (1354604785,), (1354604833,), (1354604857,), (1354604897,), (1354604900,), (1354604903,), (1354604906,), (1354604908,), (1354605402,), (1354605409,), (1354605457,), (1354605476,), (1354605827,), (1354610524,), (1354610528,), (1354610532,), (1354610534,), (1354610565,), (1354610576,), (1354610577,), (1354610619,), (1354610624,), (1354610670,), (1354610685,), (1354610693,), (1354610711,), (1354610721,), (1354610837,), (1354610842,), (1354610853,), (1354610856,), (1354610977,), (1354610982,), (1354610983,), (1354610986,), (1354611030,), (1354611038,), (1354611041,), (1354611152,), (1354611158,), (1354611172,), (1354611178,), (1354611182,), (1354611208,), (1354611214,), (1354611218,), (1354611223,), (1354611226,), (1354611229,), (1354611271,), (1354611276,), (1354611280,), (1354611284,), (1354611400,), (1354611428,), (1354611455,), (1354611479,), (1354611775,), (1354611777,), (1354611780,), (1354611782,), (1354611784,), (1354611787,), (1354611972,), (1354611983,), (1354611990,), (1354611993,), (1354611999,), (1354612001,), (1354612051,), (1354612054,), (1354612123,), (1354612115,), (1354612118,), (1354612301,), (1354612306,), (1354612310,), (1354612313,), (1354612317,), (1354612433,), (1354612437,), (1354612443,), (1354612450,), (1354612497,), (1354612501,), (1354612503,), (1354612505,), (1354612515,), (1354612571,), (1354612615,), (1354612648,), (1354612791,), (1354612801,), (1354612806,), (1354612985,), (1354612991,), (1354612995,), (1354613009,), (1354613038,), (1354613304,), (1354613316,), (1354613781,), (1354613855,), (1354613926,), (1354614017,), (1354614021,), (1354614073,), (1354614075,), (1354614078,), (1354614084,), (1354614160,), (1354614599,), (1354614627,), (1354614659,), (1354614690,), (1354614719,), (1354615174,), (1354615118,), (1354615626,), (1354615656,), (1354615700,), (1354615758,), (1354615810,), (1354616333,), (1354616386,), (1354616443,), (1354616541,), (1354616617,), (1354616809,), (1354616812,), (1354616816,), (1354616818,), (1354617100,), (1354617106,), (1354617109,), (1354617113,), (1354617262,), (1354617266,), (1354617272,), (1354617277,), (1354617279,), (1354617311,), (1354617316,), (1354617325,), (1354617328,), (1354617331,), (1354617366,), (1354617370,), (1354617429,), (1354617433,), (1354617437,), (1354617440,), (1354617443,), (1354617445,), (1354617468,), (1354617472,), (1354617482,), (1354617488,), (1354617575,), (1354617578,), (1354617581,), (1354617584,), (1354617641,), (1354617651,), (1354617655,), (1354617661,), (1354617777,), (1354617782,), (1354617788,), (1354617793,), (1354618002,), (1354618106,), (1354618107,), (1354618111,), (1354618115,), (1354618238,), (1354618330,), (1354618337,), (1354618342,), (1354618347,), (1354618352,), (1354618477,), (1354618466,), (1354618471,), (1354618475,), (1354618562,), (1354618567,), (1354618570,), (1354618573,), (1354618579,), (1354618628,), (1354618636,), (1354618644,), (1354618649,), (1354618652,), (1354618682,), (1354618689,), (1354618694,), (1354618698,), (1354618704,), (1354618709,), (1354618784,), (1354618789,), (1354618793,), (1354618798,), (1354618856,), (1354618858,), (1354618862,), (1354618866,), (1354618868,), (1354618919,), (1354618924,), (1354618927,), (1354618985,), (1354619027,), (1354619031,), (1354619035,), (1354619040,), (1354619043,), (1354619067,), (1354619072,), (1354619076,), (1354619080,), (1354619117,), (1354619121,), (1354619125,), (1354619130,), (1354619134,), (1354619224,), (1354619229,), (1354619234,), (1354619238,), (1354619395,), (1354619412,), (1354619433,), (1354619436,), (1354619450,), (1354619456,), (1354619462,), (1354619476,), (1354619506,), (1354619510,), (1354619552,), (1354619556,), (1354619562,), (1354619566,), (1354619607,), (1354619593,), (1354619595,), (1354619599,), (1354619602,), (1354619642,), (1354619978,), (1354619982,), (1354620027,), (1354620044,), (1354620051,), (1354620055,), (1354620094,), (1354620097,), (1354620131,), (1354620135,), (1354620151,), (1354620182,), (1354620194,), (1354620198,), (1354620201,), (1354620247,), (1354620252,), (1354620257,), (1354620261,), (1354620264,), (1354620265,), (1354620287,), (1354620291,), (1354620293,), (1354620297,), (1354620324,), (1354620327,), (1354620330,), (1354620333,), (1354620336,), (1354620337,), (1354620366,), (1354620373,), (1354620382,), (1354620385,), (1354620411,), (1354620415,), (1354620418,), (1354620422,), (1354620426,), (1354620429,), (1354620478,), (1354620469,), (1354620472,), (1354620475,), (1354620513,), (1354620516,), (1354620519,), (1354620522,), (1354620526,), (1354620530,), (1354620559,), (1354620564,), (1354620567,), (1354620602,), (1354620606,), (1354620639,), (1354620641,), (1354620696,), (1354620703,), (1354620723,), (1354620727,), (1354620766,), (1354620769,), (1354620771,), (1354620773,), (1354620775,), (1354620781,), (1354620820,), (1354620823,), (1354620827,), (1354620861,), (1354620863,), (1354620866,), (1354620868,), (1354620870,), (1354620873,), (1354620903,), (1354620914,), (1354620918,), (1354620921,), (1354620941,), (1354620943,), (1354620946,), (1354620949,), (1354620952,), (1354620972,), (1354620976,), (1354620979,), (1354620982,), (1354621014,), (1354621022,), (1354621025,), (1354621029,), (1354621430,), (1354621463,), (1354621494,), (1354621527,), (1354621560,), (1354621698,), (1354621624,), (1354621669,), (1354621993,), (1354622032,), (1354622084,), (1354622125,), (1354622153,), (1354622448,), (1354622476,), (1354622501,), (1354622530,), (1354622558,), (1354623086,), (1354623113,), (1354623141,), (1354623168,), (1354623193,), (1354623984,), (1354624009,), (1354624036,), (1354624067,), (1354624688,), (1354624704,), (1354624713,), (1354624723,), (1354624984,), (1354625029,), (1354625053,), (1354625084,), (1354625307,), (1354625311,), (1354625314,), (1354625318,), (1354625320,), (1354625324,), (1354625421,), (1354625473,), (1354625664,), (1354625667,), (1354625669,), (1354625671,), (1354625672,), (1354625674,), (1354625754,), (1354625780,), (1354625784,), (1354625789,), (1354625910,), (1354625913,), (1354625920,), (1354625925,), (1354626122,), (1354626409,), (1354626413,), (1354626418,), (1354626523,), (1354626529,), (1354626532,), (1354626559,), (1354627013,), (1354627003,), (1354627008,), (1354627063,), (1354627067,), (1354627071,), (1354627073,), (1354627077,), (1354627119,), (1354627125,), (1354627130,), (1354627136,), (1354627261,), (1354627264,), (1354627266,), (1354627270,), (1354627315,), (1354627322,), (1354627328,), (1354627334,), (1354627339,), (1354627345,), (1354627414,), (1354627420,), (1354627426,), (1354627431,), (1354627434,), (1354627472,), (1354627479,), (1354627484,), (1354627532,), (1354627535,), (1354627537,), (1354627605,), (1354627612,), (1354627621,), (1354627627,), (1354627633,), (1354627670,), (1354627675,), (1354627678,), (1354627682,), (1354627731,), (1354627737,), (1354627747,), (1354627799,), (1354627801,), (1354627805,), (1354627812,), (1354627899,), (1354627902,), (1354627906,), (1354627908,), (1354627950,), (1354627953,), (1354627956,), (1354627960,), (1354627964,), (1354628018,), (1354628019,), (1354628024,), (1354628026,), (1354628030,), (1354628031,), (1354628034,), (1354628036,), (1354628038,), (1354628040,), (1354628079,), (1354628074,), (1354628117,), (1354628122,), (1354628125,), (1354628128,), (1354628132,), (1354628155,), (1354628158,), (1354628161,), (1354628164,), (1354628167,), (1354628374,), (1354628380,), (1354628383,), (1354628423,), (1354628427,), (1354628469,), (1354628473,), (1354628478,), (1354628481,), (1354628523,), (1354628527,), (1354628532,), (1354628570,), (1354628574,), (1354628621,), (1354628626,), (1354628631,), (1354628672,), (1354628678,), (1354628683,), (1354628689,), (1354628719,), (1354628725,), (1354628730,), (1354628735,), (1354628771,), (1354628777,), (1354628782,), (1354628786,), (1354628790,), (1354628832,), (1354628840,), (1354628847,), (1354628852,), (1354628925,), (1354628932,), (1354628935,), (1354628938,), (1354628975,), (1354628978,), (1354628981,), (1354629013,), (1354629017,), (1354629021,), (1354629025,), (1354629029,), (1354629073,), (1354629055,), (1354629064,), (1354629067,), (1354629070,), (1354629103,), (1354629106,), (1354629109,), (1354629111,), (1354629113,), (1354629151,), (1354629153,), (1354629155,), (1354629195,), (1354629199,), (1354629202,), (1354629258,), (1354629263,), (1354629267,), (1354629356,), (1354629359,), (1354629399,), (1354629403,), (1354629407,), (1354629442,), (1354629475,), (1354629479,), (1354629662,), (1354629675,), (1354629680,), (1354629715,), (1354629721,), (1354629725,), (1354629729,), (1354629774,), (1354629778,), (1354629783,), (1354629788,), (1354629790,), (1354629832,), (1354629843,), (1354630410,), (1354630445,), (1354630479,), (1354630584,), (1354630589,), (1354630590,), (1354630677,), (1354630636,), (1354630903,), (1354630931,), (1354630960,), (1354631952,), (1354631957,), (1354631966,), (1354631970,), (1354632489,), (1354632572,), (1354632637,), (1354632665,), (1354632851,), (1354633115,), (1354633165,), (1354633221,), (1354633273,), (1354633306,), (1354633494,), (1354633500,), (1354633659,), (1354633665,), (1354633670,), (1354633675,), (1354633791,), (1354633827,), (1354633861,), (1354633891,), (1354634284,), (1354634333,), (1354634381,), (1354634899,), (1354634992,), (1354635073,), (1354636218,), (1354676479,), (1354677172,), (1354677204,), (1354677313,), (1354677325,), (1354677329,), (1354677377,), (1354677383,), (1354677392,), (1354677395,), (1354677399,), (1354677404,), (1354677432,), (1354677444,), (1354677464,), (1354677469,), (1354677475,), (1354677487,), (1354677550,), (1354677554,), (1354677560,), (1354677694,), (1354677703,), (1354677732,), (1354677763,), (1354677945,), (1354677948,), (1354677952,), (1354677955,), (1354678054,), (1354678074,), (1354678079,), (1354678081,), (1354678104,), (1354678111,), (1354678117,), (1354678124,), (1354678130,), (1354678158,), (1354678163,), (1354678168,), (1354678172,), (1354678202,), (1354678208,), (1354678213,), (1354678218,), (1354678411,), (1354678444,), (1354678474,), (1354678502,), (1354678533,), (1354678594,), (1354679273,), (1354679304,), (1354679427,), (1354679459,), (1354679491,), (1354679844,), (1354679771,), (1354679809,), (1354680169,), (1354680185,), (1354680213,), (1354680411,), (1354680631,), (1354680699,), (1354680770,), (1354681429,), (1354681467,), (1354681530,), (1354681588,), (1354681633,), (1354682346,), (1354682420,), (1354682513,), (1354682581,), (1354683141,), (1354683192,), (1354683249,), (1354683655,), (1354683699,), (1354683746,), (1354683790,), (1354684675,), (1354684756,), (1354684838,), (1354684983,), (1354686346,), (1354686424,), (1354686520,), (1354686651,), (1354686783,), (1354687488,), (1354687554,), (1354687984,), (1354688038,), (1354688804,), (1354689080,), (1354689140,), (1354689179,), (1354689208,), (1354689383,), (1354689414,), (1354689443,), (1354689452,), (1354689895,), (1354689990,), (1354690048,), (1354690103,), (1354690518,), (1354690523,), (1354690529,), (1354690953,), (1354690757,), (1354690871,), (1354690888,), (1354690907,), (1354691041,), (1354691060,), (1354691090,), (1354691117,), (1354691144,), (1354691261,), (1354691268,), (1354691274,), (1354691280,), (1354691364,), (1354691368,), (1354691374,), (1354691377,), (1354692016,), (1354692100,), (1354693183,), (1354693237,), (1354693296,), (1354693350,), (1354693403,), (1354693459,), (1354693940,), (1354694011,), (1354694060,), (1354694118,), (1354694240,), (1354694622,), (1354694656,), (1354694710,), (1354695371,), (1354695435,), (1354695870,), (1354695985,), (1354696094,), (1354696542,), (1354696609,), (1354696845,), (1354696957,), (1354697119,), (1354697140,), (1354697180,), (1354697328,), (1354697348,), (1354697420,), (1354697448,), (1354697503,), (1354697531,), (1354697809,), (1354697839,), (1354697865,), (1354697890,), (1354697959,), (1354699077,), (1354698892,), (1354698924,), (1354698954,), (1354699026,), (1354699655,), (1354699701,), (1354699705,), (1354699942,), (1354699972,), (1354700023,), (1354701072,), (1354701099,), (1354701811,), (1354701841,), (1354701879,), (1354702699,), (1354702743,), (1354702752,), (1354702778,), (1354702812,), (1354702818,), (1354702838,), (1354702871,), (1354702902,), (1354703406,), (1354703540,), (1354703644,), (1354704313,), (1354704375,), (1354704435,), (1354705089,), (1354705149,), (1354705433,), (1354705517,), (1354705998,), (1354706030,), (1354706039,), (1354706447,), (1354706461,), (1354706470,), (1354706472,), (1354706482,), (1354706740,), (1354706755,), (1354706817,), (1354706950,), (1354707450,), (1354707477,), (1354708552,), (1354708543,), (1354708547,), (1354708550,), (1354708818,), (1354708965,), (1354709066,), (1354709097,), (1354709374,), (1354709379,), (1354709381,), (1354709383,), (1354709581,), (1354709610,), (1354709773,), (1354709910,), (1354710226,), (1354710230,), (1354710236,), (1354710630,), (1354710685,), (1354710734,), (1354710787,), (1354710821,), (1354711073,), (1354711269,), (1354711341,), (1354711365,), (1354711369,), (1354711398,), (1354711560,), (1354711563,), (1354711571,), (1354711826,), (1354711857,), (1354711938,), (1354712117,), (1354713172,), (1354713196,), (1354713292,), (1354713410,), (1354713443,), (1354713448,), (1354713451,), (1354713984,), (1354713989,), (1354713992,), (1354713995,), (1354714373,), (1354714403,), (1354714453,), (1354714513,), (1354716760,), (1354716866,), (1354716997,), (1354717059,), (1354717228,), (1354717298,), (1354717982,), (1354717697,), (1354717767,), (1354717823,), (1354717884,), (1354719424,), (1354719568,), (1354719652,), (1354719742,), (1354720646,), (1354720768,), (1354722237,), (1354722341,), (1354722453,), (1354722556,), (1354723403,), (1354723431,), (1354723502,), (1354724586,), (1354724681,), (1354724762,), (1354724897,), (1354724944,), (1354725128,), (1354725225,), (1354725314,), (1354725402,), (1354725491,), (1354725558,), (1354726226,), (1354726259,), (1354726290,), (1354726325,), (1354726350,), (1354726391,), (1354726802,), (1354726807,), (1354727372,), (1354727404,), (1354727437,), (1354727467,), (1354727751,), (1354727791,), (1354727814,), (1354728058,), (1354729036,), (1354729070,), (1354729744,), (1354729803,), (1354730537,), (1354758705,), (1354758707,), (1354758882,), (1354758968,), (1354759021,), (1354759024,), (1354760116,), (1354760172,), (1354760176,), (1354760190,), (1354760563,), (1354760580,), (1354760585,), (1354760758,), (1354761383,), (1354761387,), (1354761468,), (1354761435,), (1354761445,), (1354761452,), (1354761901,), (1354761925,), (1354761929,), (1354761933,), (1354762134,), (1354762162,), (1354762193,), (1354762442,), (1354762471,), (1354762501,), (1354762945,), (1354763070,), (1354763095,), (1354763122,), (1354763548,), (1354763614,), (1354763671,), (1354763724,), (1354763786,), (1354764338,), (1354764366,), (1354764394,), (1354764983,), (1354765013,), (1354765042,), (1354765731,), (1354765757,), (1354765761,), (1354765788,), (1354766344,), (1354766346,), (1354766349,), (1354766352,), (1354766694,), (1354766825,), (1354766957,), (1354767880,), (1354767968,), (1354768054,), (1354768277,), (1354768363,), (1354769211,), (1354769253,), (1354769311,), (1354769320,), (1354769374,), (1354769432,), (1354769483,), (1354769486,), (1354769490,), (1354769532,), (1354769538,), (1354769543,), (1354769548,), (1354769551,), (1354770127,), (1354769852,), (1354769939,), (1354770039,), (1354771045,), (1354771129,), (1354771250,), (1354771362,), (1354771454,), (1354771887,), (1354771934,), (1354771989,), (1354772777,), (1354772853,), (1354772933,), (1354773011,), (1354773119,), (1354773223,), (1354773980,), (1354774045,), (1354774093,), (1354774161,), (1354774203,), (1354774232,), (1354774458,), (1354774461,), (1354774464,), (1354774468,), (1354774612,), (1354774667,), (1354774721,), (1354774779,), (1354774843,), (1354775551,), (1354775639,), (1354775726,), (1354776452,), (1354776488,), (1354776555,), (1354776634,), (1354777112,), (1354777225,), (1354777285,), (1354777341,), (1354777410,), (1354778058,), (1354778136,), (1354778228,), (1354778288,), (1354778347,), (1354778908,), (1354778916,), (1354779419,), (1354779470,), (1354779520,), (1354780170,), (1354780225,), (1354780279,), (1354780309,), (1354780518,), (1354780528,), (1354780556,), (1354781205,), (1354781018,), (1354781078,), (1354781142,), (1354781635,), (1354781658,), (1354781663,), (1354781678,), (1354782180,), (1354782213,), (1354782242,), (1354782271,), (1354782473,), (1354782505,), (1354782634,), (1354782663,), (1354782694,), (1354782725,), (1354782810,), (1354782824,), (1354782854,), (1354783242,), (1354783275,), (1354783306,), (1354783325,), (1354783375,), (1354783378,), (1354783384,), (1354783389,), (1354783392,), (1354783507,), (1354783520,), (1354783701,), (1354783705,), (1354783709,), (1354783742,), (1354783747,), (1354783752,), (1354783757,), (1354783761,), (1354783785,), (1354783787,), (1354783795,), (1354783801,), (1354783807,), (1354783824,), (1354783827,), (1354783829,), (1354783878,), (1354783882,), (1354783933,), (1354783939,), (1354783945,), (1354783953,), (1354784412,), (1354784404,), (1354784409,), (1354784601,), (1354784659,), (1354784709,), (1354784766,), (1354784849,), (1354785727,), (1354785851,), (1354786030,), (1354786219,), (1354786324,), (1354786417,), (1354786986,), (1354787062,), (1354787140,), (1354787980,), (1354788129,), (1354788134,), (1354788148,), (1354788682,), (1354788798,), (1354788902,), (1354789004,), (1354789118,), (1354789257,), (1354790035,), (1354790109,), (1354791105,), (1354791145,), (1354791203,), (1354791285,), (1354791494,), (1354791594,), (1354791689,), (1354791716,), (1354791726,), (1354791986,), (1354792841,), (1354792877,), (1354792908,), (1354793366,), (1354793420,), (1354793486,), (1354793897,), (1354793961,), (1354794014,), (1354794065,), (1354794984,), (1354794848,), (1354794884,), (1354794947,), (1354795428,), (1354795475,), (1354795526,), (1354796224,), (1354796284,), (1354796337,), (1354796393,), (1354796725,), (1354796753,), (1354796769,), (1354796773,), (1354796927,), (1354796932,), (1354796975,), (1354797026,), (1354797089,), (1354797169,), (1354797267,), (1354797295,), (1354797327,), (1354797356,), (1354797443,), (1354797446,), (1354797451,), (1354797454,), (1354797746,), (1354797773,), (1354797803,), (1354797834,), (1354797916,), (1354797972,), (1354798257,), (1354798291,), (1354798322,), (1354798352,), (1354798381,), (1354798459,), (1354798462,), (1354798465,), (1354798469,), (1354798627,), (1354798634,), (1354798688,), (1354798692,), (1354798694,), (1354798697,), (1354798734,), (1354798738,), (1354798741,), (1354798743,), (1354798770,), (1354798772,), (1354798774,), (1354798815,), (1354798816,), (1354798819,), (1354798821,), (1354798909,), (1354812497,), (1354812573,), (1354813494,), (1354813554,), (1354813615,), (1354813842,), (1354813976,), (1354814515,), (1354814612,), (1354814705,), (1354815801,), (1354815837,), (1354815870,), (1354815903,), (1354816568,), (1354816650,), (1354816740,), (1354816863,), (1354816932,), (1354817021,), (1354817765,), (1354817793,), (1354817801,), (1354817804,), (1354818080,), (1354818154,), (1354818224,), (1354818257,), (1354818824,), (1354819000,), (1354819027,), (1354819377,), (1354819380,), (1354819385,), (1354819398,), (1354819428,), (1354819981,), (1354820011,), (1354820054,), (1354820087,), (1354820117,), (1354820144,), (1354820181,), (1354820235,), (1354820597,), (1354820626,), (1354820656,), (1354820685,), (1354820716,), (1354821133,), (1354821207,), (1354821290,), (1354822079,), (1354822005,), (1354822032,), (1354822050,), (1354822072,), (1354822074,), (1354822504,), (1354822577,), (1354822622,), (1354822795,), (1354822980,), (1354823014,), (1354823044,), (1354823061,), (1354823190,), (1354823198,), (1354823200,), (1354823296,), (1354823327,), (1354823355,), (1354823365,), (1354823523,), (1354823527,), (1354823530,), (1354823535,), (1354823685,), (1354823687,), (1354823706,), (1354823733,), (1354823941,), (1354823955,), (1354823980,), (1354823992,), (1354823995,), (1354824085,), (1354824089,), (1354824129,), (1354824132,), (1354824133,), (1354824175,), (1354824177,), (1354824180,), (1354824457,), (1354824495,), (1354824544,), (1354824584,), (1354824618,), (1354824740,), (1354824793,), (1354824844,), (1354824880,), (1354824907,), (1354825654,), (1354825729,), (1354825789,), (1354825836,), (1354825890,), (1354825941,), (1354826560,), (1354826611,), (1354826647,), (1354826673,), (1354826972,), (1354826946,), (1354827410,), (1354827415,), (1354827486,), (1354827515,), (1354827543,), (1354828110,), (1354828127,), (1354828134,), (1354828601,), (1354828723,), (1354828823,), (1354828876,), (1354828927,), (1354829162,), (1354829190,), (1354829230,), (1354829259,), (1354829542,), (1354829557,), (1354829577,), (1354829861,), (1354829864,), (1354829870,), (1354829875,), (1354829880,), (1354829912,), (1354830010,), (1354830012,), (1354830014,), (1354830018,), (1354830057,), (1354830060,), (1354830066,), (1354830069,), (1354830295,), (1354830322,), (1354830351,), (1354830393,), (1354830746,), (1354830776,), (1354830805,), (1354830836,), (1354830847,), (1354830934,), (1354830942,), (1354830956,), (1354830992,), (1354831026,), (1354831204,), (1354831208,), (1354831211,), (1354831256,), (1354831295,), (1354831373,), (1354831425,), (1354831480,), (1354832045,), (1354832094,), (1354832133,), (1354832174,), (1354832231,), (1354832743,), (1354832626,), (1354832657,), (1354832686,), (1354832716,), (1354833537,), (1354833629,), (1354833663,), (1354833695,), (1354834496,), (1354835275,), (1354835306,), (1354835346,), (1354835406,), (1354835963,), (1354835976,), (1354835996,), (1354836026,), (1354836318,), (1354836372,), (1354836455,), (1354836522,), (1354836567,), (1354836609,), (1354837043,), (1354837075,), (1354837097,), (1354837101,), (1354837172,), (1354837240,), (1354837328,), (1354837414,), (1354837507,), (1354837939,), (1354837983,), (1354838013,), (1354838045,), (1354838075,), (1354838080,), (1354838224,), (1354838313,), (1354838341,), (1354838363,), (1354838451,), (1354838466,), (1354838496,), (1354838527,), (1354838558,), (1354838749,), (1354838778,), (1354838806,), (1354838990,), (1354839016,), (1354839048,), (1354839065,), (1354839454,), (1354839486,), (1354839520,), (1354840491,), (1354839953,), (1354839984,), (1354840198,), (1354840409,), (1354840706,), (1354840738,), (1354840765,), (1354840863,), (1354840894,), (1354841587,), (1354841636,), (1354841693,), (1354841754,), (1354841804,), (1354842202,), (1354842319,), (1354842450,), (1354842584,), (1354843348,), (1354843718,), (1354843725,), (1354843727,), (1354843939,), (1354844004,), (1354844903,), (1354845021,), (1354845042,), (1354845399,), (1354845425,), (1354845429,), (1354845455,), (1354845458,), (1354846236,), (1354846265,), (1354846293,), (1354846320,), (1354846347,), (1354846616,), (1354846654,), (1354846682,), (1354847321,), (1354847371,), (1354847421,), (1354848109,), (1354848112,), (1354848116,), (1354848121,), (1354848506,), (1354848544,), (1354848560,), (1354848583,), (1354848980,), (1354849226,), (1354849246,), (1354849263,), (1354849418,), (1354849479,), (1354849483,), (1354849513,), (1354849504,), (1354849507,), (1354849510,), (1354849868,), (1354849921,), (1354850990,), (1354850992,), (1354851199,), (1354851223,), (1354851490,), (1354851494,), (1354851498,), (1354851502,), (1354851536,), (1354851540,), (1354851578,), (1354851580,), (1354851597,), (1354851605,), (1354851620,), (1354851652,), (1354851929,), (1354851956,), (1354851982,), (1354852012,), (1354852041,), (1354852393,), (1354852425,), (1354852441,), (1354852448,), (1354852453,), (1354852478,), (1354852483,), (1354852487,), (1354852551,), (1354852752,), (1354852825,), (1354853312,), (1354853349,), (1354853402,), (1354853452,), (1354853504,), (1354854155,), (1354854210,), (1354854261,), (1354854316,), (1354854968,), (1354854997,), (1354855026,), (1354855617,), (1354855524,), (1354855553,), (1354855585,), (1354856004,), (1354856169,), (1354856208,), (1354856239,), (1354856267,), (1354856629,), (1354856633,), (1354856635,), (1354856656,), (1354856782,), (1354856785,), (1354856789,), (1354856804,), (1354857155,), (1354857308,), (1354857368,), (1354857497,), (1354857585,), (1354857783,), (1354857793,), (1354857803,), (1354857831,), (1354857845,), (1354858010,), (1354858042,), (1354858066,), (1354858175,), (1354858181,), (1354858184,), (1354858188,), (1354858192,), (1354858251,), (1354858256,), (1354858269,), (1354858275,), (1354858290,), (1354858293,), (1354858387,), (1354858393,), (1354858395,), (1354858551,), (1354858561,), (1354858830,), (1354858861,), (1354858870,), (1354859256,), (1354859295,), (1354859302,), (1354861402,), (1354861389,), (1354861396,), (1354861526,), (1354861566,), (1354861583,), (1354861608,), (1354861795,), (1354861801,), (1354861844,), (1354861847,), (1354861852,), (1354861859,), (1354862098,), (1354862283,), (1354862634,), (1354862660,), (1354862688,), (1354862716,), (1354862741,), (1354863257,), (1354863291,), (1354863317,), (1354863348,), (1354863378,), (1354864529,), (1354864623,), (1354864712,), (1354864807,), (1354864899,), (1354865196,), (1354865201,), (1354865228,), (1354865288,), (1354865341,), (1354865387,), (1354865977,), (1354866050,), (1354866107,), (1354866164,), (1354866962,), (1354866910,), (1354867524,), (1354867549,), (1354867586,), (1354867850,), (1354867879,), (1354868357,), (1354868386,), (1354868416,), (1354868446,), (1354868462,), (1354868491,), (1354868497,), (1354868503,), (1354868508,), (1354868519,), (1354868736,), (1354868738,), (1354868761,), (1354868775,), (1354868852,), (1354868855,), (1354868859,), (1354868865,), (1354869030,), (1354869083,), (1354869462,), (1354869570,), (1354869583,), (1354869587,), (1354869716,), (1354869720,), (1354869723,), (1354869727,), (1354870030,), (1354870045,), (1354870073,), (1354870080,), (1354870084,), (1354870257,), (1354870300,), (1354870389,), (1354870447,), (1354870461,), (1354870483,), (1354870545,), (1354870560,), (1354870594,), (1354870597,), (1354870749,), (1354870805,), (1354870842,), (1354871100,), (1354871130,), (1354871161,), (1354871250,), (1354871244,), (1354871247,), (1354871332,), (1354871337,), (1354871342,), (1354871343,), (1354871934,), (1354872007,), (1354872740,), (1354872747,), (1354872775,), (1354873370,), (1354873391,), (1354873430,), (1354873492,), (1354873551,), (1354873605,), (1354873909,), (1354873923,), (1354873937,), (1354873945,), (1354873950,), (1354874162,), (1354874200,), (1354874209,), (1354874232,), (1354874418,), (1354874476,), (1354874517,), (1354874541,), (1354874657,), (1354874658,), (1354874705,), (1354874710,), (1354874715,), (1354874717,), (1354874827,), (1354874854,), (1354874864,), (1354874882,), (1354875050,), (1354875065,), (1354875076,), (1354875090,), (1354875171,), (1354875175,), (1354875178,), (1354875180,), (1354875215,), (1354875217,), (1354875222,), (1354875286,), (1354875317,), (1354875344,), (1354875372,), (1354875402,), (1354875704,), (1354875619,), (1354875623,), (1354875628,), (1354875668,), (1354875935,), (1354875959,), (1354875964,), (1354875970,), (1354875999,), (1354876710,), (1354876740,), (1354876770,), (1354876796,), (1354877326,), (1354877332,), (1354877364,), (1354877514,), (1354877538,), (1354877678,), (1354877682,), (1354877688,), (1354877693,), (1354877698,), (1354877702,), (1354877829,), (1354877860,), (1354877888,), (1354878111,), (1354878141,), (1354878172,), (1354878190,), (1354878480,), (1354878486,), (1354878519,), (1354878572,), (1354879452,), (1354879909,), (1354879912,), (1354912580,), (1354912963,), (1354913004,), (1354913033,), (1354913195,), (1354914242,), (1354914270,), (1354914318,), (1354915056,), (1354915084,), (1354915135,), (1354916259,), (1354916314,), (1354916362,), (1354916809,), (1354917344,), (1354917402,), (1354917838,), (1354917891,), (1354917948,), (1354918366,), (1354918398,), (1354918426,), (1354918939,), (1354918942,), (1354918978,), (1354919028,), (1354919043,), (1354919368,), (1354919396,), (1354919428,), (1354919443,), (1354919454,), (1354919671,), (1354919692,), (1354919697,), (1354919701,), (1354919705,), (1354919918,), (1354919972,), (1354920001,), (1354920321,), (1354920348,), (1354920374,), (1354921560,), (1354921643,), (1354922054,), (1354922059,), (1354922065,), (1354922070,), (1354922830,), (1354922579,), (1354922656,), (1354922724,), (1354922777,), (1354923453,), (1354923568,), (1354923646,), (1354923701,), (1354924045,), (1354924141,), (1354924168,), (1354924285,), (1354924290,), (1354924294,), (1354925012,), (1354925090,), (1354925177,), (1354925256,), (1354926939,), (1354927510,), (1354928125,), (1354929094,), (1354929212,), (1354929320,), (1354929432,), (1354929462,), (1354929881,), (1354929888,), (1354929942,), (1354929971,), (1354930012,), (1354930066,), (1354930119,), (1354930183,), (1354930660,), (1354930713,), (1354931453,), (1354931510,), (1354931567,), (1354931623,), (1354931687,), (1354931744,), (1354932225,), (1354932259,), (1354932293,), (1354932324,), (1354932358,), (1354932845,), (1354932894,), (1354933798,), (1354933626,), (1354933682,), (1354933743,), (1354934470,), (1354934502,), (1354934531,), (1354934569,), (1354934658,), (1354935410,), (1354935480,), (1354935622,), (1354935760,), (1354937243,), (1354937406,), (1354937538,), (1354938346,), (1354939433,), (1354939703,), (1354939789,), (1354940375,), (1354940403,), (1354940432,), (1354940465,), (1354942572,), (1354942622,), (1354943300,), (1354943324,), (1354943356,), (1354943369,), (1354943461,), (1354943821,), (1354943825,), (1354943827,), (1354943961,), (1354944214,), (1354944245,), (1354944274,), (1354944589,), (1354944623,), (1354944653,), (1354945434,), (1354945489,), (1354946138,), (1354946197,), (1354946246,), (1354946835,), (1354947017,), (1354947071,), (1354947462,), (1354947343,), (1354947373,), (1354947403,), (1354947432,), (1354948024,), (1354948123,), (1354948219,), (1354949706,), (1354949846,), (1354949987,), (1354951103,), (1354951149,), (1354951180,), (1354951204,), (1354951263,), (1354952424,), (1354952451,), (1354952473,), (1354952490,), (1354952984,), (1354953050,), (1354953135,), (1354953193,), (1354953293,), (1354954443,), (1354954550,), (1354954666,), (1354955496,), (1354955548,), (1354955603,), (1354956671,), (1354956945,), (1354956998,), (1354957373,), (1354957399,), (1354957440,), (1354957499,), (1354957928,), (1354957955,), (1354957981,), (1354958011,), (1354958255,), (1354958282,), (1354958298,), (1354958316,), (1354958327,), (1354958331,), (1354958556,), (1354958560,), (1354958569,), (1354958581,), (1354959771,), (1354959827,), (1354959895,), (1354959952,), (1354960033,), (1354960316,), (1354960321,), (1354960683,), (1354960584,), (1354960616,), (1354960646,), (1354960945,), (1354960949,), (1354960978,), (1354961011,), (1354961541,), (1354961597,), (1354961654,), (1354962144,), (1354962178,), (1354962256,), (1354962337,), (1354962373,), (1354963110,), (1354963397,), (1354963509,), (1354963543,), (1354963576,), (1354964027,), (1354964055,), (1354964088,), (1354964999,), (1354965068,), (1354965124,), (1354965197,), (1354965278,), (1354968129,), (1354968132,), (1354968136,), (1354968164,), (1354968186,), (1354968219,), (1354968429,), (1354968440,), (1354968468,), (1354968498,), (1354968631,), (1354968634,), (1354968658,), (1354968662,), (1354968666,), (1354968703,), (1354968689,), (1354968691,), (1354968695,), (1354968699,), (1354968963,), (1354969059,), (1354970144,), (1354970248,), (1354970305,), (1354970337,), (1354970370,), (1354970523,), (1354971646,), (1354971690,), (1354971693,), (1354971698,), (1354972182,), (1354972322,), (1354973233,), (1354973240,), (1354973242,), (1354973245,), (1354973497,), (1354973524,), (1354973549,), (1354973694,), (1354973725,), (1354973753,), (1354973773,), (1354974023,), (1354974047,), (1354974058,), (1354974072,), (1354974698,), (1354974701,), (1354974704,), (1354974990,), (1354974991,), (1354974995,), (1354974997,), (1354975031,), (1354975039,), (1354975068,), (1354975095,), (1354975597,), (1354975782,), (1354975963,), (1354976052,), (1354976610,), (1354976661,), (1354976727,), (1354976774,), (1354977054,), (1354977057,), (1354977059,), (1354977071,), (1354977099,), (1354977247,), (1354977240,), (1354977243,), (1354977509,), (1354977514,), (1354977517,), (1354977520,), (1354977740,), (1354977786,), (1354977789,), (1354977791,), (1354977794,), (1354977796,), (1354977854,), (1354977858,), (1354977862,), (1354977865,), (1354977905,), (1354977909,), (1354977915,), (1354977956,), (1354977960,), (1354977963,), (1354977969,), (1354978012,), (1354978017,), (1354978022,), (1354978054,), (1354978105,), (1354978092,), (1354978094,), (1354978099,), (1354978157,), (1354978160,), (1354978208,), (1354978212,), (1354978249,), (1354978253,), (1354978258,), (1354978265,), (1354978270,), (1354978303,), (1354978306,), (1354978310,), (1354978315,), (1354978358,), (1354978363,), (1354978368,), (1354978375,), (1354978382,), (1354978412,), (1354978416,), (1354978461,), (1354978463,), (1354978466,), (1354978470,), (1354978474,), (1354978498,), (1354978502,), (1354978542,), (1354978544,), (1354978546,), (1354978578,), (1354978583,), (1354978591,), (1354978596,), (1354978603,), (1354978626,), (1354978764,), (1354978793,), (1354978821,), (1354978849,), (1354978883,), (1354978914,), (1354979677,), (1354979704,), (1354979732,), (1354979759,), (1354980390,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'30042025': {'nb_upload': 44, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22570136]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584] map_info['map_portfolio_photo'] : {22570136: [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584]} final : True mtd_id 4302 list_pids : [1354968703, 1354968666, 1354968662, 1354968658, 1354968634, 1354968631, 1354968498, 1354968468, 1354968440, 1354968429, 1354968219, 1354968186, 1354968164, 1354968136, 1354968132, 1354968129, 1354965278, 1354965197, 1354965124, 1354965068, 1354964999, 1354964088, 1354964055, 1354964027, 1354963576, 1354963543, 1354963509, 1354963397, 1354963110, 1354962373, 1354962337, 1354962256, 1354962178, 1354962144, 1354961654, 1354961597, 1354961541, 1354961011, 1354960978, 1354960949, 1354960945, 1354960646, 1354960616, 1354960584] Looping around the photos to save general results len do output : 1 /22570136Didn'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, '2777818') ('4302', '22570136', '1354968703', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968666', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968662', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968658', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968634', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968631', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968498', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968468', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968440', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968429', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968219', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968186', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968164', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968136', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968132', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354968129', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965278', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965197', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965124', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354965068', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964999', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964088', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964055', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354964027', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963576', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963543', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963509', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963397', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354963110', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962373', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962337', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962256', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962178', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354962144', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961654', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961597', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961541', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354961011', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960978', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960949', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960945', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960646', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960616', None, None, None, None, None, '2777818') ('4302', None, None, None, None, None, None, None, '2777818') ('4302', '22570136', '1354960584', None, None, None, None, None, '2777818') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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, '22570136', 'None', None, None, None, None, '2777818'), ('4302', '22570136', '1354968703', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968666', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968662', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968658', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968634', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968631', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968498', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968468', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968440', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968429', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968219', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968186', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968164', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968136', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968132', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354968129', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965278', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965197', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965124', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354965068', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964999', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964088', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964055', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354964027', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963576', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963543', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963509', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963397', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354963110', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962373', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962337', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962256', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962178', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354962144', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961654', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961597', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961541', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354961011', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960978', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960949', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960945', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960646', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960616', None, None, None, None, None, '2777818'), ('4302', '22570136', '1354960584', None, None, None, None, None, '2777818')] time used for this insertion : 0.01984691619873047 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4673752784729004 time spend to save output : 0.020307540893554688 total time spend for step 5 : 3.487682819366455 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 (2777818) 3.27user 2.20system 0:18.34elapsed 29%CPU (0avgtext+0avgdata 170436maxresident)k 432inputs+30760outputs (17major+91400minor)pagefaults 0swaps