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 : 3282593 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 (2622220) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2622220) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893370 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2622220'] with mtr_portfolio_ids : ['20893370'] and first list_photo_ids : [] new path : /proc/3282593/ Name: python3 Umask: 0002 State: R (running) Tgid: 3282593 Ngid: 0 Pid: 3282593 PPid: 3282591 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3282593 NSpid: 3282593 NSpgid: 3279715 NSsid: 3279715 VmPeak: 1106848 kB VmSize: 1106848 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98224 kB VmRSS: 98224 kB RssAnon: 59752 kB RssFile: 38472 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/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: 54 nonvoluntary_ctxt_switches: 97 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3282593', 'Ngid': '0', 'Pid': '3282593', 'PPid': '3282591', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3282593', 'NSpid': '3282593', 'NSpgid': '3279715', 'NSsid': '3279715', 'VmPeak': '1106848 kB', 'VmSize': '1106848 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98224 kB', 'VmRSS': '98224 kB', 'RssAnon': '59752 kB', 'RssFile': '38472 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/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': '54', 'nonvoluntary_ctxt_switches': '97'} ('datou_batch_current', '3282593', '1106848', '0', '1106848', '865596', '98224', b'', 'marlene', '2622220') 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 (20893370) 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 (2622220 ) ) 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 (20893370) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339982797, 'portfolio_id': 20893370}, {'photo_id': 1339982534, 'portfolio_id': 20893370}, {'photo_id': 1339982527, 'portfolio_id': 20893370}, {'photo_id': 1339982520, 'portfolio_id': 20893370}, {'photo_id': 1339982516, 'portfolio_id': 20893370}, {'photo_id': 1339982513, 'portfolio_id': 20893370}, {'photo_id': 1339982480, 'portfolio_id': 20893370}, {'photo_id': 1339982474, 'portfolio_id': 20893370}, {'photo_id': 1339982469, 'portfolio_id': 20893370}, {'photo_id': 1339982466, 'portfolio_id': 20893370}, {'photo_id': 1339982442, 'portfolio_id': 20893370}, {'photo_id': 1339982438, 'portfolio_id': 20893370}, {'photo_id': 1339982433, 'portfolio_id': 20893370}, {'photo_id': 1339982430, 'portfolio_id': 20893370}, {'photo_id': 1339982425, 'portfolio_id': 20893370}, {'photo_id': 1339982236, 'portfolio_id': 20893370}, {'photo_id': 1339982233, 'portfolio_id': 20893370}, {'photo_id': 1339982231, 'portfolio_id': 20893370}, {'photo_id': 1339982227, 'portfolio_id': 20893370}, {'photo_id': 1339982224, 'portfolio_id': 20893370}, {'photo_id': 1339982097, 'portfolio_id': 20893370}, {'photo_id': 1339981794, 'portfolio_id': 20893370}, {'photo_id': 1339981722, 'portfolio_id': 20893370}, {'photo_id': 1339981720, 'portfolio_id': 20893370}, {'photo_id': 1339981718, 'portfolio_id': 20893370}, {'photo_id': 1339981715, 'portfolio_id': 20893370}, {'photo_id': 1339981713, 'portfolio_id': 20893370}, {'photo_id': 1339981711, 'portfolio_id': 20893370}, {'photo_id': 1339981688, 'portfolio_id': 20893370}, {'photo_id': 1339981685, 'portfolio_id': 20893370}, {'photo_id': 1339981681, 'portfolio_id': 20893370}, {'photo_id': 1339981678, 'portfolio_id': 20893370}, {'photo_id': 1339981675, 'portfolio_id': 20893370}, {'photo_id': 1339981646, 'portfolio_id': 20893370}, {'photo_id': 1339981638, 'portfolio_id': 20893370}, {'photo_id': 1339981426, 'portfolio_id': 20893370}, {'photo_id': 1339981391, 'portfolio_id': 20893370}, {'photo_id': 1339981352, 'portfolio_id': 20893370}, {'photo_id': 1339981311, 'portfolio_id': 20893370}, {'photo_id': 1339981309, 'portfolio_id': 20893370}] map_portfolio_id_photo_id: {20893370: [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309]} ##### 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.780724048614502 #### 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 Fri Feb 28 06:09:57 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 (20893370) 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 : 20893370 get user id for portfolio 20893370 get sub ptf for main ptf 20893370, type 3726 and hashtags ['plastique', 'Carton_gris', 'flou', 'mal_croppe', 'kraft', 'cartonnette', 'autre_refus', 'Teint_Dans_La_Masse', 'environnement', 'metal', 'Carton_brun', '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`=20893370 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','flou','mal_croppe','kraft','cartonnette','autre_refus','Teint_Dans_La_Masse','environnement','metal','Carton_brun','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`=20893370 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','flou','mal_croppe','kraft','cartonnette','autre_refus','Teint_Dans_La_Masse','environnement','metal','Carton_brun','papier')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 20893370, 'sub_port_id': 20893374, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522519, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}, 'mal_croppe': {'main_port_id': 20893370, 'sub_port_id': 20893375, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522520, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}, 'cartonnette': {'main_port_id': 20893370, 'sub_port_id': 20893376, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522521, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}, 'papier': {'main_port_id': 20893370, 'sub_port_id': 20893377, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522522, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20893370, 'sub_port_id': 20893378, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522523, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}, 'flou': {'main_port_id': 20893370, 'sub_port_id': 20893379, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522524, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}, 'Carton_brun': {'main_port_id': 20893370, 'sub_port_id': 20893380, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522525, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}, 'autre_refus': {'main_port_id': 20893370, 'sub_port_id': 20893381, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522526, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}, 'metal': {'main_port_id': 20893370, 'sub_port_id': 20893382, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522527, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}, 'Carton_gris': {'main_port_id': 20893370, 'sub_port_id': 20893383, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522528, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}, 'environnement': {'main_port_id': 20893370, 'sub_port_id': 20893384, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522529, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}, 'plastique': {'main_port_id': 20893370, 'sub_port_id': 20893385, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522530, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 10, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20893374 , 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=20893370 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 (20893374) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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 20893375 , 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=20893370 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 (20893375) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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 20893376 , 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=20893370 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 (20893376) result : ((1339982586,), (1339983524,), (1339985478,), (1339985486,), (1339985487,), (1339989064,), (1339989065,), (1339989066,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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 20893377 , 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=20893370 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 (20893377) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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 20893378 , 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=20893370 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 (20893378) result : ((1339981787,), (1339982524,), (1339982525,), (1339982526,), (1339983504,), (1339983505,), (1339983506,), (1339983507,), (1339983508,), (1339985472,), (1339989000,), (1339989001,), (1339989002,), (1339989003,), (1339989004,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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 20893379 , 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=20893370 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 (20893379) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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 20893380 , 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=20893370 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 (20893380) result : ((1339981792,), (1339982499,), (1339982500,), (1339982501,), (1339982537,), (1339982538,), (1339982539,), (1339982591,), (1339982592,), (1339983513,), (1339983514,), (1339983515,), (1339983516,), (1339983529,), (1339983530,), (1339983531,), (1339983532,), (1339985481,), (1339985482,), (1339985483,), (1339985484,), (1339985485,), (1339985488,), (1339989068,), (1339989069,), (1339989070,), (1339989071,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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 20893381 , 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=20893370 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 (20893381) result : ((1339982529,), (1339982530,), (1339983509,), (1339983510,), (1339983512,), (1339985473,), (1339985477,), (1339989006,), (1339989008,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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 20893382 , 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=20893370 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 (20893382) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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 20893383 , 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=20893370 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 (20893383) result : ((1339981789,), (1339981790,), (1339981791,), (1339982532,), (1339982585,), (1339983511,), (1339983517,), (1339983518,), (1339983519,), (1339983520,), (1339985474,), (1339985475,), (1339985480,), (1339989059,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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 20893384 , 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=20893370 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 (20893384) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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 20893385 , 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=20893370 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 (20893385) result : ((1339982503,), (1339982504,), (1339982540,), (1339983521,), (1339983536,), (1339983537,), (1339985491,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20893370) result : ((1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,)) 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`=20893370 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','flou','mal_croppe','kraft','cartonnette','autre_refus','Teint_Dans_La_Masse','environnement','metal','Carton_brun','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`=20893370 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','flou','mal_croppe','kraft','cartonnette','autre_refus','Teint_Dans_La_Masse','environnement','metal','Carton_brun','papier')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 20893370, 'sub_port_id': 20893386, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522531, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}, 'mal_croppe': {'main_port_id': 20893370, 'sub_port_id': 20893387, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522532, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}, 'cartonnette': {'main_port_id': 20893370, 'sub_port_id': 20893388, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522533, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}, 'papier': {'main_port_id': 20893370, 'sub_port_id': 20893389, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522534, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}, 'Teint_Dans_La_Masse': {'main_port_id': 20893370, 'sub_port_id': 20893390, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522535, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}, 'flou': {'main_port_id': 20893370, 'sub_port_id': 20893391, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522536, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}, 'Carton_brun': {'main_port_id': 20893370, 'sub_port_id': 20893392, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522537, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}, 'autre_refus': {'main_port_id': 20893370, 'sub_port_id': 20893393, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522538, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}, 'metal': {'main_port_id': 20893370, 'sub_port_id': 20893394, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522539, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}, 'Carton_gris': {'main_port_id': 20893370, 'sub_port_id': 20893395, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522540, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}, 'environnement': {'main_port_id': 20893370, 'sub_port_id': 20893396, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522541, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}, 'plastique': {'main_port_id': 20893370, 'sub_port_id': 20893397, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13522542, 'last_updated_at': datetime.datetime(2025, 2, 27, 21, 19), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 21, 19), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 21, 11)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893386,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893374 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893387,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893375 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893388,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893376 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893389,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893377 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893390,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893378 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893391,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893379 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893392,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893380 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893393,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893381 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893394,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893382 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893395,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893383 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893396,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893384 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20893397,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20893385 lien utilise dans velours : https://www.fotonower.com/velours/20893386,20893387,20893388,20893389,20893390,20893391,20893392,20893393,20893394,20893395,20893396,20893397?tags=kraft,mal_croppe,cartonnette,papier,Teint_Dans_La_Masse,flou,Carton_brun,autre_refus,metal,Carton_gris,environnement,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20893370]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309] map_info['map_portfolio_photo'] : {20893370: [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309]} final : False mtd_id 4302 list_pids : [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309] Looping around the photos to save general results len do output : 1 /20893370. 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, '2622220') ('4302', '20893370', '1339982797', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982534', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982527', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982520', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982516', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982513', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982480', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982474', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982469', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982466', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982442', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982438', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982433', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982430', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982425', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982236', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982233', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982231', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982227', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982224', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982097', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981794', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981722', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981720', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981718', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981715', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981713', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981711', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981688', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981685', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981681', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981678', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981675', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981646', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981638', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981426', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981391', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981352', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981311', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981309', None, None, None, None, None, '2622220') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '20893370', "{'kraft': 20893374, 'mal_croppe': 20893375, 'cartonnette': 20893376, 'papier': 20893377, 'Teint_Dans_La_Masse': 20893378, 'flou': 20893379, 'Carton_brun': 20893380, 'autre_refus': 20893381, 'metal': 20893382, 'Carton_gris': 20893383, 'environnement': 20893384, 'plastique': 20893385}", None, None, None, None, '2622220'), ('4302', '20893370', '1339982797', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982534', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982527', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982520', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982516', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982513', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982480', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982474', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982469', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982466', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982442', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982438', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982433', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982430', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982425', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982236', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982233', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982231', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982227', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982224', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982097', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981794', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981722', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981720', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981718', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981715', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981713', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981711', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981688', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981685', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981681', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981678', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981675', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981646', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981638', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981426', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981391', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981352', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981311', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981309', None, None, None, None, None, '2622220')] time used for this insertion : 0.02095770835876465 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.654195785522461 time spend to save output : 0.02137923240661621 total time spend for step 1 : 1.6755750179290771 step2:final Fri Feb 28 06:09:59 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 (20893370) 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 20893370 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339981311,1339981309,1339981352,1339981391,1339981426,1339981646,1339981688,1339981638,1339981685,1339981681,1339981678,1339981675,1339981722,1339981720,1339981718,1339981715,1339981713,1339981711,1339981794,1339982236,1339982233,1339982231,1339982227,1339982224,1339982097,1339982442,1339982438,1339982433,1339982430,1339982425,1339982480,1339982474,1339982469,1339982466,1339982534,1339982527,1339982520,1339982516,1339982513,1339982797); 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([20893370]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} new output for save of step final : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309] map_info['map_portfolio_photo'] : {20893370: [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309]} final : False mtd_id 4302 list_pids : [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309] Looping around the photos to save general results len do output : 40 /1339982797.Didn't retrieve data . /1339982534.Didn't retrieve data . /1339982527.Didn't retrieve data . /1339982520.Didn't retrieve data . /1339982516.Didn't retrieve data . /1339982513.Didn't retrieve data . /1339982480.Didn't retrieve data . /1339982474.Didn't retrieve data . /1339982469.Didn't retrieve data . /1339982466.Didn't retrieve data . /1339982442.Didn't retrieve data . /1339982438.Didn't retrieve data . /1339982433.Didn't retrieve data . /1339982430.Didn't retrieve data . /1339982425.Didn't retrieve data . /1339982236.Didn't retrieve data . /1339982233.Didn't retrieve data . /1339982231.Didn't retrieve data . /1339982227.Didn't retrieve data . /1339982224.Didn't retrieve data . /1339982097.Didn't retrieve data . /1339981794.Didn't retrieve data . /1339981722.Didn't retrieve data . /1339981720.Didn't retrieve data . /1339981718.Didn't retrieve data . /1339981715.Didn't retrieve data . /1339981713.Didn't retrieve data . /1339981711.Didn't retrieve data . /1339981688.Didn't retrieve data . /1339981685.Didn't retrieve data . /1339981681.Didn't retrieve data . /1339981678.Didn't retrieve data . /1339981675.Didn't retrieve data . /1339981646.Didn't retrieve data . /1339981638.Didn't retrieve data . /1339981426.Didn't retrieve data . /1339981391.Didn't retrieve data . /1339981352.Didn't retrieve data . /1339981311.Didn't retrieve data . /1339981309.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, '2622220') ('4302', '20893370', '1339982797', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982534', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982527', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982520', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982516', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982513', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982480', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982474', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982469', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982466', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982442', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982438', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982433', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982430', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982425', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982236', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982233', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982231', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982227', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982224', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982097', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981794', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981722', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981720', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981718', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981715', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981713', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981711', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981688', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981685', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981681', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981678', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981675', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981646', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981638', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981426', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981391', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981352', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981311', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981309', None, None, None, None, None, '2622220') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 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', '20893370', '1339982797', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982534', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982527', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982520', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982516', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982513', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982480', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982474', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982469', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982466', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982442', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982438', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982433', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982430', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982425', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982236', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982233', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982231', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982227', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982224', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339982097', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981794', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981722', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981720', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981718', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981715', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981713', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981711', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981688', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981685', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981681', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981678', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981675', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981646', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981638', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981426', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981391', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981352', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981311', '0.10209053358389608', None, None, None, None, '2622220'), ('4302', '20893370', '1339981309', '0.10209053358389608', None, None, None, None, '2622220')] time used for this insertion : 0.019366025924682617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8674526214599609 time spend to save output : 0.021013498306274414 total time spend for step 2 : 0.8884661197662354 step3:velours_tree Fri Feb 28 06:10:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20893370: [{'kraft': 20893374, 'mal_croppe': 20893375, 'cartonnette': 20893376, 'papier': 20893377, 'Teint_Dans_La_Masse': 20893378, 'flou': 20893379, 'Carton_brun': 20893380, 'autre_refus': 20893381, 'metal': 20893382, 'Carton_gris': 20893383, 'environnement': 20893384, 'plastique': 20893385}]} input_args_next_step : {20893370: ()} output_args : {20893370: [{'kraft': 20893374, 'mal_croppe': 20893375, 'cartonnette': 20893376, 'papier': 20893377, 'Teint_Dans_La_Masse': 20893378, 'flou': 20893379, 'Carton_brun': 20893380, 'autre_refus': 20893381, 'metal': 20893382, 'Carton_gris': 20893383, 'environnement': 20893384, 'plastique': 20893385}]} args : 20893370 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 : ({'kraft': 20893374, 'mal_croppe': 20893375, 'cartonnette': 20893376, 'papier': 20893377, 'Teint_Dans_La_Masse': 20893378, 'flou': 20893379, 'Carton_brun': 20893380, 'autre_refus': 20893381, 'metal': 20893382, 'Carton_gris': 20893383, 'environnement': 20893384, 'plastique': 20893385},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20893370) 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([20893370]) 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.2708396911621094 time spend to save output : 5.245208740234375e-05 total time spend for step 3 : 0.2708921432495117 step4:send_mail_cod Fri Feb 28 06:10:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} input_args_next_step : {1339982797: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982797 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982534 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982527 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982520 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982516 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982513 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982480 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982474 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982469 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982466 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982442 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982438 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982433 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982430 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982425 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982236 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982233 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982231 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982227 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982224 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339982097 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981794 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981722 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981720 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981718 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981715 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981713 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981711 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981688 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981685 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981681 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981678 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981675 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981646 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981638 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981426 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981391 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981352 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981311 depend.output_id : 0 input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ()} output_args : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',)} args : 1339981309 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 : {20893370: [{'kraft': 20893374, 'mal_croppe': 20893375, 'cartonnette': 20893376, 'papier': 20893377, 'Teint_Dans_La_Masse': 20893378, 'flou': 20893379, 'Carton_brun': 20893380, 'autre_refus': 20893381, 'metal': 20893382, 'Carton_gris': 20893383, 'environnement': 20893384, 'plastique': 20893385}]} input_args_next_step : {1339982797: ('0.10209053358389608',), 1339982534: ('0.10209053358389608',), 1339982527: ('0.10209053358389608',), 1339982520: ('0.10209053358389608',), 1339982516: ('0.10209053358389608',), 1339982513: ('0.10209053358389608',), 1339982480: ('0.10209053358389608',), 1339982474: ('0.10209053358389608',), 1339982469: ('0.10209053358389608',), 1339982466: ('0.10209053358389608',), 1339982442: ('0.10209053358389608',), 1339982438: ('0.10209053358389608',), 1339982433: ('0.10209053358389608',), 1339982430: ('0.10209053358389608',), 1339982425: ('0.10209053358389608',), 1339982236: ('0.10209053358389608',), 1339982233: ('0.10209053358389608',), 1339982231: ('0.10209053358389608',), 1339982227: ('0.10209053358389608',), 1339982224: ('0.10209053358389608',), 1339982097: ('0.10209053358389608',), 1339981794: ('0.10209053358389608',), 1339981722: ('0.10209053358389608',), 1339981720: ('0.10209053358389608',), 1339981718: ('0.10209053358389608',), 1339981715: ('0.10209053358389608',), 1339981713: ('0.10209053358389608',), 1339981711: ('0.10209053358389608',), 1339981688: ('0.10209053358389608',), 1339981685: ('0.10209053358389608',), 1339981681: ('0.10209053358389608',), 1339981678: ('0.10209053358389608',), 1339981675: ('0.10209053358389608',), 1339981646: ('0.10209053358389608',), 1339981638: ('0.10209053358389608',), 1339981426: ('0.10209053358389608',), 1339981391: ('0.10209053358389608',), 1339981352: ('0.10209053358389608',), 1339981311: ('0.10209053358389608',), 1339981309: ('0.10209053358389608',), 20893370: ()} output_args : {20893370: [{'kraft': 20893374, 'mal_croppe': 20893375, 'cartonnette': 20893376, 'papier': 20893377, 'Teint_Dans_La_Masse': 20893378, 'flou': 20893379, 'Carton_brun': 20893380, 'autre_refus': 20893381, 'metal': 20893382, 'Carton_gris': 20893383, 'environnement': 20893384, 'plastique': 20893385}]} args : 20893370 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 :41, first value : ('0.10209053358389608',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20893370) 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 (1339982797,1339982534,1339982527,1339982520,1339982516,1339982513,1339982480,1339982474,1339982469,1339982466,1339982442,1339982438,1339982433,1339982430,1339982425,1339982236,1339982233,1339982231,1339982227,1339982224,1339982097,1339981794,1339981722,1339981720,1339981718,1339981715,1339981713,1339981711,1339981688,1339981685,1339981681,1339981678,1339981675,1339981646,1339981638,1339981426,1339981391,1339981352,1339981311,1339981309) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339981309 begin to download photo : 1339981681 begin to download photo : 1339981794 begin to download photo : 1339982433 begin to download photo : 1339982520 download finish for photo 1339981309 begin to download photo : 1339981311 download finish for photo 1339981794 begin to download photo : 1339982097 download finish for photo 1339982520 begin to download photo : 1339982527 download finish for photo 1339982433 begin to download photo : 1339982438 download finish for photo 1339981311 begin to download photo : 1339981352 download finish for photo 1339982097 begin to download photo : 1339982224 download finish for photo 1339982527 begin to download photo : 1339982534 download finish for photo 1339982438 begin to download photo : 1339982442 download finish for photo 1339981352 begin to download photo : 1339981391 download finish for photo 1339982224 begin to download photo : 1339982227 download finish for photo 1339982442 begin to download photo : 1339982466 download finish for photo 1339982534 begin to download photo : 1339982797 download finish for photo 1339981391 begin to download photo : 1339981426 download finish for photo 1339982466 begin to download photo : 1339982469 download finish for photo 1339981681 begin to download photo : 1339981685 download finish for photo 1339982227 begin to download photo : 1339982231 download finish for photo 1339982797 download finish for photo 1339981426 begin to download photo : 1339981638 download finish for photo 1339982469 begin to download photo : 1339982474 download finish for photo 1339981685 begin to download photo : 1339981688 download finish for photo 1339982231 begin to download photo : 1339982233 download finish for photo 1339982474 begin to download photo : 1339982480 download finish for photo 1339981638 begin to download photo : 1339981646 download finish for photo 1339981688 begin to download photo : 1339981711 download finish for photo 1339982233 begin to download photo : 1339982236 download finish for photo 1339981646 begin to download photo : 1339981675 download finish for photo 1339982480 begin to download photo : 1339982513 download finish for photo 1339981675 begin to download photo : 1339981678 download finish for photo 1339981711 begin to download photo : 1339981713 download finish for photo 1339982236 begin to download photo : 1339982425 download finish for photo 1339982513 begin to download photo : 1339982516 download finish for photo 1339981678 download finish for photo 1339981713 begin to download photo : 1339981715 download finish for photo 1339982425 begin to download photo : 1339982430 download finish for photo 1339982516 download finish for photo 1339981715 begin to download photo : 1339981718 download finish for photo 1339982430 download finish for photo 1339981718 begin to download photo : 1339981720 download finish for photo 1339981720 begin to download photo : 1339981722 download finish for photo 1339981722 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette208933741740719402/ imagette208933751740719402/ length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P20893370_28-02-2025_06_10_02.pdf 20893374 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=20893374 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208933741740719402 20893375 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=20893375 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208933751740719402 20893376 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=20893376 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339982586: '1740687293_1790855_1339982425_890d17ad4e6464f18180df5c7b2001c5_rle_crop_3689058528_0.png', 1339983524: '1740687314_1791141_1339982442_16bc7db244682737c36bc26f7ac777a5_rle_crop_3689058743_0.png', 1339985478: '1740687632_1803754_1339982516_a9e52256172b9d3536a98c3a4aa3fb64_rle_crop_3689062300_0.png', 1339985486: '1740687654_1804065_1339982474_384adc6f695d73aca8abb0fb008968ba_bib_crop_3689062217_0.jpg', 1339985487: '1740687654_1804065_1339982474_384adc6f695d73aca8abb0fb008968ba_rle_crop_3689063801_0.png', 1339989064: '1740689212_1845696_1339981718_ed55146ec3e335e107ec7a35e2b443c8_bib_crop_3689053668_0.jpg', 1339989065: '1740689212_1845696_1339981715_dce29d96e34a27d0a524a0c104ae75e4_rle_crop_3689053922_0.png', 1339989066: '1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689085465_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/afc1007012a982664065ccda3fd6b2dd_42972009.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/adade4078e5ceb1ffa1a0f10a12c0932_71686728.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/9506a98d66c252e7e4fc1747d17e890e_74507933.png change filename to text .wget -O 4.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/e74a0c72f96767f40e67f91c0328b5e4_49448102.jpg change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/28167ed141d9bdbf74f3e3bfd2436927_64442931.png change filename to text .wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/fdd37ff75d4c62ad0ff9eb49480a6509_27022458.jpg change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/cf871654fce395a559c1980242ccde60_63215465.png change filename to text .imagette208933761740719402/ imagette208933761740719402/1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689085465_0.png.png imagette208933761740719402/1740689212_1845696_1339981718_ed55146ec3e335e107ec7a35e2b443c8_bib_crop_3689053668_0.jpg.jpg imagette208933761740719402/1740687654_1804065_1339982474_384adc6f695d73aca8abb0fb008968ba_bib_crop_3689062217_0.jpg.jpg imagette208933761740719402/1740687314_1791141_1339982442_16bc7db244682737c36bc26f7ac777a5_rle_crop_3689058743_0.png.png imagette208933761740719402/1740689212_1845696_1339981715_dce29d96e34a27d0a524a0c104ae75e4_rle_crop_3689053922_0.png.png imagette208933761740719402/1740687654_1804065_1339982474_384adc6f695d73aca8abb0fb008968ba_rle_crop_3689063801_0.png.png imagette208933761740719402/1740687632_1803754_1339982516_a9e52256172b9d3536a98c3a4aa3fb64_rle_crop_3689062300_0.png.png imagette208933761740719402/1740687293_1790855_1339982425_890d17ad4e6464f18180df5c7b2001c5_rle_crop_3689058528_0.png.png imagette208933791740719403/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/29436a56ba93c031dbd8268c8d2805cc_56362010.png imagette208933761740719402 20893379 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=20893379 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208933791740719403 20893381 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=20893381 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339982529: '1740687234_1790327_1339981681_4971237a09bfdef277994a685a394c5f_rle_crop_3689058021_0.png', 1339982530: '1740687234_1790327_1339981678_a62b394cc0f317864c80c73156d51bf9_rle_crop_3689058039_0.png', 1339983509: '1740687332_1791522_1339981681_4971237a09bfdef277994a685a394c5f_rle_crop_3689058021_0.png', 1339983510: '1740687332_1791522_1339981678_a62b394cc0f317864c80c73156d51bf9_rle_crop_3689058039_0.png', 1339983512: '1740687314_1791141_1339982227_738f908403627f95464b75ddecd4d1bb_rle_crop_3689058832_0.png', 1339985473: '1740687632_1803754_1339982513_4147dc61b69a2abb4eee206e8d6a80e5_rle_crop_3689062325_0.png', 1339985477: '1740687654_1804065_1339982474_384adc6f695d73aca8abb0fb008968ba_rle_crop_3689062228_0.png', 1339989006: '1740689212_1845696_1339981713_ac5baa3808d1f9d5fd626eea0e97c135_rle_crop_3689054181_0.png', 1339989008: '1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689054671_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6cd7e7f7a3181a6f6fccb9073eeb2409_89321994.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/3e08c75628ba2b9f9e9e8c2fac237059_82330302.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6cd7e7f7a3181a6f6fccb9073eeb2409_43710802.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/3e08c75628ba2b9f9e9e8c2fac237059_69704932.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/2a4f335fa890f57d9a71e05d2c5a95ae_95429656.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/62c35c6d3eae13b4611aa7219f197ee7_73322023.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/40e315e4fb89aaaecbe406f1ab09d382_55639272.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/df096e195fc637c69f63b55e88e40841_70438431.png change filename to text .imagette208933811740719403/ imagette208933811740719403/1740687314_1791141_1339982227_738f908403627f95464b75ddecd4d1bb_rle_crop_3689058832_0.png.png imagette208933811740719403/1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689054671_0.png.png imagette208933811740719403/1740687654_1804065_1339982474_384adc6f695d73aca8abb0fb008968ba_rle_crop_3689062228_0.png.png imagette208933811740719403/1740687234_1790327_1339981678_a62b394cc0f317864c80c73156d51bf9_rle_crop_3689058039_0.png.png imagette208933811740719403/1740687632_1803754_1339982513_4147dc61b69a2abb4eee206e8d6a80e5_rle_crop_3689062325_0.png.png imagette208933811740719403/1740687234_1790327_1339981681_4971237a09bfdef277994a685a394c5f_rle_crop_3689058021_0.png.png imagette208933811740719403/1740687332_1791522_1339981681_4971237a09bfdef277994a685a394c5f_rle_crop_3689058021_0.png.png imagette208933811740719403/1740687332_1791522_1339981678_a62b394cc0f317864c80c73156d51bf9_rle_crop_3689058039_0.png.png imagette208933811740719403/1740689212_1845696_1339981713_ac5baa3808d1f9d5fd626eea0e97c135_rle_crop_3689054181_0.png.png imagette208933821740719404/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/3a19e948a33f311249f2d11e768da2c4_16949870.png imagette208933811740719403 20893382 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=20893382 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208933821740719404 20893385 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=20893385 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339982503: '1740687213_1790185_1339981688_ec446961fd4ad7ad36396f7c3ba64ff6_rle_crop_3689056261_0.png', 1339982504: '1740687213_1790185_1339981638_b4a9c7ad1ea153d22e44211d70a302cf_rle_crop_3689056288_0.png', 1339982540: '1740687234_1790327_1339981685_d97198ae7502f32b6da2d32d11677448_rle_crop_3689057999_0.png', 1339983521: '1740687332_1791522_1339981685_d97198ae7502f32b6da2d32d11677448_rle_crop_3689057999_0.png', 1339983536: '1740687314_1791141_1339982233_989542d72328c2e536cc4d47c15316f7_rle_crop_3689058777_0.png', 1339983537: '1740687314_1791141_1339982097_e9b5460b5ddac434bf1686e45e4e20d1_rle_crop_3689060536_0.png', 1339985491: '1740687654_1804065_1339982466_a7e0a58f27bf1bd2670c2bd3aea159e1_rle_crop_3689062244_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0a1493b6113386d853fda31458fb9223_84389378.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/779a27893e1da865fdba1beff5ba8015_71614175.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/88a915c801962cc09dc75de5de73f24e_46465715.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/88a915c801962cc09dc75de5de73f24e_57701393.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0dba3c02f30e9d0f558beb2de7bff2a5_28940293.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/9ad2b0e5a092d97e99cae46665479e51_49313800.png change filename to text .imagette208933851740719404/ imagette208933851740719404/1740687213_1790185_1339981688_ec446961fd4ad7ad36396f7c3ba64ff6_rle_crop_3689056261_0.png.png imagette208933851740719404/1740687213_1790185_1339981638_b4a9c7ad1ea153d22e44211d70a302cf_rle_crop_3689056288_0.png.png imagette208933851740719404/1740687314_1791141_1339982097_e9b5460b5ddac434bf1686e45e4e20d1_rle_crop_3689060536_0.png.png imagette208933851740719404/1740687234_1790327_1339981685_d97198ae7502f32b6da2d32d11677448_rle_crop_3689057999_0.png.png imagette208933851740719404/1740687332_1791522_1339981685_d97198ae7502f32b6da2d32d11677448_rle_crop_3689057999_0.png.png imagette208933851740719404/1740687654_1804065_1339982466_a7e0a58f27bf1bd2670c2bd3aea159e1_rle_crop_3689062244_0.png.png imagette208933851740719404/1740687314_1791141_1339982233_989542d72328c2e536cc4d47c15316f7_rle_crop_3689058777_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/44a107c96d1dbbe5a121413c077494cf_85038769.png imagette208933851740719404 20893378 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=20893378 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339981787: '1740686991_1779396_1339981352_c404e3af654f94bcae3128dc220036df_rle_crop_3689046521_0.png', 1339982524: '1740687234_1790327_1339981681_4971237a09bfdef277994a685a394c5f_rle_crop_3689058032_0.png', 1339982525: '1740687234_1790327_1339981678_a62b394cc0f317864c80c73156d51bf9_rle_crop_3689058042_0.png', 1339982526: '1740687234_1790327_1339981675_af381bb9db0af0b782d6f091d686e553_rle_crop_3689058058_0.png', 1339983504: '1740687332_1791522_1339981681_4971237a09bfdef277994a685a394c5f_rle_crop_3689058032_0.png', 1339983505: '1740687332_1791522_1339981678_a62b394cc0f317864c80c73156d51bf9_rle_crop_3689058042_0.png', 1339983506: '1740687332_1791522_1339981675_af381bb9db0af0b782d6f091d686e553_rle_crop_3689058058_0.png', 1339983507: '1740687314_1791141_1339982227_738f908403627f95464b75ddecd4d1bb_rle_crop_3689058831_0.png', 1339983508: '1740687314_1791141_1339982224_ecf2d21825a07facf8f80fd07fd47a19_rle_crop_3689060457_0.png', 1339985472: '1740687632_1803754_1339982527_2ef7ffb141dc3aa4ba37ebdf6dc9dd94_rle_crop_3689062276_0.png', 1339989000: '1740689212_1845696_1339981720_26889e16b69861e5da0b2bbaf695610b_bib_crop_3689053418_0.jpg', 1339989001: '1740689212_1845696_1339981720_26889e16b69861e5da0b2bbaf695610b_bib_crop_3689053417_0.jpg', 1339989002: '1740689212_1845696_1339981715_dce29d96e34a27d0a524a0c104ae75e4_rle_crop_3689053923_0.png', 1339989003: '1740689212_1845696_1339981713_ac5baa3808d1f9d5fd626eea0e97c135_rle_crop_3689054185_0.png', 1339989004: '1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689054680_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/e713d90110f1904f5ea05f24352b7697_99332147.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/437241554e5600a3599c03b4756f5d30_51932931.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0b5830aac00d31eb38ae831c1944a6ee_85875373.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8488cd339ed65a9df0b7a4dafe038ef8_83687298.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/437241554e5600a3599c03b4756f5d30_75595794.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0b5830aac00d31eb38ae831c1944a6ee_11285119.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8488cd339ed65a9df0b7a4dafe038ef8_72893810.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/94f3effcf63d92b43e582d04b0ba7d7d_12126473.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/c97b2691c836df2538472a1db4124a38_64448581.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/2830dca5feaf357b4a683a79e9ef1a57_92083798.png change filename to text .wget -O 11.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/556ee1cc61a42863cb699af7b5bbcd0f_86145976.jpg change filename to text .wget -O 12.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4d7e6367d236a4fb73341313dc5fca0a_23823366.jpg change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/fb5b9223ea7b977067877c57106830d7_17765216.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/76da7a91f2f28f48446bf815b10ecae9_18564961.png change filename to text .imagette208933781740719405/ imagette208933781740719405/1740689212_1845696_1339981720_26889e16b69861e5da0b2bbaf695610b_bib_crop_3689053418_0.jpg.jpg imagette208933781740719405/1740689212_1845696_1339981715_dce29d96e34a27d0a524a0c104ae75e4_rle_crop_3689053923_0.png.png imagette208933781740719405/1740689212_1845696_1339981713_ac5baa3808d1f9d5fd626eea0e97c135_rle_crop_3689054185_0.png.png imagette208933781740719405/1740687234_1790327_1339981675_af381bb9db0af0b782d6f091d686e553_rle_crop_3689058058_0.png.png imagette208933781740719405/1740687332_1791522_1339981681_4971237a09bfdef277994a685a394c5f_rle_crop_3689058032_0.png.png imagette208933781740719405/1740687332_1791522_1339981675_af381bb9db0af0b782d6f091d686e553_rle_crop_3689058058_0.png.png imagette208933781740719405/1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689054680_0.png.png imagette208933781740719405/1740687234_1790327_1339981681_4971237a09bfdef277994a685a394c5f_rle_crop_3689058032_0.png.png imagette208933781740719405/1740687332_1791522_1339981678_a62b394cc0f317864c80c73156d51bf9_rle_crop_3689058042_0.png.png imagette208933781740719405/1740687314_1791141_1339982224_ecf2d21825a07facf8f80fd07fd47a19_rle_crop_3689060457_0.png.png imagette208933781740719405/1740687234_1790327_1339981678_a62b394cc0f317864c80c73156d51bf9_rle_crop_3689058042_0.png.png imagette208933781740719405/1740687632_1803754_1339982527_2ef7ffb141dc3aa4ba37ebdf6dc9dd94_rle_crop_3689062276_0.png.png imagette208933781740719405/1740686991_1779396_1339981352_c404e3af654f94bcae3128dc220036df_rle_crop_3689046521_0.png.png imagette208933781740719405/1740687314_1791141_1339982227_738f908403627f95464b75ddecd4d1bb_rle_crop_3689058831_0.png.png imagette208933781740719405/1740689212_1845696_1339981720_26889e16b69861e5da0b2bbaf695610b_bib_crop_3689053417_0.jpg.jpg wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/44b64f3670144675ab69f2f92866b609_41361287.png imagette208933781740719405 20893380 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=20893380 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339983529: '1740687314_1791141_1339982233_989542d72328c2e536cc4d47c15316f7_rle_crop_3689058768_0.png', 1339989071: '1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689054672_0.png', 1339989070: '1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_bib_crop_3689054675_0.jpg', 1339989069: '1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689054677_0.png', 1339989068: '1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689054681_0.png', 1339985488: '1740687654_1804065_1339982474_384adc6f695d73aca8abb0fb008968ba_rle_crop_3689062223_0.png', 1339985485: '1740687632_1803754_1339982513_4147dc61b69a2abb4eee206e8d6a80e5_rle_crop_3689062326_0.png', 1339985484: '1740687632_1803754_1339982513_4147dc61b69a2abb4eee206e8d6a80e5_rle_crop_3689062322_0.png', 1339985483: '1740687632_1803754_1339982516_a9e52256172b9d3536a98c3a4aa3fb64_rle_crop_3689062307_0.png', 1339985482: '1740687632_1803754_1339982520_260743256df0e650c54e9d75fd3e361b_rle_crop_3689062294_0.png', 1339985481: '1740687632_1803754_1339982527_2ef7ffb141dc3aa4ba37ebdf6dc9dd94_rle_crop_3689062275_0.png', 1339983532: '1740687314_1791141_1339982224_ecf2d21825a07facf8f80fd07fd47a19_rle_crop_3689060452_0.png', 1339983531: '1740687314_1791141_1339982227_738f908403627f95464b75ddecd4d1bb_rle_crop_3689058828_0.png', 1339983530: '1740687314_1791141_1339982231_c21d0b11df44dada269881950a5e0cef_rle_crop_3689058811_0.png', 1339981792: '1740686991_1779396_1339981352_c404e3af654f94bcae3128dc220036df_rle_crop_3689046520_0.png', 1339983516: '1740687332_1791522_1339981675_af381bb9db0af0b782d6f091d686e553_rle_crop_3689058055_0.png', 1339983515: '1740687332_1791522_1339981678_a62b394cc0f317864c80c73156d51bf9_rle_crop_3689058041_0.png', 1339983514: '1740687332_1791522_1339981681_4971237a09bfdef277994a685a394c5f_rle_crop_3689058835_0.png', 1339983513: '1740687332_1791522_1339981681_4971237a09bfdef277994a685a394c5f_bib_crop_3689058026_0.jpg', 1339982592: '1740687293_1790855_1339982433_41e1b3c2f1a69c27bcbb60c08053a648_rle_crop_3689058500_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/edea19ed8617166f5ae81d10d4007922_33728193.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/a24d1f20cc4e38bbea015de454e0dee5_53506052.png change filename to text .wget -O 3.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/338659b8581bc53d7241c514b9f1bb1b_20986251.jpg change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/76b2d408028a7c72773713b773eaacb1_59565302.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/7ae23f2be6e222365eba034f4addde74_26564896.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/2a75c70412e61c4ad86144b1bf77be10_99943065.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/7fe1320cc16a6a5b5350144e7efb43d9_28091797.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/5865ed3632aa7be35e37f1dda9f6a92b_25661527.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ca56a4c4809eb1b5f3333f4ab48cdc84_50240350.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/b612b3c21fd18c80d44bac485c080f3d_94712917.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ced82141d0c96e595d118fbebe16ff10_31090272.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0afa8a61e33df0f7d031f649be86e5e2_28279261.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/3b31bf7e28f6c83113cd2ecf1b1c040e_68013834.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8de57b015ed9af907ab1163bc0f913c6_12498731.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/c73de95fc38f727de57f1f28e58fbb1f_27234522.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/023002970f0deeb7a92793e090d0be0a_39061009.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4cc0cfcacd37d3f86ea336bc7ca64de1_22685770.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/2d685d975afc0fa82d0a80161e852154_19019989.png change filename to text .wget -O 19.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/aaeec977d9ae71aabb2c0e2155504d7b_2988064.jpg change filename to text .imagette208933801740719407/ imagette208933801740719407/1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689054681_0.png.png imagette208933801740719407/1740687654_1804065_1339982474_384adc6f695d73aca8abb0fb008968ba_rle_crop_3689062223_0.png.png imagette208933801740719407/1740687314_1791141_1339982227_738f908403627f95464b75ddecd4d1bb_rle_crop_3689058828_0.png.png imagette208933801740719407/1740687314_1791141_1339982224_ecf2d21825a07facf8f80fd07fd47a19_rle_crop_3689060452_0.png.png imagette208933801740719407/1740687632_1803754_1339982527_2ef7ffb141dc3aa4ba37ebdf6dc9dd94_rle_crop_3689062275_0.png.png imagette208933801740719407/1740687332_1791522_1339981675_af381bb9db0af0b782d6f091d686e553_rle_crop_3689058055_0.png.png imagette208933801740719407/1740687332_1791522_1339981678_a62b394cc0f317864c80c73156d51bf9_rle_crop_3689058041_0.png.png imagette208933801740719407/1740687314_1791141_1339982231_c21d0b11df44dada269881950a5e0cef_rle_crop_3689058811_0.png.png imagette208933801740719407/1740687314_1791141_1339982233_989542d72328c2e536cc4d47c15316f7_rle_crop_3689058768_0.png.png imagette208933801740719407/1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_bib_crop_3689054675_0.jpg.jpg imagette208933801740719407/1740687632_1803754_1339982520_260743256df0e650c54e9d75fd3e361b_rle_crop_3689062294_0.png.png imagette208933801740719407/1740687332_1791522_1339981681_4971237a09bfdef277994a685a394c5f_bib_crop_3689058026_0.jpg.jpg imagette208933801740719407/1740687293_1790855_1339982433_41e1b3c2f1a69c27bcbb60c08053a648_rle_crop_3689058500_0.png.png imagette208933801740719407/1740687632_1803754_1339982513_4147dc61b69a2abb4eee206e8d6a80e5_rle_crop_3689062322_0.png.png imagette208933801740719407/1740687632_1803754_1339982516_a9e52256172b9d3536a98c3a4aa3fb64_rle_crop_3689062307_0.png.png imagette208933801740719407/1740687332_1791522_1339981681_4971237a09bfdef277994a685a394c5f_rle_crop_3689058835_0.png.png imagette208933801740719407/1740686991_1779396_1339981352_c404e3af654f94bcae3128dc220036df_rle_crop_3689046520_0.png.png imagette208933801740719407/1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689054677_0.png.png imagette208933801740719407/1740687632_1803754_1339982513_4147dc61b69a2abb4eee206e8d6a80e5_rle_crop_3689062326_0.png.png imagette208933801740719407/1740689212_1845696_1339981711_b7ce7c7b6ed1e0b4f6015589de176821_rle_crop_3689054672_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/aa1b99190d5e9a6d7d67aa7506ea45c5_74194599.png imagette208933801740719407 20893383 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=20893383 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339981789: '1740686991_1779396_1339981352_c404e3af654f94bcae3128dc220036df_rle_crop_3689046515_0.png', 1339981790: '1740686991_1779396_1339981311_87d4c1d2730db3f7480f9b8d1edc624d_rle_crop_3689046525_0.png', 1339981791: '1740686991_1779396_1339981309_feb21d7669b251f3f3ea2e568e0e825f_rle_crop_3689046532_0.png', 1339982532: '1740687234_1790327_1339981722_4446629119f07010cc5bbf974556fa40_rle_crop_3689057982_0.png', 1339982585: '1740687293_1790855_1339982425_890d17ad4e6464f18180df5c7b2001c5_rle_crop_3689058529_0.png', 1339983511: '1740687332_1791522_1339981722_4446629119f07010cc5bbf974556fa40_rle_crop_3689057982_0.png', 1339983517: '1740687314_1791141_1339982442_16bc7db244682737c36bc26f7ac777a5_rle_crop_3689058740_0.png', 1339983518: '1740687314_1791141_1339982227_738f908403627f95464b75ddecd4d1bb_rle_crop_3689058829_0.png', 1339983519: '1740687314_1791141_1339982224_ecf2d21825a07facf8f80fd07fd47a19_rle_crop_3689060454_0.png', 1339983520: '1740687314_1791141_1339982224_ecf2d21825a07facf8f80fd07fd47a19_rle_crop_3689060447_0.png', 1339985474: '1740687632_1803754_1339982797_ee664a06951e1bc6f5136097897c1ed6_rle_crop_3689063478_0.png', 1339985475: '1740687632_1803754_1339982516_a9e52256172b9d3536a98c3a4aa3fb64_rle_crop_3689062311_0.png', 1339985480: '1740687654_1804065_1339982469_b978f6520ed95863027bcce0415de441_rle_crop_3689062238_0.png', 1339989059: '1740689212_1845696_1339981720_26889e16b69861e5da0b2bbaf695610b_bib_crop_3689053422_0.jpg'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4ced13a2585cf43c8850259070503b44_2798558.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/46b76efc64fe0489814ae99b8eb041d1_60742615.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6c3c33a0d18e0399a4b7bb1ebd26865f_67798937.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6982fd9aa2bd541b35f015d74b36b7a9_41322250.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/e05363d94d1ca67dd17e642d2c454bf7_81619547.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6982fd9aa2bd541b35f015d74b36b7a9_45936287.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/87f8953e5ba1483dbdba421990409cab_98835163.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ab34a8ac2649203f23984b9be39b900a_93314857.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/c72810bfa4e52c4cf6fbc71ba4fc69ff_58365777.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4019dfd320f152b6ed1ad80a42a288c6_81693671.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6dde298cfb77cdda01d64fd0a9aed688_69621445.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ca2a77201c85747896b94abee0aaff1a_35965850.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/2aefbf16ff3fd10c4800448179c119d6_81968208.png change filename to text .imagette208933831740719409/ imagette208933831740719409/1740687314_1791141_1339982224_ecf2d21825a07facf8f80fd07fd47a19_rle_crop_3689060454_0.png.png imagette208933831740719409/1740686991_1779396_1339981311_87d4c1d2730db3f7480f9b8d1edc624d_rle_crop_3689046525_0.png.png imagette208933831740719409/1740689212_1845696_1339981720_26889e16b69861e5da0b2bbaf695610b_bib_crop_3689053422_0.jpg.jpg imagette208933831740719409/1740687234_1790327_1339981722_4446629119f07010cc5bbf974556fa40_rle_crop_3689057982_0.png.png imagette208933831740719409/1740687654_1804065_1339982469_b978f6520ed95863027bcce0415de441_rle_crop_3689062238_0.png.png imagette208933831740719409/1740687314_1791141_1339982224_ecf2d21825a07facf8f80fd07fd47a19_rle_crop_3689060447_0.png.png imagette208933831740719409/1740687314_1791141_1339982442_16bc7db244682737c36bc26f7ac777a5_rle_crop_3689058740_0.png.png imagette208933831740719409/1740687314_1791141_1339982227_738f908403627f95464b75ddecd4d1bb_rle_crop_3689058829_0.png.png imagette208933831740719409/1740686991_1779396_1339981309_feb21d7669b251f3f3ea2e568e0e825f_rle_crop_3689046532_0.png.png imagette208933831740719409/1740687632_1803754_1339982797_ee664a06951e1bc6f5136097897c1ed6_rle_crop_3689063478_0.png.png imagette208933831740719409/1740686991_1779396_1339981352_c404e3af654f94bcae3128dc220036df_rle_crop_3689046515_0.png.png imagette208933831740719409/1740687332_1791522_1339981722_4446629119f07010cc5bbf974556fa40_rle_crop_3689057982_0.png.png imagette208933831740719409/1740687632_1803754_1339982516_a9e52256172b9d3536a98c3a4aa3fb64_rle_crop_3689062311_0.png.png imagette208933831740719409/1740687293_1790855_1339982425_890d17ad4e6464f18180df5c7b2001c5_rle_crop_3689058529_0.png.png wget -O 14.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/a6626366fed752854caf1ccbc51ab940_63527448.jpg imagette208933831740719409 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20893370 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20893386,20893387,20893388,20893389,20893390,20893391,20893392,20893393,20893394,20893395,20893396,20893397?tags=kraft,mal_croppe,cartonnette,papier,Teint_Dans_La_Masse,flou,Carton_brun,autre_refus,metal,Carton_gris,environnement,plastique your option no_mail is active, we will not send the real mail to your client args[1339982797] : ('0.10209053358389608',) no score found for photo 1339982797 We are sending mail with results at report@fotonower.com args[1339982534] : ('0.10209053358389608',) no score found for photo 1339982534 We are sending mail with results at report@fotonower.com args[1339982527] : ('0.10209053358389608',) no score found for photo 1339982527 We are sending mail with results at report@fotonower.com args[1339982520] : ('0.10209053358389608',) no score found for photo 1339982520 We are sending mail with results at report@fotonower.com args[1339982516] : ('0.10209053358389608',) no score found for photo 1339982516 We are sending mail with results at report@fotonower.com args[1339982513] : ('0.10209053358389608',) no score found for photo 1339982513 We are sending mail with results at report@fotonower.com args[1339982480] : ('0.10209053358389608',) no score found for photo 1339982480 We are sending mail with results at report@fotonower.com args[1339982474] : ('0.10209053358389608',) no score found for photo 1339982474 We are sending mail with results at report@fotonower.com args[1339982469] : ('0.10209053358389608',) no score found for photo 1339982469 We are sending mail with results at report@fotonower.com args[1339982466] : ('0.10209053358389608',) no score found for photo 1339982466 We are sending mail with results at report@fotonower.com args[1339982442] : ('0.10209053358389608',) no score found for photo 1339982442 We are sending mail with results at report@fotonower.com args[1339982438] : ('0.10209053358389608',) no score found for photo 1339982438 We are sending mail with results at report@fotonower.com args[1339982433] : ('0.10209053358389608',) no score found for photo 1339982433 We are sending mail with results at report@fotonower.com args[1339982430] : ('0.10209053358389608',) no score found for photo 1339982430 We are sending mail with results at report@fotonower.com args[1339982425] : ('0.10209053358389608',) no score found for photo 1339982425 We are sending mail with results at report@fotonower.com args[1339982236] : ('0.10209053358389608',) no score found for photo 1339982236 We are sending mail with results at report@fotonower.com args[1339982233] : ('0.10209053358389608',) no score found for photo 1339982233 We are sending mail with results at report@fotonower.com args[1339982231] : ('0.10209053358389608',) no score found for photo 1339982231 We are sending mail with results at report@fotonower.com args[1339982227] : ('0.10209053358389608',) no score found for photo 1339982227 We are sending mail with results at report@fotonower.com args[1339982224] : ('0.10209053358389608',) no score found for photo 1339982224 We are sending mail with results at report@fotonower.com args[1339982097] : ('0.10209053358389608',) no score found for photo 1339982097 We are sending mail with results at report@fotonower.com args[1339981794] : ('0.10209053358389608',) no score found for photo 1339981794 We are sending mail with results at report@fotonower.com args[1339981722] : ('0.10209053358389608',) no score found for photo 1339981722 We are sending mail with results at report@fotonower.com args[1339981720] : ('0.10209053358389608',) no score found for photo 1339981720 We are sending mail with results at report@fotonower.com args[1339981718] : ('0.10209053358389608',) no score found for photo 1339981718 We are sending mail with results at report@fotonower.com args[1339981715] : ('0.10209053358389608',) no score found for photo 1339981715 We are sending mail with results at report@fotonower.com args[1339981713] : ('0.10209053358389608',) no score found for photo 1339981713 We are sending mail with results at report@fotonower.com args[1339981711] : ('0.10209053358389608',) no score found for photo 1339981711 We are sending mail with results at report@fotonower.com args[1339981688] : ('0.10209053358389608',) no score found for photo 1339981688 We are sending mail with results at report@fotonower.com args[1339981685] : ('0.10209053358389608',) no score found for photo 1339981685 We are sending mail with results at report@fotonower.com args[1339981681] : ('0.10209053358389608',) no score found for photo 1339981681 We are sending mail with results at report@fotonower.com args[1339981678] : ('0.10209053358389608',) no score found for photo 1339981678 We are sending mail with results at report@fotonower.com args[1339981675] : ('0.10209053358389608',) no score found for photo 1339981675 We are sending mail with results at report@fotonower.com args[1339981646] : ('0.10209053358389608',) no score found for photo 1339981646 We are sending mail with results at report@fotonower.com args[1339981638] : ('0.10209053358389608',) no score found for photo 1339981638 We are sending mail with results at report@fotonower.com args[1339981426] : ('0.10209053358389608',) no score found for photo 1339981426 We are sending mail with results at report@fotonower.com args[1339981391] : ('0.10209053358389608',) no score found for photo 1339981391 We are sending mail with results at report@fotonower.com args[1339981352] : ('0.10209053358389608',) no score found for photo 1339981352 We are sending mail with results at report@fotonower.com args[1339981311] : ('0.10209053358389608',) no score found for photo 1339981311 We are sending mail with results at report@fotonower.com args[1339981309] : ('0.10209053358389608',) no score found for photo 1339981309 We are sending mail with results at report@fotonower.com refus_total : 0.10209053358389608 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=20893370 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_P20893370_28-02-2025_06_10_02.pdf results_Auto_P20893370_28-02-2025_06_10_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893370_28-02-2025_06_10_02.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','20893370','results_Auto_P20893370_28-02-2025_06_10_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893370_28-02-2025_06_10_02.pdf','pdf','','0.53','0.10209053358389608') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20893370]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309] map_info['map_portfolio_photo'] : {20893370: [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309]} final : False mtd_id 4302 list_pids : [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309] 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, '2622220') ('4302', '20893370', '1339982797', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982534', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982527', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982520', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982516', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982513', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982480', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982474', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982469', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982466', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982442', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982438', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982433', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982430', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982425', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982236', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982233', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982231', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982227', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982224', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982097', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981794', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981722', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981720', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981718', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981715', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981713', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981711', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981688', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981685', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981681', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981678', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981675', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981646', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981638', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981426', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981391', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981352', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981311', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981309', None, None, None, None, None, '2622220') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20893370', '1339982797', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982534', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982527', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982520', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982516', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982513', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982480', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982474', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982469', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982466', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982442', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982438', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982433', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982430', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982425', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982236', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982233', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982231', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982227', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982224', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982097', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981794', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981722', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981720', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981718', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981715', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981713', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981711', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981688', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981685', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981681', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981678', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981675', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981646', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981638', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981426', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981391', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981352', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981311', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981309', None, None, None, None, None, '2622220')] time used for this insertion : 0.17780613899230957 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.652151584625244 time spend to save output : 0.17827343940734863 total time spend for step 4 : 12.830425024032593 step5:split_time_score Fri Feb 28 06:10:13 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 : ['20893370'] 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 : [('20893370',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20893370) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1339982520: {'path': 'temp/1740719400_3282593_1339982520_260743256df0e650c54e9d75fd3e361b.jpg', 'extension': 'jpg'}, 1339982527: {'path': 'temp/1740719400_3282593_1339982527_2ef7ffb141dc3aa4ba37ebdf6dc9dd94.jpg', 'extension': 'jpg'}, 1339982534: {'path': 'temp/1740719400_3282593_1339982534_8e5fec08fb9b70883734be87a0fb29f8.jpg', 'extension': 'jpg'}, 1339982797: {'path': 'temp/1740719400_3282593_1339982797_ee664a06951e1bc6f5136097897c1ed6.jpg', 'extension': 'jpg'}, 1339981309: {'path': 'temp/1740719400_3282593_1339981309_feb21d7669b251f3f3ea2e568e0e825f.jpg', 'extension': 'jpg'}, 1339981311: {'path': 'temp/1740719400_3282593_1339981311_87d4c1d2730db3f7480f9b8d1edc624d.jpg', 'extension': 'jpg'}, 1339981352: {'path': 'temp/1740719400_3282593_1339981352_c404e3af654f94bcae3128dc220036df.jpg', 'extension': 'jpg'}, 1339981391: {'path': 'temp/1740719400_3282593_1339981391_10ceee7f46647c450912a908d662fd54.jpg', 'extension': 'jpg'}, 1339981426: {'path': 'temp/1740719400_3282593_1339981426_026ba5c2c6110efa34562a02570f5644.jpg', 'extension': 'jpg'}, 1339981638: {'path': 'temp/1740719400_3282593_1339981638_b4a9c7ad1ea153d22e44211d70a302cf.jpg', 'extension': 'jpg'}, 1339981646: {'path': 'temp/1740719400_3282593_1339981646_66858bdbaa10ef9ab0e1f296a09eb295.jpg', 'extension': 'jpg'}, 1339981675: {'path': 'temp/1740719400_3282593_1339981675_af381bb9db0af0b782d6f091d686e553.jpg', 'extension': 'jpg'}, 1339981678: {'path': 'temp/1740719400_3282593_1339981678_a62b394cc0f317864c80c73156d51bf9.jpg', 'extension': 'jpg'}, 1339982433: {'path': 'temp/1740719400_3282593_1339982433_41e1b3c2f1a69c27bcbb60c08053a648.jpg', 'extension': 'jpg'}, 1339982438: {'path': 'temp/1740719400_3282593_1339982438_5623e5db42321bea552af97f59d4681a.jpg', 'extension': 'jpg'}, 1339982442: {'path': 'temp/1740719400_3282593_1339982442_16bc7db244682737c36bc26f7ac777a5.jpg', 'extension': 'jpg'}, 1339982466: {'path': 'temp/1740719400_3282593_1339982466_a7e0a58f27bf1bd2670c2bd3aea159e1.jpg', 'extension': 'jpg'}, 1339982469: {'path': 'temp/1740719400_3282593_1339982469_b978f6520ed95863027bcce0415de441.jpg', 'extension': 'jpg'}, 1339982474: {'path': 'temp/1740719400_3282593_1339982474_384adc6f695d73aca8abb0fb008968ba.jpg', 'extension': 'jpg'}, 1339982480: {'path': 'temp/1740719400_3282593_1339982480_77de7b04dfd2be37dd45453fc14fb96c.jpg', 'extension': 'jpg'}, 1339982513: {'path': 'temp/1740719400_3282593_1339982513_4147dc61b69a2abb4eee206e8d6a80e5.jpg', 'extension': 'jpg'}, 1339982516: {'path': 'temp/1740719400_3282593_1339982516_a9e52256172b9d3536a98c3a4aa3fb64.jpg', 'extension': 'jpg'}, 1339981794: {'path': 'temp/1740719400_3282593_1339981794_a5b04623f10ff53079c7ef4008a3eb69.jpg', 'extension': 'jpg'}, 1339982097: {'path': 'temp/1740719400_3282593_1339982097_e9b5460b5ddac434bf1686e45e4e20d1.jpg', 'extension': 'jpg'}, 1339982224: {'path': 'temp/1740719400_3282593_1339982224_ecf2d21825a07facf8f80fd07fd47a19.jpg', 'extension': 'jpg'}, 1339982227: {'path': 'temp/1740719400_3282593_1339982227_738f908403627f95464b75ddecd4d1bb.jpg', 'extension': 'jpg'}, 1339982231: {'path': 'temp/1740719400_3282593_1339982231_c21d0b11df44dada269881950a5e0cef.jpg', 'extension': 'jpg'}, 1339982233: {'path': 'temp/1740719400_3282593_1339982233_989542d72328c2e536cc4d47c15316f7.jpg', 'extension': 'jpg'}, 1339982236: {'path': 'temp/1740719400_3282593_1339982236_7837eed218d5ed78eb154b88de79357d.jpg', 'extension': 'jpg'}, 1339982425: {'path': 'temp/1740719400_3282593_1339982425_890d17ad4e6464f18180df5c7b2001c5.jpg', 'extension': 'jpg'}, 1339982430: {'path': 'temp/1740719400_3282593_1339982430_7df4eab6bc8820dab82e9a28b9342f5b.jpg', 'extension': 'jpg'}, 1339981681: {'path': 'temp/1740719400_3282593_1339981681_4971237a09bfdef277994a685a394c5f.jpg', 'extension': 'jpg'}, 1339981685: {'path': 'temp/1740719400_3282593_1339981685_d97198ae7502f32b6da2d32d11677448.jpg', 'extension': 'jpg'}, 1339981688: {'path': 'temp/1740719400_3282593_1339981688_ec446961fd4ad7ad36396f7c3ba64ff6.jpg', 'extension': 'jpg'}, 1339981711: {'path': 'temp/1740719400_3282593_1339981711_b7ce7c7b6ed1e0b4f6015589de176821.jpg', 'extension': 'jpg'}, 1339981713: {'path': 'temp/1740719400_3282593_1339981713_ac5baa3808d1f9d5fd626eea0e97c135.jpg', 'extension': 'jpg'}, 1339981715: {'path': 'temp/1740719400_3282593_1339981715_dce29d96e34a27d0a524a0c104ae75e4.jpg', 'extension': 'jpg'}, 1339981718: {'path': 'temp/1740719400_3282593_1339981718_ed55146ec3e335e107ec7a35e2b443c8.jpg', 'extension': 'jpg'}, 1339981720: {'path': 'temp/1740719400_3282593_1339981720_26889e16b69861e5da0b2bbaf695610b.jpg', 'extension': 'jpg'}, 1339981722: {'path': 'temp/1740719400_3282593_1339981722_4446629119f07010cc5bbf974556fa40.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 = 20893370; (('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 = 20893370 group by h (('21', 40),) 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=20893370 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 (20893370) 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 (20893370) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27022025 20893370 Nombre de photos uploadées : 40 / 23040 (0%) 27022025 20893370 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 27022025 20893370 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1339981311, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/87d4c1d2730db3f7480f9b8d1edc624d.jpg', 'username': None, 'uploaded_at': 1740686591, 'text': 'image_27022025_21_02_15_010138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339981309, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/feb21d7669b251f3f3ea2e568e0e825f.jpg', 'username': None, 'uploaded_at': 1740686591, 'text': 'image_27022025_21_02_44_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339981352, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/c404e3af654f94bcae3128dc220036df.jpg', 'username': None, 'uploaded_at': 1740686651, 'text': 'image_27022025_21_02_54_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339981391, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/10ceee7f46647c450912a908d662fd54.jpg', 'username': None, 'uploaded_at': 1740686711, 'text': 'image_27022025_21_03_15_10136.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015845298767089844 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20893370, '2025-02-27' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1627066,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02942800521850586 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= 1627066 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20860721, 'dashboard_result_id': 9123009, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860721_28-02-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860757, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20861260, 'dashboard_result_id': 9123010, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861260_28-02-2025_05_35_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20861269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861272, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20861699, 'dashboard_result_id': 9123011, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861699_28-02-2025_05_36_11.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20861724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861735, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20862140, 'dashboard_result_id': 9123012, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20862140_28-02-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20862165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20862166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20862167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20862168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20862169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20862170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20862171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20862172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20862173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20862174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20862175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20862176, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20863329, 'dashboard_result_id': 9123013, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20863329_28-02-2025_05_37_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20863355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20863356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20863357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20863358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20863359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20863360, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20863361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20863362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20863363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20863364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20863365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20863366, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20864042, 'dashboard_result_id': 9123014, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864042_28-02-2025_05_38_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864078, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20864373, 'dashboard_result_id': 9123015, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864373_28-02-2025_05_38_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864445, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20865062, 'dashboard_result_id': 9123016, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865062_28-02-2025_05_39_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20865114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865122, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20865620, 'dashboard_result_id': 9123017, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865620_28-02-2025_05_40_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20865621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865632, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20866040, 'dashboard_result_id': 9123018, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866040_28-02-2025_05_40_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20866053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20866055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866076, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20866770, 'dashboard_result_id': 9123019, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866770_28-02-2025_05_41_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20866771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20866775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866782, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20866940, 'dashboard_result_id': 9123020, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866940_28-02-2025_05_42_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20867028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867036, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20867850, 'dashboard_result_id': 9123021, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20867850_28-02-2025_05_42_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20867851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867862, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20868442, 'dashboard_result_id': 9123022, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868442_28-02-2025_05_43_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20868470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868478, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20868803, 'dashboard_result_id': 9123023, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868803_28-02-2025_05_44_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20868852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868863, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20870132, 'dashboard_result_id': 9123024, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870132_28-02-2025_05_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870168, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20870333, 'dashboard_result_id': 9123025, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870333_28-02-2025_05_45_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870361, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20870893, 'dashboard_result_id': 9123026, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870893_28-02-2025_05_46_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870953, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20871369, 'dashboard_result_id': 9123027, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20871369_28-02-2025_05_46_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20871394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20871395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20871396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20871397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20871398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20871399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20871400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20871401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20871402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20871403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20871404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20871405, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20872052, 'dashboard_result_id': 9123028, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872052_28-02-2025_05_47_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872064, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20872521, 'dashboard_result_id': 9123029, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872521_28-02-2025_05_48_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872581, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20872924, 'dashboard_result_id': 9123030, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872924_28-02-2025_05_48_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20872949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872960, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20873480, 'dashboard_result_id': 9123031, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20873480_28-02-2025_05_50_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20873521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20873522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20873523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20873524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20873525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20873526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20873527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20873528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20873529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20873530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20873531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20873532, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20874077, 'dashboard_result_id': 9123032, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874077_28-02-2025_05_50_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874113, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20874395, 'dashboard_result_id': 9123033, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874395_28-02-2025_05_51_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874407, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20875364, 'dashboard_result_id': 9123034, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20875364_28-02-2025_05_52_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20875389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20875390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20875391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20875392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20875393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20875394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20875395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20875396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20875397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20875398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20875399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20875400, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20876110, 'dashboard_result_id': 9123035, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876110_28-02-2025_05_52_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20876138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876147, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20876573, 'dashboard_result_id': 9123036, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876573_28-02-2025_05_53_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20876622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876633, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20877267, 'dashboard_result_id': 9123037, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877267_28-02-2025_05_54_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877327, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20877784, 'dashboard_result_id': 9123038, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877784_28-02-2025_05_55_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877842, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877845, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20878350, 'dashboard_result_id': 9123039, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20878350_28-02-2025_05_55_40.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20878424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20878425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20878426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20878427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20878428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20878429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20878430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20878431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20878432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20878433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20878434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20878435, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20882589, 'dashboard_result_id': 9123040, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882589_28-02-2025_05_56_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882615, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20882779, 'dashboard_result_id': 9123041, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882779_28-02-2025_05_56_45.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882818, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20883420, 'dashboard_result_id': 9123042, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20883420_28-02-2025_05_57_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20883423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20883424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20883425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20883426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20883427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20883428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20883429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20883430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20883431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20883432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20883433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20883434, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20884042, 'dashboard_result_id': 9123043, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884042_28-02-2025_05_58_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20884050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884057, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20884527, 'dashboard_result_id': 9123044, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884527_28-02-2025_05_58_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20884535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884546, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20885270, 'dashboard_result_id': 9123045, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20885270_28-02-2025_05_59_39.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20885277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20885278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20885279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20885280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20885281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20885282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20885283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20885284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20885285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20885286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20885287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20885288, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20887333, 'dashboard_result_id': 9123046, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20887333_28-02-2025_06_00_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20887341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20887342, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20887343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20887344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20887345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20887346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20887347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20887348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20887349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20887350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20887351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20887352, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20886751, 'dashboard_result_id': 9123047, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886751_28-02-2025_06_00_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886795, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20886797, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20886275, 'dashboard_result_id': 9123048, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886275_28-02-2025_06_01_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20886306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886316, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20886276, 'dashboard_result_id': 9123049, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886276_28-02-2025_06_02_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20886281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886292, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20888563, 'dashboard_result_id': 9123050, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888563_28-02-2025_06_04_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888576, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20888803, 'dashboard_result_id': 9123051, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888803_28-02-2025_06_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888816, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20889286, 'dashboard_result_id': 9123052, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20889286_28-02-2025_06_06_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20889290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20889291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20889292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20889293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20889294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20889295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20889296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20889297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20889298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20889299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20889300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20889301, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20890003, 'dashboard_result_id': 9123053, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890003_28-02-2025_06_06_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20890015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890018, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20890554, 'dashboard_result_id': 9123054, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890554_28-02-2025_06_07_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20890595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890618, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20891069, 'dashboard_result_id': 9123055, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891069_28-02-2025_06_08_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20891076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891087, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20891687, 'dashboard_result_id': 9123056, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891687_28-02-2025_06_08_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20891704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891708, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20892388, 'dashboard_result_id': 9123057, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20892388_28-02-2025_06_09_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20892411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20892412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20892413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20892414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20892415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20892416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20892417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20892418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20892419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20892420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20892421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20892422, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20893370, 'dashboard_result_id': 9123058, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893370_27-02-2025_21_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20893382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893385, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20893610, 'dashboard_result_id': 9123059, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893610_27-02-2025_21_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20893645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893656, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20894367, 'dashboard_result_id': 9123060, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20894367_27-02-2025_21_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20894372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20894373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20894374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20894375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20894376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20894377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20894378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20894379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20894380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20894381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20894382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20894383, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20895071, 'dashboard_result_id': 9123061, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895071_27-02-2025_22_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20895103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895109, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20895563, 'dashboard_result_id': 9123062, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895563_27-02-2025_22_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20895572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895583, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20896126, 'dashboard_result_id': 9123063, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896126_27-02-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20896140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896151, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20896823, 'dashboard_result_id': 9123064, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896823_27-02-2025_22_48_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20896843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896844, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20897801, 'dashboard_result_id': 9123065, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20897801_27-02-2025_23_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20897803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20897804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20897805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20897806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20897807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20897808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20897809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20897810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20897811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20897812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20897813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20897814, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20898262, 'dashboard_result_id': 9123066, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898262_27-02-2025_23_19_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898288, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20898773, 'dashboard_result_id': 9123067, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898773_27-02-2025_23_42_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898788, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637647, 'mtr_portfolio_id': 20899495, 'dashboard_result_id': 9123068, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20899495_28-02-2025_01_09_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20899501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20899502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20899503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20899504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20899505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20899506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20899507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20899508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20899509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20899510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20899511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20899512, '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 = 20860721 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622171, 'mtr_portfolio_id': 20860721, 'created_at': datetime.datetime(2025, 2, 28, 5, 34, 29), 'result': '0.1148015052686702', 'result_long': None, 'result_double': None}] Qualite : 0.1148015052686702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20860721 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860721_28-02-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20860721 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860721_28-02-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860757, 'pht': 3726}}" where mtr_portfolio_id = 20860721 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20860721 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123009, 0.1148015052686702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860721_28-02-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860757, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20861260 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622172, 'mtr_portfolio_id': 20861260, 'created_at': datetime.datetime(2025, 2, 28, 5, 35, 30), 'result': '0.11227464800831555', 'result_long': None, 'result_double': None}] Qualite : 0.11227464800831555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20861260 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861260_28-02-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20861260 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861260_28-02-2025_05_35_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20861269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861272, 'pht': 3726}}" where mtr_portfolio_id = 20861260 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20861260 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123010, 0.11227464800831555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861260_28-02-2025_05_35_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20861269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861272, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20861699 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622173, 'mtr_portfolio_id': 20861699, 'created_at': datetime.datetime(2025, 2, 28, 5, 36, 8), 'result': '0.10966776661868934', 'result_long': None, 'result_double': None}] Qualite : 0.10966776661868934 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20861699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861699_28-02-2025_05_36_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20861699 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861699_28-02-2025_05_36_11.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20861724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861735, 'pht': 3726}}" where mtr_portfolio_id = 20861699 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20861699 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123011, 0.10966776661868934, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861699_28-02-2025_05_36_11.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20861724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861735, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20862140 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622174, 'mtr_portfolio_id': 20862140, 'created_at': datetime.datetime(2025, 2, 28, 5, 36, 31), 'result': '0.1116270555139119', 'result_long': None, 'result_double': None}] Qualite : 0.1116270555139119 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20862140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20862140_28-02-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20862140 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20862140_28-02-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20862165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20862166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20862167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20862168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20862169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20862170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20862171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20862172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20862173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20862174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20862175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20862176, 'pht': 3726}}" where mtr_portfolio_id = 20862140 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20862140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123012, 0.1116270555139119, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20862140_28-02-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20862165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20862166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20862167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20862168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20862169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20862170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20862171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20862172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20862173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20862174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20862175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20862176, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20863329 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622175, 'mtr_portfolio_id': 20863329, 'created_at': datetime.datetime(2025, 2, 28, 5, 37, 29), 'result': '0.11119275956160327', 'result_long': None, 'result_double': None}] Qualite : 0.11119275956160327 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20863329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20863329_28-02-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20863329 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20863329_28-02-2025_05_37_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20863355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20863356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20863357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20863358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20863359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20863360, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20863361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20863362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20863363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20863364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20863365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20863366, 'pht': 3726}}" where mtr_portfolio_id = 20863329 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20863329 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123013, 0.11119275956160327, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20863329_28-02-2025_05_37_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20863355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20863356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20863357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20863358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20863359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20863360, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20863361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20863362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20863363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20863364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20863365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20863366, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20864042 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622176, 'mtr_portfolio_id': 20864042, 'created_at': datetime.datetime(2025, 2, 28, 5, 37, 58), 'result': '0.09495077133721073', 'result_long': None, 'result_double': None}] Qualite : 0.09495077133721073 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20864042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864042_28-02-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20864042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864042_28-02-2025_05_38_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864078, 'pht': 3726}}" where mtr_portfolio_id = 20864042 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20864042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123014, 0.09495077133721073, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864042_28-02-2025_05_38_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864078, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20864373 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622177, 'mtr_portfolio_id': 20864373, 'created_at': datetime.datetime(2025, 2, 28, 5, 38, 30), 'result': '0.11324684522716426', 'result_long': None, 'result_double': None}] Qualite : 0.11324684522716426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20864373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864373_28-02-2025_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20864373 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864373_28-02-2025_05_38_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864445, 'pht': 3726}}" where mtr_portfolio_id = 20864373 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20864373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123015, 0.11324684522716426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864373_28-02-2025_05_38_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864445, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20865062 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622178, 'mtr_portfolio_id': 20865062, 'created_at': datetime.datetime(2025, 2, 28, 5, 39, 29), 'result': '0.11126908859668462', 'result_long': None, 'result_double': None}] Qualite : 0.11126908859668462 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20865062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865062_28-02-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20865062 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865062_28-02-2025_05_39_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20865114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865122, 'pht': 3726}}" where mtr_portfolio_id = 20865062 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20865062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123016, 0.11126908859668462, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865062_28-02-2025_05_39_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20865114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865122, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20865620 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622179, 'mtr_portfolio_id': 20865620, 'created_at': datetime.datetime(2025, 2, 28, 5, 40), 'result': '0.10811464707363155', 'result_long': None, 'result_double': None}] Qualite : 0.10811464707363155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20865620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865620_28-02-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20865620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865620_28-02-2025_05_40_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20865621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865632, 'pht': 3726}}" where mtr_portfolio_id = 20865620 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20865620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123017, 0.10811464707363155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865620_28-02-2025_05_40_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20865621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865632, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20866040 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622180, 'mtr_portfolio_id': 20866040, 'created_at': datetime.datetime(2025, 2, 28, 5, 40, 31), 'result': '0.10100114423755262', 'result_long': None, 'result_double': None}] Qualite : 0.10100114423755262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20866040 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866040_28-02-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20866040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866040_28-02-2025_05_40_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20866053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20866055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866076, 'pht': 3726}}" where mtr_portfolio_id = 20866040 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20866040 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123018, 0.10100114423755262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866040_28-02-2025_05_40_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20866053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20866055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866076, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20866770 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622181, 'mtr_portfolio_id': 20866770, 'created_at': datetime.datetime(2025, 2, 28, 5, 41, 31), 'result': '0.10821642656535752', 'result_long': None, 'result_double': None}] Qualite : 0.10821642656535752 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20866770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866770_28-02-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20866770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866770_28-02-2025_05_41_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20866771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20866775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866782, 'pht': 3726}}" where mtr_portfolio_id = 20866770 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20866770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123019, 0.10821642656535752, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866770_28-02-2025_05_41_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20866771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20866775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866782, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20866940 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622182, 'mtr_portfolio_id': 20866940, 'created_at': datetime.datetime(2025, 2, 28, 5, 42), 'result': '0.10912257775281566', 'result_long': None, 'result_double': None}] Qualite : 0.10912257775281566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20866940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866940_28-02-2025_05_42_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20866940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866940_28-02-2025_05_42_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20867028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867036, 'pht': 3726}}" where mtr_portfolio_id = 20866940 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20866940 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123020, 0.10912257775281566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866940_28-02-2025_05_42_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20867028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867036, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20867850 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622183, 'mtr_portfolio_id': 20867850, 'created_at': datetime.datetime(2025, 2, 28, 5, 42, 29), 'result': '0.11078678133398824', 'result_long': None, 'result_double': None}] Qualite : 0.11078678133398824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20867850 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20867850_28-02-2025_05_42_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20867850 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20867850_28-02-2025_05_42_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20867851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867862, 'pht': 3726}}" where mtr_portfolio_id = 20867850 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20867850 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123021, 0.11078678133398824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20867850_28-02-2025_05_42_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20867851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867862, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20868442 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622184, 'mtr_portfolio_id': 20868442, 'created_at': datetime.datetime(2025, 2, 28, 5, 43, 30), 'result': '0.09448348115784294', 'result_long': None, 'result_double': None}] Qualite : 0.09448348115784294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20868442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868442_28-02-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20868442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868442_28-02-2025_05_43_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20868470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868478, 'pht': 3726}}" where mtr_portfolio_id = 20868442 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20868442 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123022, 0.09448348115784294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868442_28-02-2025_05_43_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20868470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868478, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20868803 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622185, 'mtr_portfolio_id': 20868803, 'created_at': datetime.datetime(2025, 2, 28, 5, 43, 58), 'result': '0.0994311152597264', 'result_long': None, 'result_double': None}] Qualite : 0.0994311152597264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20868803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868803_28-02-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20868803 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868803_28-02-2025_05_44_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20868852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868863, 'pht': 3726}}" where mtr_portfolio_id = 20868803 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20868803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123023, 0.0994311152597264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868803_28-02-2025_05_44_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20868852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868863, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20870132 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622186, 'mtr_portfolio_id': 20870132, 'created_at': datetime.datetime(2025, 2, 28, 5, 44, 30), 'result': '0.11124522759688892', 'result_long': None, 'result_double': None}] Qualite : 0.11124522759688892 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20870132 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870132_28-02-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20870132 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870132_28-02-2025_05_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870168, 'pht': 3726}}" where mtr_portfolio_id = 20870132 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20870132 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123024, 0.11124522759688892, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870132_28-02-2025_05_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870168, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20870333 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622187, 'mtr_portfolio_id': 20870333, 'created_at': datetime.datetime(2025, 2, 28, 5, 45, 35), 'result': '0.10491467600560277', 'result_long': None, 'result_double': None}] Qualite : 0.10491467600560277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20870333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870333_28-02-2025_05_45_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20870333 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870333_28-02-2025_05_45_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870361, 'pht': 3726}}" where mtr_portfolio_id = 20870333 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20870333 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123025, 0.10491467600560277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870333_28-02-2025_05_45_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870361, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20870893 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622188, 'mtr_portfolio_id': 20870893, 'created_at': datetime.datetime(2025, 2, 28, 5, 46, 2), 'result': '0.12154139828742941', 'result_long': None, 'result_double': None}] Qualite : 0.12154139828742941 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20870893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870893_28-02-2025_05_46_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20870893 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870893_28-02-2025_05_46_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870953, 'pht': 3726}}" where mtr_portfolio_id = 20870893 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20870893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123026, 0.12154139828742941, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870893_28-02-2025_05_46_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870953, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20871369 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622189, 'mtr_portfolio_id': 20871369, 'created_at': datetime.datetime(2025, 2, 28, 5, 46, 38), 'result': '0.10680387423124439', 'result_long': None, 'result_double': None}] Qualite : 0.10680387423124439 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20871369 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20871369_28-02-2025_05_46_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20871369 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20871369_28-02-2025_05_46_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20871394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20871395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20871396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20871397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20871398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20871399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20871400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20871401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20871402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20871403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20871404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20871405, 'pht': 3726}}" where mtr_portfolio_id = 20871369 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20871369 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123027, 0.10680387423124439, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20871369_28-02-2025_05_46_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20871394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20871395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20871396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20871397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20871398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20871399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20871400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20871401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20871402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20871403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20871404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20871405, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20872052 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622190, 'mtr_portfolio_id': 20872052, 'created_at': datetime.datetime(2025, 2, 28, 5, 47, 29), 'result': '0.09739760503130986', 'result_long': None, 'result_double': None}] Qualite : 0.09739760503130986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20872052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872052_28-02-2025_05_47_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20872052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872052_28-02-2025_05_47_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872064, 'pht': 3726}}" where mtr_portfolio_id = 20872052 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20872052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123028, 0.09739760503130986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872052_28-02-2025_05_47_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872064, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20872521 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622191, 'mtr_portfolio_id': 20872521, 'created_at': datetime.datetime(2025, 2, 28, 5, 47, 57), 'result': '0.10136110137332877', 'result_long': None, 'result_double': None}] Qualite : 0.10136110137332877 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20872521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872521_28-02-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20872521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872521_28-02-2025_05_48_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872581, 'pht': 3726}}" where mtr_portfolio_id = 20872521 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20872521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123029, 0.10136110137332877, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872521_28-02-2025_05_48_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872581, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20872924 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622192, 'mtr_portfolio_id': 20872924, 'created_at': datetime.datetime(2025, 2, 28, 5, 48, 30), 'result': '0.09916933639671617', 'result_long': None, 'result_double': None}] Qualite : 0.09916933639671617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20872924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872924_28-02-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20872924 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872924_28-02-2025_05_48_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20872949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872960, 'pht': 3726}}" where mtr_portfolio_id = 20872924 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20872924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123030, 0.09916933639671617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872924_28-02-2025_05_48_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20872949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872960, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20873480 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622193, 'mtr_portfolio_id': 20873480, 'created_at': datetime.datetime(2025, 2, 28, 5, 49, 58), 'result': '0.10222224567762186', 'result_long': None, 'result_double': None}] Qualite : 0.10222224567762186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20873480 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20873480_28-02-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20873480 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20873480_28-02-2025_05_50_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20873521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20873522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20873523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20873524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20873525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20873526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20873527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20873528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20873529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20873530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20873531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20873532, 'pht': 3726}}" where mtr_portfolio_id = 20873480 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20873480 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123031, 0.10222224567762186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20873480_28-02-2025_05_50_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20873521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20873522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20873523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20873524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20873525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20873526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20873527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20873528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20873529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20873530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20873531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20873532, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20874077 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622194, 'mtr_portfolio_id': 20874077, 'created_at': datetime.datetime(2025, 2, 28, 5, 50, 29), 'result': '0.10144400569538324', 'result_long': None, 'result_double': None}] Qualite : 0.10144400569538324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20874077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874077_28-02-2025_05_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20874077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874077_28-02-2025_05_50_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874113, 'pht': 3726}}" where mtr_portfolio_id = 20874077 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20874077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123032, 0.10144400569538324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874077_28-02-2025_05_50_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874113, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20874395 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622195, 'mtr_portfolio_id': 20874395, 'created_at': datetime.datetime(2025, 2, 28, 5, 51, 30), 'result': '0.11479185960348116', 'result_long': None, 'result_double': None}] Qualite : 0.11479185960348116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20874395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874395_28-02-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20874395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874395_28-02-2025_05_51_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874407, 'pht': 3726}}" where mtr_portfolio_id = 20874395 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20874395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123033, 0.11479185960348116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874395_28-02-2025_05_51_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874407, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20875364 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622196, 'mtr_portfolio_id': 20875364, 'created_at': datetime.datetime(2025, 2, 28, 5, 52), 'result': '0.10101073472614348', 'result_long': None, 'result_double': None}] Qualite : 0.10101073472614348 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20875364 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20875364_28-02-2025_05_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20875364 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20875364_28-02-2025_05_52_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20875389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20875390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20875391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20875392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20875393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20875394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20875395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20875396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20875397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20875398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20875399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20875400, 'pht': 3726}}" where mtr_portfolio_id = 20875364 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20875364 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123034, 0.10101073472614348, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20875364_28-02-2025_05_52_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20875389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20875390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20875391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20875392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20875393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20875394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20875395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20875396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20875397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20875398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20875399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20875400, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20876110 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622197, 'mtr_portfolio_id': 20876110, 'created_at': datetime.datetime(2025, 2, 28, 5, 52, 29), 'result': '0.10710805760542175', 'result_long': None, 'result_double': None}] Qualite : 0.10710805760542175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20876110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876110_28-02-2025_05_52_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20876110 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876110_28-02-2025_05_52_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20876138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876147, 'pht': 3726}}" where mtr_portfolio_id = 20876110 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20876110 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123035, 0.10710805760542175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876110_28-02-2025_05_52_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20876138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876147, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20876573 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622198, 'mtr_portfolio_id': 20876573, 'created_at': datetime.datetime(2025, 2, 28, 5, 53, 38), 'result': '0.10858510099800064', 'result_long': None, 'result_double': None}] Qualite : 0.10858510099800064 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20876573 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876573_28-02-2025_05_53_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20876573 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876573_28-02-2025_05_53_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20876622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876633, 'pht': 3726}}" where mtr_portfolio_id = 20876573 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20876573 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123036, 0.10858510099800064, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876573_28-02-2025_05_53_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20876622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876633, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20877267 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622199, 'mtr_portfolio_id': 20877267, 'created_at': datetime.datetime(2025, 2, 28, 5, 54, 8), 'result': '0.10588188547212021', 'result_long': None, 'result_double': None}] Qualite : 0.10588188547212021 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20877267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877267_28-02-2025_05_54_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20877267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877267_28-02-2025_05_54_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877327, 'pht': 3726}}" where mtr_portfolio_id = 20877267 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20877267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123037, 0.10588188547212021, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877267_28-02-2025_05_54_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877327, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20877784 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622200, 'mtr_portfolio_id': 20877784, 'created_at': datetime.datetime(2025, 2, 28, 5, 55, 4), 'result': '0.10945913522955791', 'result_long': None, 'result_double': None}] Qualite : 0.10945913522955791 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20877784 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877784_28-02-2025_05_55_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20877784 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877784_28-02-2025_05_55_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877842, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877845, 'pht': 3726}}" where mtr_portfolio_id = 20877784 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20877784 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123038, 0.10945913522955791, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877784_28-02-2025_05_55_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877842, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877845, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20878350 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622201, 'mtr_portfolio_id': 20878350, 'created_at': datetime.datetime(2025, 2, 28, 5, 55, 35), 'result': '0.10680280197130092', 'result_long': None, 'result_double': None}] Qualite : 0.10680280197130092 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20878350 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20878350_28-02-2025_05_55_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20878350 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20878350_28-02-2025_05_55_40.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20878424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20878425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20878426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20878427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20878428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20878429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20878430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20878431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20878432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20878433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20878434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20878435, 'pht': 3726}}" where mtr_portfolio_id = 20878350 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20878350 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123039, 0.10680280197130092, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20878350_28-02-2025_05_55_40.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20878424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20878425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20878426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20878427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20878428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20878429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20878430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20878431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20878432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20878433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20878434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20878435, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20882589 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622202, 'mtr_portfolio_id': 20882589, 'created_at': datetime.datetime(2025, 2, 28, 5, 56, 1), 'result': '0.10634614147708853', 'result_long': None, 'result_double': None}] Qualite : 0.10634614147708853 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20882589 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882589_28-02-2025_05_56_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20882589 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882589_28-02-2025_05_56_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882615, 'pht': 3726}}" where mtr_portfolio_id = 20882589 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20882589 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123040, 0.10634614147708853, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882589_28-02-2025_05_56_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882615, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20882779 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622203, 'mtr_portfolio_id': 20882779, 'created_at': datetime.datetime(2025, 2, 28, 5, 56, 40), 'result': '0.10597959731357853', 'result_long': None, 'result_double': None}] Qualite : 0.10597959731357853 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20882779 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882779_28-02-2025_05_56_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20882779 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882779_28-02-2025_05_56_45.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882818, 'pht': 3726}}" where mtr_portfolio_id = 20882779 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20882779 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123041, 0.10597959731357853, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882779_28-02-2025_05_56_45.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882818, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20883420 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622204, 'mtr_portfolio_id': 20883420, 'created_at': datetime.datetime(2025, 2, 28, 5, 57, 34), 'result': '0.09844750162586231', 'result_long': None, 'result_double': None}] Qualite : 0.09844750162586231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20883420 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20883420_28-02-2025_05_57_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20883420 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20883420_28-02-2025_05_57_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20883423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20883424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20883425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20883426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20883427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20883428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20883429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20883430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20883431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20883432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20883433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20883434, 'pht': 3726}}" where mtr_portfolio_id = 20883420 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20883420 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123042, 0.09844750162586231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20883420_28-02-2025_05_57_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20883423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20883424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20883425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20883426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20883427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20883428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20883429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20883430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20883431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20883432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20883433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20883434, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20884042 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622205, 'mtr_portfolio_id': 20884042, 'created_at': datetime.datetime(2025, 2, 28, 5, 58, 3), 'result': '0.11333042294088351', 'result_long': None, 'result_double': None}] Qualite : 0.11333042294088351 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20884042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884042_28-02-2025_05_58_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20884042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884042_28-02-2025_05_58_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20884050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884057, 'pht': 3726}}" where mtr_portfolio_id = 20884042 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20884042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123043, 0.11333042294088351, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884042_28-02-2025_05_58_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20884050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20884527 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622206, 'mtr_portfolio_id': 20884527, 'created_at': datetime.datetime(2025, 2, 28, 5, 58, 36), 'result': '0.09331669648252905', 'result_long': None, 'result_double': None}] Qualite : 0.09331669648252905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20884527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884527_28-02-2025_05_58_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20884527 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884527_28-02-2025_05_58_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20884535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884546, 'pht': 3726}}" where mtr_portfolio_id = 20884527 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20884527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123044, 0.09331669648252905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884527_28-02-2025_05_58_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20884535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884546, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20885270 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622207, 'mtr_portfolio_id': 20885270, 'created_at': datetime.datetime(2025, 2, 28, 5, 59, 36), 'result': '0.10795659265186175', 'result_long': None, 'result_double': None}] Qualite : 0.10795659265186175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20885270 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20885270_28-02-2025_05_59_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20885270 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20885270_28-02-2025_05_59_39.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20885277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20885278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20885279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20885280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20885281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20885282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20885283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20885284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20885285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20885286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20885287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20885288, 'pht': 3726}}" where mtr_portfolio_id = 20885270 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20885270 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123045, 0.10795659265186175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20885270_28-02-2025_05_59_39.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20885277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20885278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20885279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20885280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20885281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20885282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20885283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20885284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20885285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20885286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20885287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20885288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20887333 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20887333 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20887333 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20887333 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20887333 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20887333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20887333_28-02-2025_06_00_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20887333 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20887333_28-02-2025_06_00_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20887341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20887342, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20887343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20887344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20887345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20887346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20887347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20887348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20887349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20887350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20887351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20887352, 'pht': 3726}}" where mtr_portfolio_id = 20887333 and dashboard_run_id = 1637647 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20886751 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622209, 'mtr_portfolio_id': 20886751, 'created_at': datetime.datetime(2025, 2, 28, 6, 0, 33), 'result': '0.11297854387714562', 'result_long': None, 'result_double': None}] Qualite : 0.11297854387714562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20886751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886751_28-02-2025_06_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20886751 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886751_28-02-2025_06_00_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886795, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20886797, 'pht': 3726}}" where mtr_portfolio_id = 20886751 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20886751 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123047, 0.11297854387714562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886751_28-02-2025_06_00_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886795, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20886797, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20886275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622210, 'mtr_portfolio_id': 20886275, 'created_at': datetime.datetime(2025, 2, 28, 6, 1, 30), 'result': '0.11785041173817454', 'result_long': None, 'result_double': None}] Qualite : 0.11785041173817454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20886275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886275_28-02-2025_06_01_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20886275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886275_28-02-2025_06_01_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20886306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886316, 'pht': 3726}}" where mtr_portfolio_id = 20886275 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20886275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123048, 0.11785041173817454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886275_28-02-2025_06_01_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20886306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886316, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20886276 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622211, 'mtr_portfolio_id': 20886276, 'created_at': datetime.datetime(2025, 2, 28, 6, 2), 'result': '0.13040081746497625', 'result_long': None, 'result_double': None}] Qualite : 0.13040081746497625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20886276 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886276_28-02-2025_06_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20886276 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886276_28-02-2025_06_02_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20886281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886292, 'pht': 3726}}" where mtr_portfolio_id = 20886276 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20886276 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123049, 0.13040081746497625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886276_28-02-2025_06_02_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20886281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886292, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20888563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622212, 'mtr_portfolio_id': 20888563, 'created_at': datetime.datetime(2025, 2, 28, 6, 4, 3), 'result': '0.11142140142761504', 'result_long': None, 'result_double': None}] Qualite : 0.11142140142761504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20888563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888563_28-02-2025_06_04_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20888563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888563_28-02-2025_06_04_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888576, 'pht': 3726}}" where mtr_portfolio_id = 20888563 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20888563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123050, 0.11142140142761504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888563_28-02-2025_06_04_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888576, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20888803 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622213, 'mtr_portfolio_id': 20888803, 'created_at': datetime.datetime(2025, 2, 28, 6, 4, 28), 'result': '0.10946730369056876', 'result_long': None, 'result_double': None}] Qualite : 0.10946730369056876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20888803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888803_28-02-2025_06_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20888803 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888803_28-02-2025_06_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888816, 'pht': 3726}}" where mtr_portfolio_id = 20888803 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20888803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123051, 0.10946730369056876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888803_28-02-2025_06_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888816, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20889286 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622214, 'mtr_portfolio_id': 20889286, 'created_at': datetime.datetime(2025, 2, 28, 6, 6, 1), 'result': '0.11209368275910714', 'result_long': None, 'result_double': None}] Qualite : 0.11209368275910714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20889286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20889286_28-02-2025_06_06_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20889286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20889286_28-02-2025_06_06_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20889290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20889291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20889292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20889293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20889294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20889295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20889296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20889297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20889298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20889299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20889300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20889301, 'pht': 3726}}" where mtr_portfolio_id = 20889286 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20889286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123052, 0.11209368275910714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20889286_28-02-2025_06_06_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20889290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20889291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20889292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20889293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20889294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20889295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20889296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20889297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20889298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20889299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20889300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20889301, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20890003 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622215, 'mtr_portfolio_id': 20890003, 'created_at': datetime.datetime(2025, 2, 28, 6, 6, 31), 'result': '0.10016014316470641', 'result_long': None, 'result_double': None}] Qualite : 0.10016014316470641 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20890003 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890003_28-02-2025_06_06_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20890003 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890003_28-02-2025_06_06_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20890015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890018, 'pht': 3726}}" where mtr_portfolio_id = 20890003 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20890003 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123053, 0.10016014316470641, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890003_28-02-2025_06_06_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20890015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890018, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20890554 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622216, 'mtr_portfolio_id': 20890554, 'created_at': datetime.datetime(2025, 2, 28, 6, 7, 29), 'result': '0.1075400762064167', 'result_long': None, 'result_double': None}] Qualite : 0.1075400762064167 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20890554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890554_28-02-2025_06_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20890554 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890554_28-02-2025_06_07_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20890595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890618, 'pht': 3726}}" where mtr_portfolio_id = 20890554 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20890554 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123054, 0.1075400762064167, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890554_28-02-2025_06_07_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20890595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890618, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20891069 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622217, 'mtr_portfolio_id': 20891069, 'created_at': datetime.datetime(2025, 2, 28, 6, 7, 59), 'result': '0.10048740776755033', 'result_long': None, 'result_double': None}] Qualite : 0.10048740776755033 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20891069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891069_28-02-2025_06_08_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20891069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891069_28-02-2025_06_08_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20891076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891087, 'pht': 3726}}" where mtr_portfolio_id = 20891069 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20891069 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123055, 0.10048740776755033, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891069_28-02-2025_06_08_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20891076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891087, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20891687 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622218, 'mtr_portfolio_id': 20891687, 'created_at': datetime.datetime(2025, 2, 28, 6, 8, 33), 'result': '0.10250051504488894', 'result_long': None, 'result_double': None}] Qualite : 0.10250051504488894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20891687 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891687_28-02-2025_06_08_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20891687 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891687_28-02-2025_06_08_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20891704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891708, 'pht': 3726}}" where mtr_portfolio_id = 20891687 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20891687 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123056, 0.10250051504488894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891687_28-02-2025_06_08_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20891704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891708, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20892388 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622219, 'mtr_portfolio_id': 20892388, 'created_at': datetime.datetime(2025, 2, 28, 6, 9, 32), 'result': '0.10423193930715383', 'result_long': None, 'result_double': None}] Qualite : 0.10423193930715383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20892388 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20892388_28-02-2025_06_09_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20892388 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20892388_28-02-2025_06_09_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20892411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20892412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20892413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20892414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20892415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20892416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20892417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20892418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20892419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20892420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20892421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20892422, 'pht': 3726}}" where mtr_portfolio_id = 20892388 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20892388 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123057, 0.10423193930715383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20892388_28-02-2025_06_09_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20892411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20892412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20892413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20892414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20892415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20892416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20892417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20892418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20892419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20892420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20892421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20892422, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20893370 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622220, 'mtr_portfolio_id': 20893370, 'created_at': datetime.datetime(2025, 2, 28, 6, 10), 'result': '0.10209053358389608', 'result_long': None, 'result_double': None}] Qualite : 0.10209053358389608 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20893370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893370_28-02-2025_06_10_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20893370 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893370_28-02-2025_06_10_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20893382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893385, 'pht': 3726}}" where mtr_portfolio_id = 20893370 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20893370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123058, 0.10209053358389608, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893370_28-02-2025_06_10_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20893382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893385, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20893610 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620894, 'mtr_portfolio_id': 20893610, 'created_at': datetime.datetime(2025, 2, 27, 21, 32, 59), 'result': '0.11500339892016034', 'result_long': None, 'result_double': None}] Qualite : 0.11500339892016034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20893610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893610_27-02-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20893610 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893610_27-02-2025_21_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20893645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893656, 'pht': 3726}}" where mtr_portfolio_id = 20893610 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20893610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123059, 0.11500339892016034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893610_27-02-2025_21_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20893645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20894367 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620953, 'mtr_portfolio_id': 20894367, 'created_at': datetime.datetime(2025, 2, 27, 21, 48, 59), 'result': '0.10396153870773006', 'result_long': None, 'result_double': None}] Qualite : 0.10396153870773006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20894367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20894367_27-02-2025_21_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20894367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20894367_27-02-2025_21_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20894372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20894373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20894374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20894375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20894376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20894377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20894378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20894379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20894380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20894381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20894382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20894383, 'pht': 3726}}" where mtr_portfolio_id = 20894367 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20894367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123060, 0.10396153870773006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20894367_27-02-2025_21_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20894372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20894373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20894374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20894375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20894376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20894377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20894378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20894379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20894380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20894381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20894382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20894383, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20895071 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620992, 'mtr_portfolio_id': 20895071, 'created_at': datetime.datetime(2025, 2, 27, 22, 2, 57), 'result': '0.11150699668191301', 'result_long': None, 'result_double': None}] Qualite : 0.11150699668191301 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20895071 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895071_27-02-2025_22_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20895071 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895071_27-02-2025_22_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20895103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895109, 'pht': 3726}}" where mtr_portfolio_id = 20895071 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20895071 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123061, 0.11150699668191301, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895071_27-02-2025_22_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20895103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895109, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20895563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621046, 'mtr_portfolio_id': 20895563, 'created_at': datetime.datetime(2025, 2, 27, 22, 18, 58), 'result': '0.12467542377611475', 'result_long': None, 'result_double': None}] Qualite : 0.12467542377611475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20895563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895563_27-02-2025_22_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20895563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895563_27-02-2025_22_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20895572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895583, 'pht': 3726}}" where mtr_portfolio_id = 20895563 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20895563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123062, 0.12467542377611475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895563_27-02-2025_22_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20895572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895583, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20896126 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621117, 'mtr_portfolio_id': 20896126, 'created_at': datetime.datetime(2025, 2, 27, 22, 32, 58), 'result': '0.09865698136596955', 'result_long': None, 'result_double': None}] Qualite : 0.09865698136596955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20896126 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896126_27-02-2025_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20896126 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896126_27-02-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20896140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896151, 'pht': 3726}}" where mtr_portfolio_id = 20896126 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20896126 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123063, 0.09865698136596955, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896126_27-02-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20896140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896151, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20896823 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621183, 'mtr_portfolio_id': 20896823, 'created_at': datetime.datetime(2025, 2, 27, 22, 48, 30), 'result': '0.09730255508821797', 'result_long': None, 'result_double': None}] Qualite : 0.09730255508821797 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20896823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896823_27-02-2025_22_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20896823 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896823_27-02-2025_22_48_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20896843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896844, 'pht': 3726}}" where mtr_portfolio_id = 20896823 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20896823 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123064, 0.09730255508821797, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896823_27-02-2025_22_48_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20896843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896844, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20897801 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621246, 'mtr_portfolio_id': 20897801, 'created_at': datetime.datetime(2025, 2, 27, 23, 2, 57), 'result': '0.11008026018811713', 'result_long': None, 'result_double': None}] Qualite : 0.11008026018811713 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20897801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20897801_27-02-2025_23_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20897801 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20897801_27-02-2025_23_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20897803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20897804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20897805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20897806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20897807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20897808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20897809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20897810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20897811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20897812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20897813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20897814, 'pht': 3726}}" where mtr_portfolio_id = 20897801 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20897801 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123065, 0.11008026018811713, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20897801_27-02-2025_23_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20897803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20897804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20897805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20897806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20897807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20897808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20897809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20897810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20897811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20897812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20897813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20897814, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20898262 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621276, 'mtr_portfolio_id': 20898262, 'created_at': datetime.datetime(2025, 2, 27, 23, 19, 58), 'result': '0.0993277605447961', 'result_long': None, 'result_double': None}] Qualite : 0.0993277605447961 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20898262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898262_27-02-2025_23_19_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20898262 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898262_27-02-2025_23_19_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898288, 'pht': 3726}}" where mtr_portfolio_id = 20898262 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20898262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123066, 0.0993277605447961, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898262_27-02-2025_23_19_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20898773 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621310, 'mtr_portfolio_id': 20898773, 'created_at': datetime.datetime(2025, 2, 27, 23, 42, 58), 'result': '0.09664323577625215', 'result_long': None, 'result_double': None}] Qualite : 0.09664323577625215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20898773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898773_27-02-2025_23_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20898773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898773_27-02-2025_23_42_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898788, 'pht': 3726}}" where mtr_portfolio_id = 20898773 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20898773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123067, 0.09664323577625215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898773_27-02-2025_23_42_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898788, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20899495 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621361, 'mtr_portfolio_id': 20899495, 'created_at': datetime.datetime(2025, 2, 28, 1, 9, 29), 'result': '0.12284329404489149', 'result_long': None, 'result_double': None}] Qualite : 0.12284329404489149 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20899495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20899495_28-02-2025_01_09_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20899495 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20899495_28-02-2025_01_09_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20899501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20899502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20899503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20899504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20899505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20899506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20899507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20899508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20899509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20899510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20899511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20899512, 'pht': 3726}}" where mtr_portfolio_id = 20899495 and dashboard_run_id = 1637647 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20899495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9123068, 0.12284329404489149, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20899495_28-02-2025_01_09_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20899501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20899502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20899503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20899504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20899505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20899506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20899507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20899508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20899509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20899510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20899511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20899512, '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 (20860721,20861260,20861699,20862140,20863329,20864042,20864373,20865062,20865620,20866040,20866770,20866940,20867850,20868442,20868803,20870132,20870333,20870893,20871369,20872052,20872521,20872924,20873480,20874077,20874395,20875364,20876110,20876573,20877267,20877784,20878350,20882589,20882779,20883420,20884042,20884527,20885270,20887333,20886751,20886275,20886276,20888563,20888803,20889286,20890003,20890554,20891069,20891687,20892388,20893370,20893610,20894367,20895071,20895563,20896126,20896823,20897801,20898262,20898773,20899495) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,), (1339819112,), (1339819115,), (1339819119,), (1339819157,), (1339819161,), (1339819165,), (1339819168,), (1339819170,), (1339819171,), (1339819190,), (1339819193,), (1339819195,), (1339819197,), (1339819199,), (1339819228,), (1339819231,), (1339819234,), (1339819256,), (1339819258,), (1339819261,), (1339819270,), (1339819275,), (1339819276,), (1339819563,), (1339819574,), (1339819578,), (1339819808,), (1339819812,), (1339819826,), (1339819898,), (1339819903,), (1339819904,), (1339819936,), (1339819940,), (1339819942,), (1339819944,), (1339819945,), (1339820081,), (1339819975,), (1339820044,), (1339820076,), (1339820079,), (1339820207,), (1339820208,), (1339820209,), (1339820210,), (1339820212,), (1339820228,), (1339820231,), (1339821223,), (1339821583,), (1339821650,), (1339821653,), (1339821656,), (1339821658,), (1339821779,), (1339821782,), (1339821785,), (1339821787,), (1339821788,), (1339821803,), (1339821807,), (1339821811,), (1339821818,), (1339821830,), (1339821833,), (1339821836,), (1339821838,), (1339821840,), (1339821859,), (1339821862,), (1339821865,), (1339821872,), (1339821902,), (1339821904,), (1339821907,), (1339821910,), (1339821912,), (1339821913,), (1339821931,), (1339821934,), (1339821939,), (1339821943,), (1339821946,), (1339821985,), (1339821995,), (1339821999,), (1339822019,), (1339822021,), (1339822022,), (1339822041,), (1339822047,), (1339822052,), (1339822056,), (1339822122,), (1339822084,), (1339822090,), (1339822105,), (1339822116,), (1339822156,), (1339822159,), (1339822164,), (1339822166,), (1339822182,), (1339822192,), (1339822201,), (1339822205,), (1339822214,), (1339822219,), (1339822235,), (1339822238,), (1339822245,), (1339822248,), (1339822250,), (1339822277,), (1339822280,), (1339822283,), (1339822286,), (1339822288,), (1339822316,), (1339822318,), (1339822320,), (1339822322,), (1339822323,), (1339822623,), (1339822811,), (1339822943,), (1339823134,), (1339823186,), (1339823191,), (1339823193,), (1339823194,), (1339823197,), (1339823206,), (1339823610,), (1339823613,), (1339823616,), (1339823619,), (1339823621,), (1339823642,), (1339823649,), (1339823658,), (1339823851,), (1339823957,), (1339823971,), (1339823992,), (1339823995,), (1339823997,), (1339823999,), (1339824021,), (1339824024,), (1339824027,), (1339824029,), (1339824030,), (1339824033,), (1339824069,), (1339824072,), (1339824083,), (1339824087,), (1339824090,), (1339824134,), (1339824138,), (1339824142,), (1339824146,), (1339824149,), (1339824150,), (1339824179,), (1339824183,), (1339824187,), (1339824189,), (1339824191,), (1339824513,), (1339824395,), (1339824434,), (1339824482,), (1339824498,), (1339824508,), (1339824594,), (1339824596,), (1339824602,), (1339824605,), (1339824657,), (1339824659,), (1339824663,), (1339824666,), (1339824667,), (1339824669,), (1339824693,), (1339824701,), (1339824709,), (1339824713,), (1339824741,), (1339824744,), (1339824747,), (1339824750,), (1339824751,), (1339824752,), (1339824790,), (1339824793,), (1339824847,), (1339824863,), (1339824945,), (1339824948,), (1339824951,), (1339824954,), (1339824956,), (1339824961,), (1339824979,), (1339824983,), (1339824986,), (1339824988,), (1339824990,), (1339825007,), (1339825010,), (1339825013,), (1339825015,), (1339825016,), (1339825017,), (1339825078,), (1339825081,), (1339825084,), (1339825087,), (1339825089,), (1339825091,), (1339825112,), (1339825114,), (1339825117,), (1339825119,), (1339825384,), (1339825406,), (1339825411,), (1339825413,), (1339825414,), (1339825513,), (1339825518,), (1339825519,), (1339825520,), (1339825521,), (1339825523,), (1339825549,), (1339825552,), (1339825554,), (1339825557,), (1339825560,), (1339825565,), (1339825567,), (1339825569,), (1339825576,), (1339825669,), (1339828531,), (1339828535,), (1339828563,), (1339828586,), (1339828921,), (1339828935,), (1339828944,), (1339828948,), (1339829075,), (1339829078,), (1339829128,), (1339829131,), (1339829140,), (1339829150,), (1339829198,), (1339829205,), (1339829214,), (1339829218,), (1339829220,), (1339829221,), (1339829337,), (1339829345,), (1339829348,), (1339829385,), (1339829389,), (1339829399,), (1339829403,), (1339829407,), (1339829412,), (1339829415,), (1339829417,), (1339829427,), (1339829430,), (1339829432,), (1339829435,), (1339829443,), (1339829461,), (1339829464,), (1339829468,), (1339829472,), (1339829476,), (1339829490,), (1339829493,), (1339829495,), (1339829498,), (1339829509,), (1339829510,), (1339829533,), (1339829536,), (1339829539,), (1339829541,), (1339829554,), (1339829558,), (1339829568,), (1339829571,), (1339829573,), (1339829592,), (1339829595,), (1339829599,), (1339829602,), (1339829604,), (1339829606,), (1339829736,), (1339829830,), (1339829914,), (1339830225,), (1339830230,), (1339830233,), (1339830273,), (1339830341,), (1339830424,), (1339830543,), (1339830520,), (1339830523,), (1339830537,), (1339830588,), (1339831018,), (1339831022,), (1339831194,), (1339831196,), (1339831272,), (1339831275,), (1339831277,), (1339831292,), (1339831295,), (1339831298,), (1339831301,), (1339831894,), (1339831972,), (1339832051,), (1339832130,), (1339832205,), (1339832247,), (1339832264,), (1339832266,), (1339832267,), (1339832269,), (1339832270,), (1339832872,), (1339832887,), (1339832957,), (1339833305,), (1339833309,), (1339833313,), (1339833318,), (1339833325,), (1339833330,), (1339833489,), (1339833415,), (1339833435,), (1339833453,), (1339833457,), (1339833504,), (1339833512,), (1339833515,), (1339833518,), (1339833533,), (1339833537,), (1339833540,), (1339833542,), (1339833545,), (1339833548,), (1339834198,), (1339834212,), (1339834217,), (1339834264,), (1339834335,), (1339834393,), (1339834395,), (1339834397,), (1339834399,), (1339834401,), (1339834403,), (1339834418,), (1339834420,), (1339834478,), (1339834529,), (1339834651,), (1339834654,), (1339834658,), (1339834660,), (1339834662,), (1339834665,), (1339834677,), (1339834680,), (1339834683,), (1339834686,), (1339834689,), (1339834716,), (1339834720,), (1339834723,), (1339834726,), (1339834730,), (1339834731,), (1339834764,), (1339834771,), (1339834774,), (1339834776,), (1339834778,), (1339834779,), (1339834881,), (1339834897,), (1339834906,), (1339834928,), (1339834964,), (1339834968,), (1339834971,), (1339834973,), (1339834974,), (1339834976,), (1339835002,), (1339835011,), (1339835025,), (1339835029,), (1339835032,), (1339835035,), (1339835041,), (1339835046,), (1339835050,), (1339835054,), (1339835082,), (1339835085,), (1339835089,), (1339835092,), (1339835095,), (1339835224,), (1339835135,), (1339835192,), (1339835214,), (1339835283,), (1339835286,), (1339835290,), (1339835298,), (1339835305,), (1339835308,), (1339835328,), (1339835332,), (1339835336,), (1339835338,), (1339835341,), (1339835348,), (1339836072,), (1339836077,), (1339836079,), (1339836082,), (1339836234,), (1339836238,), (1339836249,), (1339836255,), (1339836256,), (1339836351,), (1339836355,), (1339836372,), (1339836386,), (1339836447,), (1339836449,), (1339836451,), (1339836489,), (1339836490,), (1339836492,), (1339836494,), (1339836501,), (1339836508,), (1339836512,), (1339836516,), (1339836520,), (1339836543,), (1339836547,), (1339836551,), (1339836580,), (1339836590,), (1339836600,), (1339836603,), (1339836606,), (1339836608,), (1339836620,), (1339836623,), (1339836626,), (1339836629,), (1339836631,), (1339836643,), (1339836646,), (1339836682,), (1339836766,), (1339836847,), (1339836923,), (1339837108,), (1339837144,), (1339837165,), (1339837168,), (1339837169,), (1339837322,), (1339837324,), (1339837326,), (1339837328,), (1339837329,), (1339837330,), (1339837685,), (1339837627,), (1339837644,), (1339837657,), (1339837659,), (1339837680,), (1339837706,), (1339837709,), (1339837712,), (1339837716,), (1339837748,), (1339837752,), (1339837755,), (1339837759,), (1339837762,), (1339837764,), (1339837773,), (1339837776,), (1339837780,), (1339837787,), (1339837789,), (1339837821,), (1339837824,), (1339837827,), (1339837829,), (1339837830,), (1339837849,), (1339837915,), (1339837961,), (1339837963,), (1339837985,), (1339838007,), (1339838079,), (1339838110,), (1339838113,), (1339838116,), (1339838155,), (1339838158,), (1339838160,), (1339838164,), (1339838167,), (1339838187,), (1339838192,), (1339838194,), (1339838196,), (1339838198,), (1339838215,), (1339838217,), (1339838220,), (1339838224,), (1339838227,), (1339838229,), (1339838240,), (1339838244,), (1339838248,), (1339838251,), (1339838254,), (1339838270,), (1339838279,), (1339838290,), (1339838293,), (1339838294,), (1339838301,), (1339838304,), (1339838307,), (1339838309,), (1339838311,), (1339838885,), (1339838888,), (1339838891,), (1339838893,), (1339839163,), (1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,), (1339842522,), (1339842524,), (1339842525,), (1339842527,), (1339842539,), (1339842541,), (1339842551,), (1339842554,), (1339842557,), (1339842561,), (1339842567,), (1339842568,), (1339842994,), (1339843006,), (1339843008,), (1339843010,), (1339843018,), (1339843022,), (1339843024,), (1339843026,), (1339843416,), (1339843107,), (1339843179,), (1339843251,), (1339843331,), (1339844057,), (1339844069,), (1339844070,), (1339844072,), (1339844096,), (1339844363,), (1339844466,), (1339844548,), (1339844609,), (1339844704,), (1339844825,), (1339845062,), (1339845206,), (1339845292,), (1339845463,), (1339845476,), (1339845481,), (1339845484,), (1339845486,), (1339845487,), (1339845523,), (1339845526,), (1339845528,), (1339845530,), (1339845532,), (1339845541,), (1339845543,), (1339845545,), (1339845554,), (1339845567,), (1339845586,), (1339845588,), (1339845590,), (1339845592,), (1339845593,), (1339845594,), (1339845606,), (1339845609,), (1339845612,), (1339845633,), (1339846183,), (1339846190,), (1339846192,), (1339846194,), (1339846196,), (1339846233,), (1339846273,), (1339846276,), (1339846291,), (1339846380,), (1339846434,), (1339846468,), (1339846471,), (1339846473,), (1339846475,), (1339846476,), (1339846478,), (1339846483,), (1339846486,), (1339846489,), (1339846494,), (1339846515,), (1339846518,), (1339846521,), (1339846523,), (1339846525,), (1339846527,), (1339846535,), (1339846537,), (1339846539,), (1339846544,), (1339846547,), (1339846794,), (1339846553,), (1339846700,), (1339846783,), (1339846788,), (1339846926,), (1339846965,), (1339846969,), (1339846972,), (1339846974,), (1339846976,), (1339846977,), (1339846997,), (1339847001,), (1339847014,), (1339847029,), (1339847069,), (1339847072,), (1339847080,), (1339847087,), (1339847089,), (1339847091,), (1339847096,), (1339847128,), (1339847176,), (1339847184,), (1339847214,), (1339847240,), (1339847289,), (1339847298,), (1339847300,), (1339847303,), (1339847312,), (1339847314,), (1339847316,), (1339847318,), (1339847320,), (1339847360,), (1339847363,), (1339847365,), (1339847367,), (1339847373,), (1339847376,), (1339847380,), (1339847385,), (1339847395,), (1339847397,), (1339847484,), (1339847490,), (1339847511,), (1339847525,), (1339847526,), (1339847550,), (1339847573,), (1339847576,), (1339847579,), (1339847581,), (1339847583,), (1339847607,), (1339847609,), (1339847614,), (1339847617,), (1339847619,), (1339847621,), (1339847630,), (1339847643,), (1339847646,), (1339847653,), (1339847662,), (1339847665,), (1339847667,), (1339847678,), (1339847690,), (1339847692,), (1339847702,), (1339847697,), (1339847700,), (1339848905,), (1339848908,), (1339848956,), (1339849292,), (1339849296,), (1339849297,), (1339849306,), (1339849318,), (1339849322,), (1339849325,), (1339849328,), (1339849329,), (1339849341,), (1339849344,), (1339849346,), (1339849454,), (1339849465,), (1339849468,), (1339849500,), (1339849505,), (1339849511,), (1339849514,), (1339849517,), (1339849519,), (1339849520,), (1339849521,), (1339849532,), (1339849536,), (1339849539,), (1339849540,), (1339849556,), (1339849559,), (1339849562,), (1339849566,), (1339849570,), (1339849577,), (1339849579,), (1339849581,), (1339849588,), (1339849739,), (1339849670,), (1339849683,), (1339849707,), (1339849733,), (1339849785,), (1339849790,), (1339849798,), (1339849805,), (1339849809,), (1339849810,), (1339849838,), (1339849843,), (1339849847,), (1339849850,), (1339849854,), (1339850420,), (1339850425,), (1339850428,), (1339850431,), (1339850530,), (1339850537,), (1339850660,), (1339850664,), (1339850673,), (1339850676,), (1339850760,), (1339850763,), (1339850789,), (1339850808,), (1339850817,), (1339850850,), (1339850899,), (1339850903,), (1339850907,), (1339850913,), (1339850914,), (1339850921,), (1339850927,), (1339850930,), (1339850932,), (1339850934,), (1339850936,), (1339850953,), (1339850956,), (1339850959,), (1339850962,), (1339850963,), (1339850977,), (1339850992,), (1339850994,), (1339850996,), (1339856496,), (1339856481,), (1339856995,), (1339857052,), (1339857094,), (1339857097,), (1339857142,), (1339857144,), (1339857154,), (1339857170,), (1339857172,), (1339857175,), (1339857179,), (1339857181,), (1339857191,), (1339857194,), (1339857197,), (1339857200,), (1339857201,), (1339857203,), (1339857209,), (1339857212,), (1339857216,), (1339857220,), (1339857222,), (1339857241,), (1339857243,), (1339857244,), (1339857246,), (1339857248,), (1339857250,), (1339857267,), (1339857270,), (1339857273,), (1339857275,), (1339857277,), (1339857279,), (1339857309,), (1339857292,), (1339857300,), (1339857304,), (1339857307,), (1339857332,), (1339857347,), (1339857353,), (1339857356,), (1339857560,), (1339857686,), (1339857797,), (1339857959,), (1339858187,), (1339858190,), (1339858192,), (1339858194,), (1339858196,), (1339858197,), (1339858206,), (1339858209,), (1339858212,), (1339858218,), (1339858223,), (1339858233,), (1339858236,), (1339858240,), (1339858243,), (1339858245,), (1339858281,), (1339858284,), (1339858288,), (1339858291,), (1339858296,), (1339858695,), (1339858758,), (1339858776,), (1339858792,), (1339858794,), (1339858795,), (1339858807,), (1339858810,), (1339858814,), (1339858816,), (1339858836,), (1339858839,), (1339858842,), (1339858845,), (1339858847,), (1339858861,), (1339858878,), (1339858882,), (1339858887,), (1339858890,), (1339858891,), (1339858912,), (1339858913,), (1339858915,), (1339858917,), (1339858927,), (1339858930,), (1339858933,), (1339858935,), (1339858937,), (1339858939,), (1339858979,), (1339858981,), (1339858983,), (1339858985,), (1339858987,), (1339858999,), (1339859003,), (1339859016,), (1339859023,), (1339859025,), (1339859031,), (1339859051,), (1339859039,), (1339859042,), (1339859046,), (1339859048,), (1339859075,), (1339859242,), (1339859387,), (1339859460,), (1339859462,), (1339859466,), (1339859612,), (1339859615,), (1339859619,), (1339859620,), (1339859622,), (1339859630,), (1339859641,), (1339859648,), (1339859649,), (1339859654,), (1339859660,), (1339859757,), (1339859814,), (1339859850,), (1339859853,), (1339859857,), (1339859877,), (1339859881,), (1339859883,), (1339859887,), (1339859917,), (1339859920,), (1339859923,), (1339859945,), (1339859947,), (1339859948,), (1339859962,), (1339859965,), (1339859967,), (1339859969,), (1339859990,), (1339859992,), (1339859995,), (1339859999,), (1339860072,), (1339860146,), (1339860171,), (1339860187,), (1339860190,), (1339860192,), (1339860234,), (1339860237,), (1339860241,), (1339860242,), (1339860244,), (1339860261,), (1339860272,), (1339860274,), (1339860303,), (1339860375,), (1339860408,), (1339860673,), (1339860705,), (1339860709,), (1339860712,), (1339860751,), (1339860858,), (1339860861,), (1339860866,), (1339860867,), (1339860874,), (1339860898,), (1339860901,), (1339860904,), (1339860907,), (1339860910,), (1339861051,), (1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,), (1339862975,), (1339862977,), (1339862978,), (1339862983,), (1339862986,), (1339862995,), (1339862997,), (1339863002,), (1339863013,), (1339863052,), (1339863028,), (1339863035,), (1339863043,), (1339863048,), (1339863050,), (1339863419,), (1339863442,), (1339863463,), (1339863469,), (1339863474,), (1339863489,), (1339863496,), (1339863507,), (1339863514,), (1339863516,), (1339863543,), (1339863546,), (1339863550,), (1339863552,), (1339863555,), (1339863593,), (1339863595,), (1339863598,), (1339863600,), (1339863602,), (1339863615,), (1339863617,), (1339863620,), (1339863622,), (1339863624,), (1339863628,), (1339863650,), (1339863653,), (1339863656,), (1339863659,), (1339863661,), (1339863674,), (1339863677,), (1339863680,), (1339863683,), (1339863685,), (1339863711,), (1339863721,), (1339863723,), (1339863727,), (1339863728,), (1339863756,), (1339863765,), (1339863769,), (1339863773,), (1339863776,), (1339863807,), (1339863811,), (1339863815,), (1339863825,), (1339863828,), (1339863830,), (1339863831,), (1339863838,), (1339863849,), (1339863853,), (1339863856,), (1339863868,), (1339863872,), (1339863876,), (1339863878,), (1339863880,), (1339863882,), (1339863890,), (1339863898,), (1339863903,), (1339863908,), (1339863911,), (1339863929,), (1339863933,), (1339863937,), (1339863941,), (1339863989,), (1339863954,), (1339863959,), (1339863971,), (1339863978,), (1339863986,), (1339864357,), (1339864368,), (1339864377,), (1339864382,), (1339864525,), (1339864555,), (1339864558,), (1339864562,), (1339864564,), (1339864566,), (1339864578,), (1339864586,), (1339864595,), (1339864601,), (1339864603,), (1339864612,), (1339864616,), (1339864625,), (1339864629,), (1339864653,), (1339864656,), (1339864660,), (1339864664,), (1339864668,), (1339864670,), (1339864678,), (1339864691,), (1339864696,), (1339864700,), (1339864722,), (1339864726,), (1339864741,), (1339864751,), (1339864754,), (1339864755,), (1339864842,), (1339864846,), (1339864851,), (1339864853,), (1339864891,), (1339864967,), (1339865054,), (1339865143,), (1339865222,), (1339865308,), (1339865618,), (1339865635,), (1339865664,), (1339865667,), (1339865693,), (1339865714,), (1339865734,), (1339865739,), (1339865741,), (1339865743,), (1339865752,), (1339865754,), (1339865759,), (1339865767,), (1339865772,), (1339865774,), (1339865801,), (1339865804,), (1339865809,), (1339865812,), (1339865828,), (1339865831,), (1339865834,), (1339865837,), (1339865839,), (1339865841,), (1339865878,), (1339865861,), (1339865867,), (1339865873,), (1339865876,), (1339865906,), (1339865909,), (1339865912,), (1339865920,), (1339865927,), (1339865950,), (1339865953,), (1339865956,), (1339865959,), (1339865966,), (1339865968,), (1339865988,), (1339865991,), (1339865994,), (1339865996,), (1339866043,), (1339866047,), (1339866050,), (1339866579,), (1339866587,), (1339866588,), (1339866591,), (1339866592,), (1339866873,), (1339866875,), (1339866878,), (1339866880,), (1339866987,), (1339867023,), (1339867026,), (1339867042,), (1339867185,), (1339867250,), (1339867253,), (1339867339,), (1339867342,), (1339867345,), (1339867348,), (1339867365,), (1339867368,), (1339867371,), (1339867374,), (1339867375,), (1339867403,), (1339867407,), (1339867410,), (1339867413,), (1339867415,), (1339867416,), (1339867447,), (1339867452,), (1339867454,), (1339867456,), (1339867474,), (1339867476,), (1339867477,), (1339867480,), (1339867493,), (1339867496,), (1339867499,), (1339867501,), (1339867503,), (1339867505,), (1339867519,), (1339867524,), (1339867526,), (1339867528,), (1339867529,), (1339867699,), (1339867545,), (1339867553,), (1339867566,), (1339867568,), (1339867570,), (1339867955,), (1339867971,), (1339868041,), (1339868043,), (1339868156,), (1339868159,), (1339868165,), (1339868169,), (1339868171,), (1339868203,), (1339868222,), (1339868229,), (1339868240,), (1339868242,), (1339868257,), (1339868267,), (1339868339,), (1339868342,), (1339868345,), (1339868347,), (1339868377,), (1339868380,), (1339868383,), (1339868392,), (1339868394,), (1339868430,), (1339868433,), (1339868436,), (1339868439,), (1339868446,), (1339868455,), (1339868533,), (1339868536,), (1339868538,), (1339868541,), (1339868557,), (1339868560,), (1339868562,), (1339868568,), (1339868573,), (1339868598,), (1339868601,), (1339868604,), (1339868607,), (1339868609,), (1339868625,), (1339868627,), (1339868630,), (1339868635,), (1339868642,), (1339868660,), (1339868663,), (1339868666,), (1339868670,), (1339868672,), (1339868674,), (1339868700,), (1339868703,), (1339868707,), (1339868711,), (1339868743,), (1339868745,), (1339868746,), (1339868749,), (1339868752,), (1339868755,), (1339868765,), (1339868770,), (1339868773,), (1339868775,), (1339868819,), (1339868792,), (1339868800,), (1339868812,), (1339868816,), (1339868818,), (1339868840,), (1339868864,), (1339868868,), (1339868873,), (1339868875,), (1339869282,), (1339869285,), (1339869370,), (1339869375,), (1339869414,), (1339869425,), (1339869459,), (1339869541,), (1339869631,), (1339869697,), (1339869727,), (1339869732,), (1339869738,), (1339869749,), (1339869752,), (1339869761,), (1339869791,), (1339869795,), (1339869799,), (1339869806,), (1339869844,), (1339869854,), (1339869859,), (1339869864,), (1339869868,), (1339869872,), (1339869901,), (1339869906,), (1339869912,), (1339869916,), (1339869920,), (1339870101,), (1339870110,), (1339870124,), (1339870134,), (1339870168,), (1339870174,), (1339870224,), (1339870234,), (1339870236,), (1339870240,), (1339870244,), (1339870248,), (1339870282,), (1339870286,), (1339870297,), (1339870300,), (1339870304,), (1339870345,), (1339870427,), (1339870536,), (1339870841,), (1339870844,), (1339870851,), (1339870856,), (1339870861,), (1339870866,), (1339870871,), (1339870873,), (1339870907,), (1339870914,), (1339870919,), (1339870928,), (1339870933,), (1339870939,), (1339870949,), (1339871004,), (1339869976,), (1339869984,), (1339869990,), (1339869998,), (1339870005,), (1339870013,), (1339870034,), (1339870042,), (1339870054,), (1339870064,), (1339870071,), (1339870077,), (1339870091,), (1339870096,), (1339870149,), (1339870154,), (1339870159,), (1339870164,), (1339870185,), (1339870189,), (1339870194,), (1339870199,), (1339870203,), (1339870206,), (1339870259,), (1339870261,), (1339870262,), (1339870270,), (1339870656,), (1339870666,), (1339870685,), (1339870733,), (1339870777,), (1339870791,), (1339870809,), (1339870812,), (1339870815,), (1339870823,), (1339870886,), (1339870891,), (1339870895,), (1339870897,), (1339870902,), (1339870981,), (1339870983,), (1339870986,), (1339870989,), (1339870993,), (1339870996,), (1339871019,), (1339871031,), (1339871039,), (1339871114,), (1339871119,), (1339871190,), (1339871296,), (1339871356,), (1339871359,), (1339871363,), (1339871434,), (1339871409,), (1339871412,), (1339871416,), (1339871422,), (1339871431,), (1339871464,), (1339871468,), (1339871470,), (1339871958,), (1339871961,), (1339871964,), (1339871967,), (1339871970,), (1339871971,), (1339872009,), (1339872018,), (1339872024,), (1339872026,), (1339872029,), (1339872085,), (1339872092,), (1339872096,), (1339872138,), (1339872144,), (1339872161,), (1339872166,), (1339872170,), (1339872173,), (1339872255,), (1339872265,), (1339872275,), (1339872279,), (1339872283,), (1339872286,), (1339872302,), (1339872306,), (1339872311,), (1339872321,), (1339872350,), (1339872358,), (1339872368,), (1339872373,), (1339872387,), (1339872401,), (1339872407,), (1339872411,), (1339872412,), (1339872413,), (1339872450,), (1339872458,), (1339872469,), (1339872477,), (1339872481,), (1339872499,), (1339872504,), (1339872510,), (1339872515,), (1339872522,), (1339872526,), (1339872591,), (1339872597,), (1339872603,), (1339872612,), (1339872619,), (1339872646,), (1339872652,), (1339872658,), (1339872665,), (1339872669,), (1339872678,), (1339872713,), (1339872717,), (1339872722,), (1339872728,), (1339872731,), (1339872733,), (1339872802,), (1339872785,), (1339872790,), (1339872796,), (1339873112,), (1339873173,), (1339873179,), (1339873185,), (1339873190,), (1339873239,), (1339873387,), (1339873392,), (1339873398,), (1339873404,), (1339873439,), (1339873479,), (1339873484,), (1339873489,), (1339873492,), (1339873494,), (1339873650,), (1339873658,), (1339873661,), (1339873669,), (1339873708,), (1339873716,), (1339873723,), (1339873728,), (1339873732,), (1339873734,), (1339873757,), (1339873761,), (1339873769,), (1339873779,), (1339873784,), (1339873828,), (1339873837,), (1339873842,), (1339873851,), (1339873854,), (1339873878,), (1339873883,), (1339873889,), (1339873894,), (1339873976,), (1339873981,), (1339873987,), (1339873994,), (1339873998,), (1339874001,), (1339874035,), (1339874046,), (1339874051,), (1339874056,), (1339874302,), (1339874310,), (1339874318,), (1339874326,), (1339874330,), (1339874388,), (1339874398,), (1339874402,), (1339874404,), (1339874410,), (1339874422,), (1339875194,), (1339875198,), (1339875201,), (1339875204,), (1339875207,), (1339875210,), (1339875236,), (1339875253,), (1339875274,), (1339875264,), (1339875267,), (1339875269,), (1339875273,), (1339875301,), (1339875310,), (1339875445,), (1339875630,), (1339875632,), (1339875635,), (1339875788,), (1339875790,), (1339875794,), (1339875798,), (1339875822,), (1339875827,), (1339875839,), (1339875853,), (1339875856,), (1339875859,), (1339875901,), (1339875905,), (1339875909,), (1339875912,), (1339875964,), (1339875972,), (1339875975,), (1339875977,), (1339875979,), (1339875980,), (1339876015,), (1339876022,), (1339876031,), (1339876040,), (1339876076,), (1339876078,), (1339876081,), (1339876084,), (1339876086,), (1339876087,), (1339876155,), (1339876164,), (1339876169,), (1339876172,), (1339876214,), (1339876218,), (1339876220,), (1339876222,), (1339876224,), (1339876262,), (1339876271,), (1339876282,), (1339876286,), (1339876288,), (1339876315,), (1339876346,), (1339876349,), (1339876351,), (1339876353,), (1339876384,), (1339876389,), (1339876398,), (1339876411,), (1339876414,), (1339876416,), (1339876430,), (1339876433,), (1339876438,), (1339876448,), (1339876497,), (1339876503,), (1339876515,), (1339876527,), (1339876530,), (1339876532,), (1339876575,), (1339876560,), (1339876563,), (1339876567,), (1339876571,), (1339876775,), (1339876849,), (1339876859,), (1339876885,), (1339876889,), (1339876982,), (1339876989,), (1339876995,), (1339877000,), (1339877003,), (1339877012,), (1339877082,), (1339877091,), (1339877095,), (1339877127,), (1339877132,), (1339877183,), (1339877221,), (1339877285,), (1339877289,), (1339877387,), (1339877393,), (1339877398,), (1339877446,), (1339877459,), (1339877536,), (1339877540,), (1339877544,), (1339877547,), (1339877550,), (1339877552,), (1339877599,), (1339877601,), (1339877603,), (1339877605,), (1339877608,), (1339877756,), (1339877764,), (1339877766,), (1339877769,), (1339877778,), (1339877781,), (1339877797,), (1339877799,), (1339877800,), (1339877805,), (1339877812,), (1339877874,), (1339877924,), (1339877934,), (1339877942,), (1339877945,), (1339877946,), (1339877973,), (1339877978,), (1339877981,), (1339877984,), (1339878095,), (1339878081,), (1339878084,), (1339878087,), (1339878091,), (1339878378,), (1339878382,), (1339878390,), (1339878394,), (1339878397,), (1339878400,), (1339878437,), (1339878440,), (1339878444,), (1339878448,), (1339878452,), (1339878569,), (1339878575,), (1339878580,), (1339878581,), (1339878583,), (1339878585,), (1339878591,), (1339878595,), (1339878601,), (1339878607,), (1339878610,), (1339878661,), (1339878737,), (1339878823,), (1339878912,), (1339878935,), (1339878938,), (1339878945,), (1339878946,), (1339878948,), (1339878949,), (1339878952,), (1339878957,), (1339878965,), (1339878966,), (1339878975,), (1339878977,), (1339878981,), (1339878983,), (1339878986,), (1339879027,), (1339879028,), (1339879030,), (1339879031,), (1339879033,), (1339879034,), (1339879036,), (1339879039,), (1339879041,), (1339879045,), (1339879051,), (1339879052,), (1339879055,), (1339879058,), (1339879062,), (1339879064,), (1339879067,), (1339879072,), (1339879075,), (1339879091,), (1339879124,), (1339879127,), (1339879129,), (1339879131,), (1339879134,), (1339879144,), (1339879147,), (1339879170,), (1339879172,), (1339879203,), (1339879215,), (1339879218,), (1339879232,), (1339879539,), (1339879545,), (1339879547,), (1339879548,), (1339879551,), (1339879584,), (1339879588,), (1339879592,), (1339879596,), (1339879628,), (1339879633,), (1339879636,), (1339879638,), (1339879640,), (1339879682,), (1339879817,), (1339879821,), (1339879824,), (1339879839,), (1339879843,), (1339879857,), (1339879901,), (1339879913,), (1339879917,), (1339879920,), (1339879700,), (1339879702,), (1339879704,), (1339879757,), (1339879761,), (1339879773,), (1339879783,), (1339879796,), (1339879799,), (1339879806,), (1339879809,), (1339879813,), (1339879831,), (1339879832,), (1339879833,), (1339879835,), (1339879907,), (1339879910,), (1339879914,), (1339879918,), (1339879924,), (1339879926,), (1339879957,), (1339880657,), (1339880718,), (1339880722,), (1339880726,), (1339880730,), (1339880734,), (1339880737,), (1339880830,), (1339880833,), (1339880836,), (1339880914,), (1339880926,), (1339880934,), (1339880936,), (1339880939,), (1339880946,), (1339880947,), (1339880949,), (1339880954,), (1339880957,), (1339881002,), (1339881008,), (1339881011,), (1339881013,), (1339881015,), (1339881031,), (1339881035,), (1339881038,), (1339881041,), (1339881043,), (1339881044,), (1339881068,), (1339881077,), (1339881081,), (1339881085,), (1339881100,), (1339881105,), (1339881114,), (1339881127,), (1339881131,), (1339881195,), (1339881428,), (1339881430,), (1339881432,), (1339881434,), (1339881449,), (1339881498,), (1339881509,), (1339881519,), (1339881522,), (1339881540,), (1339881556,), (1339881804,), (1339881806,), (1339881851,), (1339881853,), (1339881854,), (1339881953,), (1339928310,), (1339928315,), (1339928358,), (1339928360,), (1339928368,), (1339928394,), (1339928398,), (1339928401,), (1339928482,), (1339928547,), (1339928606,), (1339928644,), (1339929116,), (1339929118,), (1339929120,), (1339929123,), (1339929133,), (1339929142,), (1339929274,), (1339929277,), (1339929283,), (1339929309,), (1339929319,), (1339929381,), (1339929382,), (1339929384,), (1339929385,), (1339929390,), (1339929391,), (1339929454,), (1339929471,), (1339929554,), (1339929563,), (1339929720,), (1339929722,), (1339929740,), (1339929743,), (1339929756,), (1339929770,), (1339929903,), (1339929895,), (1339929900,), (1339929902,), (1339929952,), (1339930020,), (1339930087,), (1339930149,), (1339930217,), (1339930246,), (1339930318,), (1339930320,), (1339930433,), (1339930649,), (1339930673,), (1339930819,), (1339930849,), (1339930854,), (1339930855,), (1339930859,), (1339930901,), (1339930904,), (1339930906,), (1339930911,), (1339930916,), (1339930923,), (1339931193,), (1339931199,), (1339931206,), (1339931312,), (1339931315,), (1339931317,), (1339931327,), (1339931331,), (1339931334,), (1339931431,), (1339931458,), (1339931462,), (1339931465,), (1339931473,), (1339931485,), (1339931607,), (1339931610,), (1339931615,), (1339931619,), (1339931798,), (1339931904,), (1339931908,), (1339931912,), (1339931920,), (1339931922,), (1339932095,), (1339932106,), (1339932114,), (1339932117,), (1339932157,), (1339932171,), (1339932183,), (1339932185,), (1339932188,), (1339932192,), (1339932231,), (1339932243,), (1339932251,), (1339932256,), (1339932263,), (1339932328,), (1339932332,), (1339932336,), (1339932338,), (1339932379,), (1339932382,), (1339932383,), (1339932388,), (1339932394,), (1339932433,), (1339932419,), (1339932422,), (1339932425,), (1339932429,), (1339932503,), (1339932508,), (1339932511,), (1339932584,), (1339932586,), (1339932674,), (1339932711,), (1339933246,), (1339933253,), (1339933400,), (1339933444,), (1339933450,), (1339933600,), (1339933603,), (1339933606,), (1339933824,), (1339933834,), (1339933837,), (1339933847,), (1339933851,), (1339933860,), (1339933921,), (1339933924,), (1339933927,), (1339933929,), (1339933955,), (1339933959,), (1339933965,), (1339933970,), (1339933974,), (1339933982,), (1339934093,), (1339934098,), (1339934105,), (1339934107,), (1339934175,), (1339934179,), (1339934207,), (1339934311,), (1339934316,), (1339934391,), (1339934388,), (1339934741,), (1339934745,), (1339934807,), (1339934810,), (1339934813,), (1339934883,), (1339934887,), (1339934890,), (1339934893,), (1339934931,), (1339935020,), (1339935450,), (1339935452,), (1339935639,), (1339935642,), (1339935645,), (1339935658,), (1339935696,), (1339935708,), (1339935912,), (1339935923,), (1339935961,), (1339935972,), (1339936073,), (1339936075,), (1339936076,), (1339936079,), (1339936083,), (1339936087,), (1339936110,), (1339936114,), (1339936116,), (1339936119,), (1339936124,), (1339936168,), (1339936177,), (1339936183,), (1339936231,), (1339936261,), (1339936264,), (1339936282,), (1339936285,), (1339936287,), (1339936306,), (1339936309,), (1339936312,), (1339936377,), (1339936388,), (1339936390,), (1339936397,), (1339936473,), (1339936475,), (1339936477,), (1339936481,), (1339936484,), (1339936494,), (1339936585,), (1339936591,), (1339936602,), (1339936612,), (1339936621,), (1339936908,), (1339936658,), (1339936783,), (1339936897,), (1339937002,), (1339937005,), (1339937056,), (1339937057,), (1339937071,), (1339937078,), (1339937100,), (1339937104,), (1339937108,), (1339937152,), (1339937156,), (1339937165,), (1339937172,), (1339937179,), (1339937183,), (1339937214,), (1339937220,), (1339937226,), (1339937229,), (1339938012,), (1339938025,), (1339938035,), (1339938042,), (1339938049,), (1339938057,), (1339938236,), (1339938270,), (1339938300,), (1339938333,), (1339938342,), (1339938345,), (1339938405,), (1339938415,), (1339938422,), (1339938430,), (1339938466,), (1339938470,), (1339938474,), (1339938477,), (1339938484,), (1339938487,), (1339938503,), (1339938505,), (1339938508,), (1339938510,), (1339938514,), (1339938680,), (1339938683,), (1339938686,), (1339938696,), (1339938737,), (1339938741,), (1339938764,), (1339938849,), (1339938916,), (1339938921,), (1339939052,), (1339939056,), (1339939063,), (1339939072,), (1339939132,), (1339939193,), (1339939247,), (1339939293,), (1339939339,), (1339939365,), (1339939890,), (1339939931,), (1339939987,), (1339940002,), (1339940577,), (1339940567,), (1339940569,), (1339940570,), (1339940571,), (1339940574,), (1339940784,), (1339940788,), (1339940791,), (1339940794,), (1339940796,), (1339941064,), (1339941084,), (1339941089,), (1339941093,), (1339941117,), (1339941133,), (1339941195,), (1339941214,), (1339941217,), (1339941221,), (1339941251,), (1339941254,), (1339941257,), (1339941261,), (1339941268,), (1339941971,), (1339941972,), (1339941977,), (1339941981,), (1339941985,), (1339942415,), (1339942423,), (1339942444,), (1339942485,), (1339942494,), (1339942694,), (1339942718,), (1339942723,), (1339942728,), (1339942732,), (1339942736,), (1339942751,), (1339942753,), (1339942756,), (1339942760,), (1339942763,), (1339942782,), (1339942785,), (1339942787,), (1339942790,), (1339942793,), (1339942797,), (1339942810,), (1339942813,), (1339942816,), (1339942858,), (1339942862,), (1339942866,), (1339942870,), (1339942874,), (1339943160,), (1339943168,), (1339943175,), (1339943190,), (1339943193,), (1339952469,), (1339952471,), (1339952478,), (1339952487,), (1339952489,), (1339952500,), (1339952510,), (1339952523,), (1339952528,), (1339948563,), (1339948568,), (1339948572,), (1339948581,), (1339948584,), (1339948586,), (1339948587,), (1339948588,), (1339948590,), (1339948625,), (1339948626,), (1339948627,), (1339948636,), (1339948643,), (1339948645,), (1339948716,), (1339948758,), (1339948810,), (1339948821,), (1339948824,), (1339948827,), (1339948828,), (1339948863,), (1339948932,), (1339948936,), (1339948937,), (1339948974,), (1339949087,), (1339949286,), (1339950076,), (1339950081,), (1339950411,), (1339950426,), (1339950430,), (1339950432,), (1339950438,), (1339950505,), (1339950593,), (1339950601,), (1339950626,), (1339950641,), (1339950644,), (1339950647,), (1339950650,), (1339950651,), (1339950658,), (1339950668,), (1339950680,), (1339950690,), (1339950696,), (1339950702,), (1339950709,), (1339950715,), (1339950725,), (1339950727,), (1339950734,), (1339950737,), (1339950753,), (1339950760,), (1339950768,), (1339950776,), (1339950780,), (1339950782,), (1339950786,), (1339950788,), (1339950792,), (1339950796,), (1339950802,), (1339950808,), (1339950833,), (1339950839,), (1339950841,), (1339950844,), (1339950847,), (1339950848,), (1339950854,), (1339948555,), (1339948557,), (1339948560,), (1339948597,), (1339948600,), (1339948604,), (1339948609,), (1339948612,), (1339948618,), (1339948671,), (1339948687,), (1339948691,), (1339948703,), (1339948706,), (1339948723,), (1339948724,), (1339948726,), (1339948749,), (1339948754,), (1339948890,), (1339948901,), (1339948903,), (1339948907,), (1339948913,), (1339948919,), (1339949667,), (1339949914,), (1339950058,), (1339950069,), (1339950111,), (1339950120,), (1339950121,), (1339950124,), (1339950129,), (1339950133,), (1339950507,), (1339950569,), (1339950582,), (1339950586,), (1339960221,), (1339950857,), (1339950862,), (1339950867,), (1339950872,), (1339950878,), (1339950909,), (1339950918,), (1339950919,), (1339950925,), (1339950929,), (1339950941,), (1339950959,), (1339950966,), (1339950982,), (1339950990,), (1339950994,), (1339950997,), (1339951012,), (1339951020,), (1339951022,), (1339951024,), (1339951032,), (1339951060,), (1339951101,), (1339951109,), (1339951135,), (1339951138,), (1339951139,), (1339951152,), (1339951173,), (1339951182,), (1339951200,), (1339951205,), (1339951213,), (1339951219,), (1339951232,), (1339951235,), (1339951237,), (1339951259,), (1339951261,), (1339951263,), (1339951268,), (1339951273,), (1339951278,), (1339951284,), (1339951338,), (1339951447,), (1339951554,), (1339951588,), (1339951616,), (1339951736,), (1339951742,), (1339951746,), (1339951763,), (1339951766,), (1339951771,), (1339951774,), (1339951778,), (1339951780,), (1339951801,), (1339951807,), (1339951854,), (1339951866,), (1339951873,), (1339951880,), (1339951916,), (1339951927,), (1339951939,), (1339951956,), (1339951964,), (1339951972,), (1339952001,), (1339952007,), (1339952038,), (1339952045,), (1339952050,), (1339952064,), (1339952070,), (1339952115,), (1339952123,), (1339952130,), (1339952142,), (1339952147,), (1339952172,), (1339952181,), (1339952194,), (1339952202,), (1339952204,), (1339952207,), (1339952224,), (1339952228,), (1339952233,), (1339952237,), (1339952243,), (1339952247,), (1339952264,), (1339952267,), (1339952330,), (1339952335,), (1339952341,), (1339952350,), (1339952373,), (1339952374,), (1339952380,), (1339952382,), (1339952391,), (1339952393,), (1339952399,), (1339952401,), (1339952404,), (1339952405,), (1339952408,), (1339952409,), (1339952422,), (1339952426,), (1339952433,), (1339952439,), (1339952452,), (1339952455,), (1339959944,), (1339960260,), (1339960264,), (1339960267,), (1339960269,), (1339960271,), (1339960272,), (1339960312,), (1339960316,), (1339960319,), (1339960322,), (1339960531,), (1339960598,), (1339960609,), (1339960611,), (1339960618,), (1339960621,), (1339960624,), (1339960752,), (1339960758,), (1339960765,), (1339960769,), (1339960843,), (1339960853,), (1339960861,), (1339960868,), (1339960877,), (1339960893,), (1339960898,), (1339960902,), (1339960906,), (1339960910,), (1339960942,), (1339960924,), (1339960931,), (1339960935,), (1339961047,), (1339961051,), (1339961053,), (1339961056,), (1339961063,), (1339961066,), (1339961090,), (1339961094,), (1339961296,), (1339962144,), (1339962153,), (1339962155,), (1339962217,), (1339962337,), (1339962365,), (1339962476,), (1339962481,), (1339962484,), (1339962488,), (1339962491,), (1339962531,), (1339962591,), (1339962611,), (1339962613,), (1339962614,), (1339962649,), (1339962653,), (1339962656,), (1339962658,), (1339962660,), (1339962662,), (1339962704,), (1339962707,), (1339962735,), (1339962737,), (1339962740,), (1339962789,), (1339962799,), (1339962801,), (1339962804,), (1339962860,), (1339962862,), (1339962865,), (1339962869,), (1339962872,), (1339962875,), (1339962900,), (1339962903,), (1339962907,), (1339962911,), (1339962992,), (1339962980,), (1339962984,), (1339962988,), (1339963162,), (1339963186,), (1339963189,), (1339963205,), (1339963212,), (1339963243,), (1339963246,), (1339963259,), (1339963261,), (1339963346,), (1339963348,), (1339963350,), (1339963351,), (1339963353,), (1339963355,), (1339963428,), (1339963431,), (1339963434,), (1339963439,), (1339963441,), (1339963482,), (1339963545,), (1339963548,), (1339963551,), (1339963557,), (1339963568,), (1339963789,), (1339963794,), (1339963798,), (1339963804,), (1339963809,), (1339963826,), (1339964068,), (1339964070,), (1339964073,), (1339964178,), (1339964180,), (1339964182,), (1339964186,), (1339964188,), (1339964194,), (1339964258,), (1339964260,), (1339964267,), (1339964302,), (1339964360,), (1339964362,), (1339964364,), (1339964366,), (1339964369,), (1339964371,), (1339964411,), (1339964470,), (1339964557,), (1339964558,), (1339964590,), (1339964592,), (1339964597,), (1339964610,), (1339964758,), (1339964760,), (1339964762,), (1339964765,), (1339964822,), (1339964828,), (1339964834,), (1339964837,), (1339964957,), (1339964939,), (1339964950,), (1339964954,), (1339965136,), (1339965258,), (1339965260,), (1339965266,), (1339965315,), (1339965330,), (1339965445,), (1339965450,), (1339965501,), (1339965505,), (1339965510,), (1339965516,), (1339965558,), (1339965566,), (1339965570,), (1339965591,), (1339965627,), (1339965629,), (1339965632,), (1339965635,), (1339965644,), (1339965650,), (1339965687,), (1339965690,), (1339965693,), (1339965695,), (1339965699,), (1339965726,), (1339965729,), (1339965737,), (1339965747,), (1339965752,), (1339965755,), (1339965915,), (1339965917,), (1339965920,), (1339965969,), (1339965971,), (1339965973,), (1339965976,), (1339965979,), (1339965985,), (1339966009,), (1339966011,), (1339966013,), (1339966018,), (1339966023,), (1339966028,), (1339966071,), (1339966074,), (1339966076,), (1339966079,), (1339966197,), (1339966205,), (1339966208,), (1339966212,), (1339966216,), (1339966251,), (1339966253,), (1339966254,), (1339966256,), (1339966302,), (1339966304,), (1339966308,), (1339966315,), (1339966320,), (1339966379,), (1339966380,), (1339966381,), (1339966400,), (1339966481,), (1339966436,), (1339966439,), (1339966452,), (1339966456,), (1339966474,), (1339966530,), (1339966553,), (1339966555,), (1339966558,), (1339966573,), (1339966615,), (1339966621,), (1339966636,), (1339966641,), (1339966647,), (1339966652,), (1339966683,), (1339966686,), (1339966695,), (1339966696,), (1339966895,), (1339966899,), (1339966903,), (1339966907,), (1339966975,), (1339967151,), (1339967203,), (1339967204,), (1339967212,), (1339967250,), (1339967253,), (1339967267,), (1339967314,), (1339967317,), (1339967319,), (1339967322,), (1339968071,), (1339968075,), (1339968085,), (1339968428,), (1339968431,), (1339968434,), (1339968479,), (1339968482,), (1339968525,), (1339968526,), (1339968875,), (1339968878,), (1339968881,), (1339968884,), (1339968887,), (1339968892,), (1339968914,), (1339968915,), (1339968917,), (1339968919,), (1339968922,), (1339968925,), (1339968957,), (1339968986,), (1339968992,), (1339969090,), (1339969094,), (1339969102,), (1339969269,), (1339969276,), (1339969281,), (1339969286,), (1339969289,), (1339969330,), (1339969303,), (1339969315,), (1339969372,), (1339969375,), (1339969378,), (1339969381,), (1339969383,), (1339969387,), (1339969406,), (1339969418,), (1339969426,), (1339969436,), (1339969440,), (1339969444,), (1339969483,), (1339969486,), (1339969489,), (1339969491,), (1339969517,), (1339969521,), (1339969611,), (1339969925,), (1339969994,), (1339970001,), (1339970173,), (1339970176,), (1339970178,), (1339970213,), (1339970219,), (1339970225,), (1339970243,), (1339970256,), (1339970269,), (1339970889,), (1339970891,), (1339970937,), (1339970944,), (1339970949,), (1339970954,), (1339970960,), (1339970990,), (1339970993,), (1339970996,), (1339971000,), (1339971036,), (1339971064,), (1339971068,), (1339971070,), (1339971116,), (1339971118,), (1339971120,), (1339971124,), (1339971172,), (1339971149,), (1339971153,), (1339971159,), (1339971164,), (1339971168,), (1339971346,), (1339971350,), (1339971353,), (1339971420,), (1339971429,), (1339971434,), (1339971522,), (1339971528,), (1339971532,), (1339971534,), (1339971618,), (1339971621,), (1339971624,), (1339971626,), (1339971628,), (1339971661,), (1339971665,), (1339971669,), (1339971673,), (1339971676,), (1339971677,), (1339971718,), (1339971723,), (1339971728,), (1339971751,), (1339971755,), (1339971758,), (1339971762,), (1339971764,), (1339971765,), (1339972095,), (1339972105,), (1339972113,), (1339972115,), (1339972160,), (1339972163,), (1339972165,), (1339972167,), (1339972218,), (1339972225,), (1339972228,), (1339972287,), (1339972290,), (1339972292,), (1339972294,), (1339972298,), (1339972301,), (1339972727,), (1339972820,), (1339972907,), (1339973360,), (1339973362,), (1339973370,), (1339973376,), (1339973378,), (1339973383,), (1339973416,), (1339973417,), (1339973421,), (1339973426,), (1339973429,), (1339973467,), (1339973470,), (1339973472,), (1339973478,), (1339973484,), (1339973557,), (1339973528,), (1339973529,), (1339973530,), (1339973532,), (1339973534,), (1339973602,), (1339973620,), (1339973623,), (1339973626,), (1339973627,), (1339973653,), (1339973677,), (1339973678,), (1339973679,), (1339973989,), (1339973991,), (1339973993,), (1339973999,), (1339974003,), (1339974006,), (1339974048,), (1339974050,), (1339974052,), (1339974054,), (1339974057,), (1339974356,), (1339974372,), (1339974374,), (1339974378,), (1339974452,), (1339974454,), (1339974460,), (1339974482,), (1339974484,), (1339974527,), (1339974532,), (1339974536,), (1339974540,), (1339974545,), (1339974548,), (1339974565,), (1339974567,), (1339974570,), (1339974611,), (1339974617,), (1339974620,), (1339974626,), (1339974631,), (1339974657,), (1339974660,), (1339974663,), (1339974669,), (1339981314,), (1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,), (1339982566,), (1339982579,), (1339982587,), (1339982610,), (1339982708,), (1339983498,), (1339983502,), (1339983525,), (1339983535,), (1339983753,), (1339983815,), (1339983823,), (1339983827,), (1339983831,), (1339983835,), (1339983936,), (1339983956,), (1339984209,), (1339984214,), (1339984222,), (1339984718,), (1339984722,), (1339984725,), (1339984761,), (1339985250,), (1339985275,), (1339985282,), (1339985309,), (1339985314,), (1339985318,), (1339985471,), (1339985476,), (1339985489,), (1339985541,), (1339985543,), (1339985545,), (1339985549,), (1339985556,), (1339985565,), (1339985686,), (1339985727,), (1339985752,), (1339985757,), (1339985760,), (1339985767,), (1339985804,), (1339985809,), (1339985812,), (1339985817,), (1339985857,), (1339985864,), (1339985865,), (1339985867,), (1339985869,), (1339985875,), (1339985940,), (1339985946,), (1339985952,), (1339985957,), (1339986021,), (1339986029,), (1339986075,), (1339986076,), (1339986078,), (1339986080,), (1339986150,), (1339986152,), (1339986154,), (1339986181,), (1339986184,), (1339986187,), (1339986234,), (1339986241,), (1339986246,), (1339986250,), (1339986294,), (1339986281,), (1339986283,), (1339986286,), (1339986289,), (1339986337,), (1339986338,), (1339986339,), (1339986341,), (1339986342,), (1339986372,), (1339986374,), (1339986376,), (1339986379,), (1339986382,), (1339986421,), (1339986422,), (1339986543,), (1339986741,), (1339986789,), (1339986796,), (1339986993,), (1339987013,), (1339987016,), (1339987030,), (1339987086,), (1339987087,), (1339987088,), (1339987090,), (1339987092,), (1339987095,), (1339987124,), (1339987129,), (1339987136,), (1339987138,), (1339987140,), (1339987494,), (1339987495,), (1339987496,), (1339987512,), (1339987514,), (1339987523,), (1339987608,), (1339987611,), (1339987614,), (1339987650,), (1339987935,), (1339987944,), (1339987951,), (1339987967,), (1339987970,), (1339987976,), (1339988014,), (1339988058,), (1339988060,), (1339988074,), (1339988077,), (1339988091,), (1339988123,), (1339988130,), (1339988138,), (1339988190,), (1339988194,), (1339988197,), (1339988200,), (1339988203,), (1339988205,), (1339988328,), (1339988330,), (1339988333,), (1339988337,), (1339988341,), (1339988346,), (1339988393,), (1339988400,), (1339988411,), (1339988418,), (1339988581,), (1339988521,), (1339988525,), (1339988534,), (1339988574,), (1339988578,), (1339988790,), (1339988795,), (1339988864,), (1339988875,), (1339988880,), (1339988970,), (1339988975,), (1339988996,), (1339989058,), (1339989119,), (1339989124,), (1339989127,), (1339989131,), (1339989136,), (1339989165,), (1339989168,), (1339989170,), (1339989172,), (1339989307,), (1339989310,), (1339989314,), (1339989319,), (1339989324,), (1339989354,), (1339989360,), (1339989362,), (1339989366,), (1339989368,), (1339989606,), (1339989620,), (1339989623,), (1339989627,), (1339989630,), (1339989790,), (1339989809,), (1339989812,), (1339989816,), (1339989824,), (1339989833,), (1339989856,), (1339989859,), (1339989863,), (1339989866,), (1339989896,), (1339989915,), (1339989917,), (1339989919,), (1339989922,), (1339989927,), (1339989999,), (1339990002,), (1339990020,), (1339990078,), (1339990080,), (1339990082,), (1339990091,), (1339990102,), (1339990104,), (1339990140,), (1339990153,), (1339990161,), (1339990167,), (1339990183,), (1339990200,), (1339990209,), (1339990218,), (1339990262,), (1339990237,), (1339990252,), (1339990257,), (1339990291,), (1339990296,), (1339990303,), (1339990308,), (1339990312,), (1339990340,), (1339990343,), (1339990347,), (1339990350,), (1339990355,), (1339990396,), (1339990401,), (1339990405,), (1339990502,), (1339990744,), (1339990795,), (1339990979,), (1339990989,), (1339990994,), (1339990998,), (1339991032,), (1339991037,), (1339991040,), (1339991047,), (1339991051,), (1339991082,), (1339991086,), (1339991093,), (1339991101,), (1339991105,), (1339991109,), (1339991139,), (1339991143,), (1339991147,), (1339991152,), (1339991157,), (1339991183,), (1339991186,), (1339991190,), (1339991195,), (1339991199,), (1339991221,), (1339991250,), (1339991253,), (1339991256,), (1339991261,), (1339991350,), (1339991358,), (1339991362,), (1339991366,), (1339991371,), (1339991383,), (1339991417,), (1339991419,), (1339991421,), (1339991452,), (1339991453,), (1339991454,), (1339991456,), (1339991458,), (1339991462,), (1339991597,), (1339991605,), (1339991607,), (1339991610,), (1339991647,), (1339991651,), (1339991724,), (1339991725,), (1339991726,), (1339991733,), (1339992177,), (1339992165,), (1339992167,), (1339992169,), (1339992171,), (1339992237,), (1339992246,), (1339992247,), (1339992248,), (1339992251,), (1339992304,), (1339992306,), (1339992308,), (1339992335,), (1339992338,), (1339992344,), (1339992351,), (1339992356,), (1339992378,), (1339992451,), (1339992456,), (1339992458,), (1339992462,), (1339992496,), (1339993237,), (1339993238,), (1339993239,), (1339993537,), (1339993539,), (1339993540,), (1339993547,), (1339993549,), (1339993551,), (1339993857,), (1339993859,), (1339993872,), (1339993874,), (1339993875,), (1339993978,), (1339993988,), (1339993990,), (1339993993,), (1339993995,), (1339994520,), (1339994545,), (1339994550,), (1339994562,), (1339994574,), (1339994915,), (1339994993,), (1339995072,), (1339995129,), (1339995137,), (1339995144,), (1339995174,), (1339995178,), (1339995182,), (1339995187,), (1339995192,), (1339995197,), (1339995229,), (1339995232,), (1339995236,), (1339995246,), (1339995289,), (1339995300,), (1339995308,), (1339995313,), (1339995319,), (1339995327,), (1339995361,), (1339995363,), (1339995366,), (1339995370,), (1339995375,), (1339995463,), (1339995434,), (1339995437,), (1339995443,), (1339995447,), (1339995455,), (1339995484,), (1339995488,), (1339995493,), (1339995556,), (1339995559,), (1339995562,), (1339995590,), (1339995820,), (1339996303,), (1339996396,), (1339996560,), (1339996655,), (1339996997,), (1339997006,), (1339997047,), (1339997142,), (1339997367,), (1339997369,), (1339997372,), (1339997376,), (1339997380,), (1339997386,), (1339997714,), (1339997718,), (1339997721,), (1339997726,), (1339997733,), (1339997749,), (1339997878,), (1339997883,), (1339997885,), (1339997936,), (1339997940,), (1339997943,), (1339997948,), (1339997952,), (1339997957,), (1339998004,), (1339998006,), (1339998008,), (1339998080,), (1339998116,), (1339998118,), (1339998121,), (1339998149,), (1339998150,), (1339998152,), (1339998153,), (1339998155,), (1339998184,), (1339998187,), (1339998189,), (1339998191,), (1339998193,), (1339998242,), (1339998246,), (1339998248,), (1339998297,), (1339998303,), (1339998305,), (1339998308,), (1339998310,), (1339998313,), (1339998839,), (1339998690,), (1339998737,), (1339998808,), (1340000914,), (1340000919,), (1340000926,), (1340001096,), (1340001101,), (1340001107,), (1340001113,), (1340001118,), (1340001124,), (1340001149,), (1340001150,), (1340001202,), (1340001206,), (1340001211,), (1340001215,), (1340001239,), (1340001242,), (1340001247,), (1340001292,), (1340001297,), (1340001301,), (1340001311,), (1340001318,), (1340001359,), (1340001361,), (1340001363,), (1340001366,), (1340001370,), (1340001375,), (1340001398,), (1340001404,), (1340001416,), (1340001421,), (1340001425,), (1340001780,), (1340001872,), (1340001956,), (1340002049,), (1340002154,), (1340002582,), (1340002585,), (1340002593,), (1340002606,), (1340002611,), (1340003098,), (1340003102,), (1340003111,), (1340003120,), (1340003127,), (1340003462,), (1340003455,), (1340003458,), (1340003496,), (1340003500,), (1340003514,), (1340003531,), (1340003536,), (1340003541,), (1340003586,), (1340003594,), (1340003598,), (1340003603,), (1340003608,), (1340003617,), (1340003679,), (1340003682,), (1340004359,), (1340004364,), (1340004370,), (1340004375,), (1340004597,), (1340004679,), (1340004684,), (1340004725,), (1340004746,), (1340004781,), (1340004784,), (1340004788,), (1340004850,), (1340004853,), (1340004856,), (1340004861,), (1340004866,), (1340004892,), (1340004894,), (1340004897,), (1340004946,), (1340004951,), (1340004957,), (1340004991,), (1340004994,), (1340004998,), (1340005003,), (1340005008,), (1340005029,), (1340005033,), (1340005038,), (1340005044,), (1340005052,), (1340005059,), (1340005086,), (1340005092,), (1340005100,), (1340005105,), (1340005131,), (1340005133,), (1340005135,), (1340005140,), (1340005145,), (1340005151,), (1340005183,), (1340005188,), (1340005192,), (1340005245,), (1340005249,), (1340005252,), (1340005259,), (1340005264,), (1340005271,), (1340005327,), (1340005293,), (1340005296,), (1340005299,), (1340005304,), (1340005309,), (1340005383,), (1340005385,), (1340005389,), (1340005413,), (1340005471,), (1340005475,), (1340005479,), (1340005505,), (1340005512,), (1340005519,), (1340005542,), (1340005545,), (1340005758,), (1340006045,), (1340006502,), (1340006505,), (1340006543,), (1340006549,), (1340006554,), (1340006560,), (1340006605,), (1340006609,), (1340006625,), (1340006630,), (1340006646,), (1340006802,), (1340006872,), (1340006953,), (1340007045,), (1340007049,), (1340007053,), (1340007058,), (1340007062,), (1340007068,), (1340007103,), (1340007107,), (1340007111,), (1340007116,), (1340007118,), (1340007122,), (1340007154,), (1340007158,), (1340007160,), (1340007226,), (1340007229,), (1340007246,), (1340007251,), (1340007263,), (1340007286,), (1340007289,), (1340007291,), (1340007295,), (1340008658,), (1340009034,), (1340009037,), (1340009041,), (1340009116,), (1340009127,), (1340009131,), (1340009141,), (1340009146,), (1340009154,), (1340009210,), (1340009306,), (1340009311,), (1340010349,), (1340010351,), (1340010353,), (1340010356,), (1340010358,), (1340010382,), (1340010384,), (1340010386,), (1340010389,), (1340010829,), (1340011154,), (1340011156,), (1340011158,), (1340011160,), (1340011163,), (1340011200,), (1340011209,), (1340011215,), (1340011218,), (1340011221,), (1340011507,), (1340011574,), (1340011677,), (1340012353,), (1340012357,), (1340012360,), (1340012365,), (1340013305,), (1340013310,), (1340013313,), (1340013316,), (1340013319,), (1340013471,), (1340013503,), (1340013520,), (1340013565,), (1340013662,), (1340013846,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27022025': {'nb_upload': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20893370]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309] map_info['map_portfolio_photo'] : {20893370: [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309]} final : True mtd_id 4302 list_pids : [1339982797, 1339982534, 1339982527, 1339982520, 1339982516, 1339982513, 1339982480, 1339982474, 1339982469, 1339982466, 1339982442, 1339982438, 1339982433, 1339982430, 1339982425, 1339982236, 1339982233, 1339982231, 1339982227, 1339982224, 1339982097, 1339981794, 1339981722, 1339981720, 1339981718, 1339981715, 1339981713, 1339981711, 1339981688, 1339981685, 1339981681, 1339981678, 1339981675, 1339981646, 1339981638, 1339981426, 1339981391, 1339981352, 1339981311, 1339981309] Looping around the photos to save general results len do output : 1 /20893370Didn'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, '2622220') ('4302', '20893370', '1339982797', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982534', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982527', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982520', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982516', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982513', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982480', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982474', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982469', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982466', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982442', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982438', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982433', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982430', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982425', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982236', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982233', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982231', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982227', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982224', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339982097', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981794', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981722', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981720', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981718', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981715', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981713', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981711', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981688', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981685', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981681', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981678', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981675', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981646', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981638', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981426', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981391', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981352', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981311', None, None, None, None, None, '2622220') ('4302', None, None, None, None, None, None, None, '2622220') ('4302', '20893370', '1339981309', None, None, None, None, None, '2622220') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '20893370', 'None', None, None, None, None, '2622220'), ('4302', '20893370', '1339982797', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982534', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982527', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982520', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982516', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982513', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982480', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982474', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982469', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982466', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982442', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982438', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982433', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982430', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982425', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982236', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982233', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982231', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982227', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982224', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339982097', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981794', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981722', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981720', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981718', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981715', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981713', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981711', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981688', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981685', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981681', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981678', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981675', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981646', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981638', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981426', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981391', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981352', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981311', None, None, None, None, None, '2622220'), ('4302', '20893370', '1339981309', None, None, None, None, None, '2622220')] time used for this insertion : 0.021292448043823242 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.54581880569458 time spend to save output : 0.021584033966064453 total time spend for step 5 : 3.5674028396606445 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 (2622220) 3.45user 2.47system 0:21.41elapsed 27%CPU (0avgtext+0avgdata 169332maxresident)k 576inputs+35648outputs (2major+90980minor)pagefaults 0swaps