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 : 2305322 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 (2755675) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2755675) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354290 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2755675'] with mtr_portfolio_ids : ['22354290'] and first list_photo_ids : [] new path : /proc/2305322/ Name: python3 Umask: 0002 State: R (running) Tgid: 2305322 Ngid: 0 Pid: 2305322 PPid: 2305320 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2305322 NSpid: 2305322 NSpgid: 2304192 NSsid: 2304192 VmPeak: 1106936 kB VmSize: 1106936 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99960 kB VmRSS: 99960 kB RssAnon: 59804 kB RssFile: 40156 kB RssShmem: 0 kB VmData: 865684 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 556 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 48 nonvoluntary_ctxt_switches: 112 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2305322', 'Ngid': '0', 'Pid': '2305322', 'PPid': '2305320', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2305322', 'NSpid': '2305322', 'NSpgid': '2304192', 'NSsid': '2304192', 'VmPeak': '1106936 kB', 'VmSize': '1106936 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99960 kB', 'VmRSS': '99960 kB', 'RssAnon': '59804 kB', 'RssFile': '40156 kB', 'RssShmem': '0 kB', 'VmData': '865684 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '556 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '48', 'nonvoluntary_ctxt_switches': '112'} ('datou_batch_current', '2305322', '1106936', '0', '1106936', '865684', '99960', b'', 'marlene', '2755675') 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 (22354290) 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 (2755675 ) ) 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 (22354290) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1353119758, 'portfolio_id': 22354290}, {'photo_id': 1353119676, 'portfolio_id': 22354290}, {'photo_id': 1353119670, 'portfolio_id': 22354290}, {'photo_id': 1353119664, 'portfolio_id': 22354290}, {'photo_id': 1353119662, 'portfolio_id': 22354290}, {'photo_id': 1353119642, 'portfolio_id': 22354290}, {'photo_id': 1353119604, 'portfolio_id': 22354290}, {'photo_id': 1353119601, 'portfolio_id': 22354290}, {'photo_id': 1353119597, 'portfolio_id': 22354290}, {'photo_id': 1353119594, 'portfolio_id': 22354290}, {'photo_id': 1353119527, 'portfolio_id': 22354290}, {'photo_id': 1353119524, 'portfolio_id': 22354290}, {'photo_id': 1353119521, 'portfolio_id': 22354290}, {'photo_id': 1353119495, 'portfolio_id': 22354290}, {'photo_id': 1353119464, 'portfolio_id': 22354290}, {'photo_id': 1353119349, 'portfolio_id': 22354290}, {'photo_id': 1353119309, 'portfolio_id': 22354290}, {'photo_id': 1353119274, 'portfolio_id': 22354290}, {'photo_id': 1353119247, 'portfolio_id': 22354290}, {'photo_id': 1353119244, 'portfolio_id': 22354290}, {'photo_id': 1353119234, 'portfolio_id': 22354290}, {'photo_id': 1353119023, 'portfolio_id': 22354290}, {'photo_id': 1353118971, 'portfolio_id': 22354290}, {'photo_id': 1353118966, 'portfolio_id': 22354290}, {'photo_id': 1353118963, 'portfolio_id': 22354290}, {'photo_id': 1353118958, 'portfolio_id': 22354290}, {'photo_id': 1353118955, 'portfolio_id': 22354290}, {'photo_id': 1353118878, 'portfolio_id': 22354290}, {'photo_id': 1353118876, 'portfolio_id': 22354290}, {'photo_id': 1353118873, 'portfolio_id': 22354290}, {'photo_id': 1353118813, 'portfolio_id': 22354290}, {'photo_id': 1353118804, 'portfolio_id': 22354290}, {'photo_id': 1353118535, 'portfolio_id': 22354290}] map_portfolio_id_photo_id: {22354290: [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535]} ##### 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.019261598587036133 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Apr 24 05:51:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22354290) 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 : 22354290 get user id for portfolio 22354290 get sub ptf for main ptf 22354290, type 3726 and hashtags ['autre_refus', 'kraft', 'metal', 'mal_croppe', 'papier', 'cartonnette', 'Carton_brun', 'flou', 'environnement', 'plastique', 'Carton_gris', 'Teint_Dans_La_Masse'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22354290 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','kraft','metal','mal_croppe','papier','cartonnette','Carton_brun','flou','environnement','plastique','Carton_gris','Teint_Dans_La_Masse')) 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`=22354290 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','kraft','metal','mal_croppe','papier','cartonnette','Carton_brun','flou','environnement','plastique','Carton_gris','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 22354290, 'sub_port_id': 22354308, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809402, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}, 'Carton_brun': {'main_port_id': 22354290, 'sub_port_id': 22354309, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809403, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}, 'papier': {'main_port_id': 22354290, 'sub_port_id': 22354310, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809404, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}, 'plastique': {'main_port_id': 22354290, 'sub_port_id': 22354311, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809405, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}, 'flou': {'main_port_id': 22354290, 'sub_port_id': 22354312, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809406, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}, 'mal_croppe': {'main_port_id': 22354290, 'sub_port_id': 22354313, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809407, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}, 'environnement': {'main_port_id': 22354290, 'sub_port_id': 22354314, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809408, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}, 'cartonnette': {'main_port_id': 22354290, 'sub_port_id': 22354315, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809409, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}, 'Carton_gris': {'main_port_id': 22354290, 'sub_port_id': 22354316, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809410, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 22354290, 'sub_port_id': 22354317, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809411, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}, 'metal': {'main_port_id': 22354290, 'sub_port_id': 22354318, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809412, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}, 'kraft': {'main_port_id': 22354290, 'sub_port_id': 22354319, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809413, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22354308 , 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=22354290 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 (22354308) result : ((1353119556,), (1353119707,), (1353119871,), (1353120098,), (1353120099,), (1353121058,), (1353132111,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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 22354309 , 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=22354290 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 (22354309) result : ((1353119027,), (1353119565,), (1353119566,), (1353119567,), (1353119568,), (1353119569,), (1353119570,), (1353119615,), (1353119708,), (1353119709,), (1353119873,), (1353119874,), (1353120105,), (1353120106,), (1353121081,), (1353132123,), (1353132124,), (1353132125,), (1353132126,), (1353132127,), (1353132128,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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 22354310 , 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=22354290 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 (22354310) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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 22354311 , 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=22354290 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 (22354311) result : ((1353119572,), (1353119573,), (1353120108,), (1353132130,), (1353132131,), (1353132132,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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 22354312 , 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=22354290 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 (22354312) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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 22354313 , 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=22354290 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 (22354313) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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 22354314 , 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=22354290 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 (22354314) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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 22354315 , 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=22354290 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 (22354315) result : ((1353119229,), (1353119563,), (1353120104,), (1353121073,), (1353121074,), (1353132121,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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 22354316 , 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=22354290 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 (22354316) result : ((1353119020,), (1353119021,), (1353119560,), (1353119561,), (1353119562,), (1353119872,), (1353120100,), (1353120101,), (1353120102,), (1353121065,), (1353132116,), (1353132117,), (1353132118,), (1353132119,), (1353132120,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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 22354317 , 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=22354290 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 (22354317) result : ((1353119221,), (1353119551,), (1353119552,), (1353119553,), (1353119554,), (1353119614,), (1353119706,), (1353119869,), (1353120096,), (1353120097,), (1353132103,), (1353132104,), (1353132105,), (1353132106,), (1353132107,), (1353132108,), (1353132109,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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 22354318 , 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=22354290 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 (22354318) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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 22354319 , 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=22354290 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 (22354319) result : ((1353119710,), (1353119711,), (1353120109,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22354290) result : ((1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,)) 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`=22354290 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','kraft','metal','mal_croppe','papier','cartonnette','Carton_brun','flou','environnement','plastique','Carton_gris','Teint_Dans_La_Masse')) 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`=22354290 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','kraft','metal','mal_croppe','papier','cartonnette','Carton_brun','flou','environnement','plastique','Carton_gris','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 22354290, 'sub_port_id': 22354320, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809414, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}, 'Carton_brun': {'main_port_id': 22354290, 'sub_port_id': 22354321, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809415, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}, 'papier': {'main_port_id': 22354290, 'sub_port_id': 22354322, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809416, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}, 'plastique': {'main_port_id': 22354290, 'sub_port_id': 22354323, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809417, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}, 'flou': {'main_port_id': 22354290, 'sub_port_id': 22354324, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809418, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}, 'mal_croppe': {'main_port_id': 22354290, 'sub_port_id': 22354325, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809419, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}, 'environnement': {'main_port_id': 22354290, 'sub_port_id': 22354326, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809420, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}, 'cartonnette': {'main_port_id': 22354290, 'sub_port_id': 22354327, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809421, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}, 'Carton_gris': {'main_port_id': 22354290, 'sub_port_id': 22354328, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809422, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22354290, 'sub_port_id': 22354329, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809423, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}, 'metal': {'main_port_id': 22354290, 'sub_port_id': 22354330, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809424, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}, 'kraft': {'main_port_id': 22354290, 'sub_port_id': 22354331, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14809425, 'last_updated_at': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 23, 18, 46, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 23, 18, 42, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354320,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354308 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354321,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354309 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354322,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354310 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354323,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354311 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354324,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354312 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354325,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354313 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354326,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354314 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354327,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354315 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354328,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354316 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354329,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354317 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354330,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354318 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22354331,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22354319 lien utilise dans velours : https://www.fotonower.com/velours/22354320,22354321,22354322,22354323,22354324,22354325,22354326,22354327,22354328,22354329,22354330,22354331?tags=autre_refus,Carton_brun,papier,plastique,flou,mal_croppe,environnement,cartonnette,Carton_gris,Teint_Dans_La_Masse,metal,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22354290]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535] map_info['map_portfolio_photo'] : {22354290: [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535]} final : False mtd_id 4302 list_pids : [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535] Looping around the photos to save general results len do output : 1 /22354290. 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, '2755675') ('4302', '22354290', '1353119758', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119676', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119670', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119664', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119662', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119642', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119604', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119601', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119597', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119594', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119527', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119524', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119521', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119495', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119464', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119349', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119309', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119274', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119247', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119244', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119234', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119023', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118971', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118966', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118963', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118958', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118955', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118878', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118876', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118873', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118813', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118804', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118535', None, None, None, None, None, '2755675') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '22354290', "{'autre_refus': 22354308, 'Carton_brun': 22354309, 'papier': 22354310, 'plastique': 22354311, 'flou': 22354312, 'mal_croppe': 22354313, 'environnement': 22354314, 'cartonnette': 22354315, 'Carton_gris': 22354316, 'Teint_Dans_La_Masse': 22354317, 'metal': 22354318, 'kraft': 22354319}", None, None, None, None, '2755675'), ('4302', '22354290', '1353119758', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119676', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119670', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119664', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119662', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119642', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119604', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119601', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119597', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119594', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119527', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119524', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119521', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119495', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119464', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119349', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119309', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119274', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119247', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119244', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119234', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119023', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118971', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118966', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118963', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118958', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118955', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118878', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118876', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118873', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118813', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118804', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118535', None, None, None, None, None, '2755675')] time used for this insertion : 0.019611120223999023 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5318143367767334 time spend to save output : 0.020084619522094727 total time spend for step 1 : 1.5518989562988281 step2:final Thu Apr 24 05:51:30 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 (22354290) 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 22354290 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1353118813,1353118535,1353118804,1353118878,1353118876,1353118873,1353119023,1353118971,1353118966,1353118963,1353118958,1353118955,1353119349,1353119309,1353119274,1353119247,1353119244,1353119234,1353119527,1353119524,1353119521,1353119495,1353119464,1353119604,1353119601,1353119597,1353119594,1353119676,1353119670,1353119664,1353119662,1353119642,1353119758); 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([22354290]) Inside saveOutput : final : False verbose : True original output for save of step final : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} new output for save of step final : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535] map_info['map_portfolio_photo'] : {22354290: [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535]} final : False mtd_id 4302 list_pids : [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535] Looping around the photos to save general results len do output : 33 /1353119758.Didn't retrieve data . /1353119676.Didn't retrieve data . /1353119670.Didn't retrieve data . /1353119664.Didn't retrieve data . /1353119662.Didn't retrieve data . /1353119642.Didn't retrieve data . /1353119604.Didn't retrieve data . /1353119601.Didn't retrieve data . /1353119597.Didn't retrieve data . /1353119594.Didn't retrieve data . /1353119527.Didn't retrieve data . /1353119524.Didn't retrieve data . /1353119521.Didn't retrieve data . /1353119495.Didn't retrieve data . /1353119464.Didn't retrieve data . /1353119349.Didn't retrieve data . /1353119309.Didn't retrieve data . /1353119274.Didn't retrieve data . /1353119247.Didn't retrieve data . /1353119244.Didn't retrieve data . /1353119234.Didn't retrieve data . /1353119023.Didn't retrieve data . /1353118971.Didn't retrieve data . /1353118966.Didn't retrieve data . /1353118963.Didn't retrieve data . /1353118958.Didn't retrieve data . /1353118955.Didn't retrieve data . /1353118878.Didn't retrieve data . /1353118876.Didn't retrieve data . /1353118873.Didn't retrieve data . /1353118813.Didn't retrieve data . /1353118804.Didn't retrieve data . /1353118535.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, '2755675') ('4302', '22354290', '1353119758', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119676', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119670', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119664', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119662', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119642', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119604', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119601', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119597', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119594', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119527', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119524', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119521', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119495', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119464', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119349', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119309', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119274', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119247', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119244', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119234', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119023', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118971', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118966', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118963', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118958', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118955', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118878', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118876', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118873', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118813', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118804', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118535', None, None, None, None, None, '2755675') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 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', '22354290', '1353119758', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119676', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119670', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119664', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119662', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119642', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119604', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119601', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119597', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119594', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119527', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119524', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119521', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119495', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119464', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119349', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119309', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119274', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119247', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119244', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119234', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353119023', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353118971', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353118966', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353118963', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353118958', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353118955', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353118878', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353118876', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353118873', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353118813', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353118804', '0.06629720588488802', None, None, None, None, '2755675'), ('4302', '22354290', '1353118535', '0.06629720588488802', None, None, None, None, '2755675')] time used for this insertion : 0.019663095474243164 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0665433406829834 time spend to save output : 0.020985841751098633 total time spend for step 2 : 0.08752918243408203 step3:velours_tree Thu Apr 24 05:51:30 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 : {22354290: [{'autre_refus': 22354308, 'Carton_brun': 22354309, 'papier': 22354310, 'plastique': 22354311, 'flou': 22354312, 'mal_croppe': 22354313, 'environnement': 22354314, 'cartonnette': 22354315, 'Carton_gris': 22354316, 'Teint_Dans_La_Masse': 22354317, 'metal': 22354318, 'kraft': 22354319}]} input_args_next_step : {22354290: ()} output_args : {22354290: [{'autre_refus': 22354308, 'Carton_brun': 22354309, 'papier': 22354310, 'plastique': 22354311, 'flou': 22354312, 'mal_croppe': 22354313, 'environnement': 22354314, 'cartonnette': 22354315, 'Carton_gris': 22354316, 'Teint_Dans_La_Masse': 22354317, 'metal': 22354318, 'kraft': 22354319}]} args : 22354290 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 : ({'autre_refus': 22354308, 'Carton_brun': 22354309, 'papier': 22354310, 'plastique': 22354311, 'flou': 22354312, 'mal_croppe': 22354313, 'environnement': 22354314, 'cartonnette': 22354315, 'Carton_gris': 22354316, 'Teint_Dans_La_Masse': 22354317, 'metal': 22354318, 'kraft': 22354319},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22354290) 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([22354290]) 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.29276108741760254 time spend to save output : 4.124641418457031e-05 total time spend for step 3 : 0.2928023338317871 step4:send_mail_cod Thu Apr 24 05:51:30 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 : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} input_args_next_step : {1353119758: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119758 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119676 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119670 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119664 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119662 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119642 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119604 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119601 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119597 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119594 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119527 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119524 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119521 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119495 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119464 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119349 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119309 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119274 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119247 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119244 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119234 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353119023 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353118971 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353118966 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353118963 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353118958 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353118955 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353118878 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353118876 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353118873 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353118813 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353118804 depend.output_id : 0 input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ()} output_args : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',)} args : 1353118535 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 : {22354290: [{'autre_refus': 22354308, 'Carton_brun': 22354309, 'papier': 22354310, 'plastique': 22354311, 'flou': 22354312, 'mal_croppe': 22354313, 'environnement': 22354314, 'cartonnette': 22354315, 'Carton_gris': 22354316, 'Teint_Dans_La_Masse': 22354317, 'metal': 22354318, 'kraft': 22354319}]} input_args_next_step : {1353119758: ('0.06629720588488802',), 1353119676: ('0.06629720588488802',), 1353119670: ('0.06629720588488802',), 1353119664: ('0.06629720588488802',), 1353119662: ('0.06629720588488802',), 1353119642: ('0.06629720588488802',), 1353119604: ('0.06629720588488802',), 1353119601: ('0.06629720588488802',), 1353119597: ('0.06629720588488802',), 1353119594: ('0.06629720588488802',), 1353119527: ('0.06629720588488802',), 1353119524: ('0.06629720588488802',), 1353119521: ('0.06629720588488802',), 1353119495: ('0.06629720588488802',), 1353119464: ('0.06629720588488802',), 1353119349: ('0.06629720588488802',), 1353119309: ('0.06629720588488802',), 1353119274: ('0.06629720588488802',), 1353119247: ('0.06629720588488802',), 1353119244: ('0.06629720588488802',), 1353119234: ('0.06629720588488802',), 1353119023: ('0.06629720588488802',), 1353118971: ('0.06629720588488802',), 1353118966: ('0.06629720588488802',), 1353118963: ('0.06629720588488802',), 1353118958: ('0.06629720588488802',), 1353118955: ('0.06629720588488802',), 1353118878: ('0.06629720588488802',), 1353118876: ('0.06629720588488802',), 1353118873: ('0.06629720588488802',), 1353118813: ('0.06629720588488802',), 1353118804: ('0.06629720588488802',), 1353118535: ('0.06629720588488802',), 22354290: ()} output_args : {22354290: [{'autre_refus': 22354308, 'Carton_brun': 22354309, 'papier': 22354310, 'plastique': 22354311, 'flou': 22354312, 'mal_croppe': 22354313, 'environnement': 22354314, 'cartonnette': 22354315, 'Carton_gris': 22354316, 'Teint_Dans_La_Masse': 22354317, 'metal': 22354318, 'kraft': 22354319}]} args : 22354290 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 :34, first value : ('0.06629720588488802',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22354290) 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 (1353119758,1353119676,1353119670,1353119664,1353119662,1353119642,1353119604,1353119601,1353119597,1353119594,1353119527,1353119524,1353119521,1353119495,1353119464,1353119349,1353119309,1353119274,1353119247,1353119244,1353119234,1353119023,1353118971,1353118966,1353118963,1353118958,1353118955,1353118878,1353118876,1353118873,1353118813,1353118804,1353118535) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1353118535 begin to download photo : 1353118958 begin to download photo : 1353119247 begin to download photo : 1353119524 begin to download photo : 1353119662 download finish for photo 1353119662 begin to download photo : 1353119664 download finish for photo 1353119524 begin to download photo : 1353119527 download finish for photo 1353118535 begin to download photo : 1353118804 download finish for photo 1353119247 begin to download photo : 1353119274 download finish for photo 1353118958 begin to download photo : 1353118963 download finish for photo 1353119664 begin to download photo : 1353119670 download finish for photo 1353119527 begin to download photo : 1353119594 download finish for photo 1353118804 begin to download photo : 1353118813 download finish for photo 1353119274 begin to download photo : 1353119309 download finish for photo 1353118963 begin to download photo : 1353118966 download finish for photo 1353119594 begin to download photo : 1353119597 download finish for photo 1353119670 begin to download photo : 1353119676 download finish for photo 1353118813 begin to download photo : 1353118873 download finish for photo 1353118966 begin to download photo : 1353118971 download finish for photo 1353119309 begin to download photo : 1353119349 download finish for photo 1353119676 begin to download photo : 1353119758 download finish for photo 1353119597 begin to download photo : 1353119601 download finish for photo 1353118873 begin to download photo : 1353118876 download finish for photo 1353118971 begin to download photo : 1353119023 download finish for photo 1353119349 begin to download photo : 1353119464 download finish for photo 1353119758 download finish for photo 1353119601 begin to download photo : 1353119604 download finish for photo 1353118876 begin to download photo : 1353118878 download finish for photo 1353119023 begin to download photo : 1353119234 download finish for photo 1353119604 begin to download photo : 1353119642 download finish for photo 1353119464 begin to download photo : 1353119495 download finish for photo 1353119234 begin to download photo : 1353119244 download finish for photo 1353119642 download finish for photo 1353118878 begin to download photo : 1353118955 download finish for photo 1353119495 begin to download photo : 1353119521 download finish for photo 1353119244 download finish for photo 1353118955 download finish for photo 1353119521 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P22354290_24-04-2025_05_51_31.pdf 22354308 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=22354308 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353119556: '1745426592_213670_1353118971_a27b0ea30d14dc93b92ca85ae8c0a430_rle_crop_3765957171_0.png', 1353119707: '1745426714_214688_1353119594_59b6f5f7adcf1527fb787f2a2042cf24_rle_crop_3765958922_0.png', 1353119871: '1745426771_215523_1353119604_b791b74b16bfda5f384fd7bb61f51458_rle_crop_3765959302_0.png', 1353120098: '1745426832_216123_1353119274_48108932033cb84b610f839a62702a5c_rle_crop_3765959805_0.png', 1353120099: '1745426832_216123_1353119247_a0eb962f005edff6e813b4898d8dae07_rle_crop_3765959817_0.png', 1353121058: '1745427422_221751_1353119662_c4edfedaa35aa2cf85cacf3fad76d459_rle_crop_3765980146_0.png', 1353132111: '1745429111_239488_1353118971_a27b0ea30d14dc93b92ca85ae8c0a430_rle_crop_3765957171_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36a7496886ed9f592809e200703712f5_21002620.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/11c0c244d75c7e99ea3243d30ff4d1da_99442574.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6407e53e1f1dc4ed917269e98e9e277_84770154.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c81f067d37fe7762a635772e7967dda_25225731.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/756b2eae9a8c25b1f95584dff4fef239_88945919.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4b4af7ffad6ba2a146b384e655160b4_2923596.png change filename to text .imagette223543081745466691/ imagette223543081745466691/1745429111_239488_1353118971_a27b0ea30d14dc93b92ca85ae8c0a430_rle_crop_3765957171_0.png.png imagette223543081745466691/1745426714_214688_1353119594_59b6f5f7adcf1527fb787f2a2042cf24_rle_crop_3765958922_0.png.png imagette223543081745466691/1745426832_216123_1353119274_48108932033cb84b610f839a62702a5c_rle_crop_3765959805_0.png.png imagette223543081745466691/1745426771_215523_1353119604_b791b74b16bfda5f384fd7bb61f51458_rle_crop_3765959302_0.png.png imagette223543081745466691/1745426592_213670_1353118971_a27b0ea30d14dc93b92ca85ae8c0a430_rle_crop_3765957171_0.png.png imagette223543081745466691/1745426832_216123_1353119247_a0eb962f005edff6e813b4898d8dae07_rle_crop_3765959817_0.png.png imagette223543081745466691/1745427422_221751_1353119662_c4edfedaa35aa2cf85cacf3fad76d459_rle_crop_3765980146_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36a7496886ed9f592809e200703712f5_88461031.png imagette223543081745466691 22354311 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=22354311 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353119572: '1745426592_213670_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957198_0.png', 1353119573: '1745426592_213670_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957751_0.png', 1353120108: '1745426832_216123_1353119309_7335b2cdad8aac595a2f7b45414c6405_rle_crop_3765959726_0.png', 1353132130: '1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030220_0.png', 1353132131: '1745429111_239488_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957198_0.png', 1353132132: '1745429111_239488_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957751_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a9ced8d6694bf38f6f2b7b94c5af85a_97864487.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44a64a258f8f59281a7f52672ad08534_18840783.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b28a59639daf1a01069b3ab5af70fc2_69397887.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/435ed6e33507e42a14a299c4747719c1_34587524.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a9ced8d6694bf38f6f2b7b94c5af85a_70651.png change filename to text .imagette223543111745466692/ imagette223543111745466692/1745426592_213670_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957751_0.png.png imagette223543111745466692/1745429111_239488_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957198_0.png.png imagette223543111745466692/1745429111_239488_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957751_0.png.png imagette223543111745466692/1745426592_213670_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957198_0.png.png imagette223543111745466692/1745426832_216123_1353119309_7335b2cdad8aac595a2f7b45414c6405_rle_crop_3765959726_0.png.png imagette223543111745466692/1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030220_0.png.png imagette223543121745466693/ imagette223543131745466693/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44a64a258f8f59281a7f52672ad08534_59599189.png imagette223543111745466692 22354312 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=22354312 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223543121745466693 22354313 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=22354313 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223543131745466693 22354315 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=22354315 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353119229: '1745426503_2999478_1353118804_40c3b28111b980601ce3dd437c1e19c6_rle_crop_3765955788_0.png', 1353119563: '1745426592_213670_1353118971_a27b0ea30d14dc93b92ca85ae8c0a430_rle_crop_3765957174_0.png', 1353120104: '1745426832_216123_1353119247_a0eb962f005edff6e813b4898d8dae07_rle_crop_3765959818_0.png', 1353121073: '1745427422_221751_1353119664_a50c1e0d1062f022045f783ea3c34231_rle_crop_3765980138_0.png', 1353121074: '1745427422_221751_1353119662_c4edfedaa35aa2cf85cacf3fad76d459_rle_crop_3765980153_0.png', 1353132121: '1745429111_239488_1353118971_a27b0ea30d14dc93b92ca85ae8c0a430_rle_crop_3765957174_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ba6cd7401184ebc98c88c50cfc814a6_93131517.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a087a42a0fb787ad770521b149fc2aca_85893599.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1ce518bf97acd99d2112dea46051efe4_54265061.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/edfb5757094b45eb586699b7ed58eab8_83514311.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/465e2182482f589a3e9e983a7e727ddc_83050886.png change filename to text .imagette223543151745466693/ imagette223543151745466693/1745427422_221751_1353119664_a50c1e0d1062f022045f783ea3c34231_rle_crop_3765980138_0.png.png imagette223543151745466693/1745429111_239488_1353118971_a27b0ea30d14dc93b92ca85ae8c0a430_rle_crop_3765957174_0.png.png imagette223543151745466693/1745426832_216123_1353119247_a0eb962f005edff6e813b4898d8dae07_rle_crop_3765959818_0.png.png imagette223543151745466693/1745427422_221751_1353119662_c4edfedaa35aa2cf85cacf3fad76d459_rle_crop_3765980153_0.png.png imagette223543151745466693/1745426503_2999478_1353118804_40c3b28111b980601ce3dd437c1e19c6_rle_crop_3765955788_0.png.png imagette223543151745466693/1745426592_213670_1353118971_a27b0ea30d14dc93b92ca85ae8c0a430_rle_crop_3765957174_0.png.png imagette223543181745466693/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a087a42a0fb787ad770521b149fc2aca_66648122.png imagette223543151745466693 22354318 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=22354318 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223543181745466693 22354319 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=22354319 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353119710: '1745426714_214688_1353119601_d35764c17a86d9854f233537fffb91de_rle_crop_3765958828_0.png', 1353119711: '1745426714_214688_1353119601_d35764c17a86d9854f233537fffb91de_rle_crop_3765958821_0.png', 1353120109: '1745426832_216123_1353119309_7335b2cdad8aac595a2f7b45414c6405_rle_crop_3765959718_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06b3e88b69f8e0ebbb44d0eee0cc9346_42827464.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6be88397bb366c75991e6bfd0fdec9da_16193217.png change filename to text .imagette223543191745466693/ imagette223543191745466693/1745426714_214688_1353119601_d35764c17a86d9854f233537fffb91de_rle_crop_3765958821_0.png.png imagette223543191745466693/1745426832_216123_1353119309_7335b2cdad8aac595a2f7b45414c6405_rle_crop_3765959718_0.png.png imagette223543191745466693/1745426714_214688_1353119601_d35764c17a86d9854f233537fffb91de_rle_crop_3765958828_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de164924cfdb97f9e146374747e79df3_91450682.png imagette223543191745466693 22354309 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=22354309 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353119873: '1745426771_215523_1353119495_0f7e6a6d7ed4af47b94fcc0921691727_rle_crop_3765959322_0.png', 1353132128: '1745429111_239488_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957818_0.png', 1353132127: '1745429111_239488_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957761_0.png', 1353132126: '1745429111_239488_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957757_0.png', 1353132125: '1745429111_239488_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957200_0.png', 1353132124: '1745429111_239488_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957201_0.png', 1353132123: '1745429111_239488_1353118971_a27b0ea30d14dc93b92ca85ae8c0a430_rle_crop_3765957173_0.png', 1353121081: '1745427422_221751_1353119642_83bea11434edfd8f79ab04a436528ef8_rle_crop_3765980164_0.png', 1353120106: '1745426832_216123_1353119247_a0eb962f005edff6e813b4898d8dae07_rle_crop_3765959827_0.png', 1353120105: '1745426832_216123_1353119527_ad07eefc64124d9598ff3841fd23d64d_rle_crop_3765959706_0.png', 1353119874: '1745426771_215523_1353119464_31252942a5b239e75147f4eb112df8fd_rle_crop_3765959334_0.png', 1353119027: '1745426472_212747_1353118873_ed050c7fc0b042580c82af65e78e8792_rle_crop_3765955552_0.png', 1353119709: '1745426714_214688_1353119594_59b6f5f7adcf1527fb787f2a2042cf24_rle_crop_3765958923_0.png', 1353119708: '1745426714_214688_1353119601_d35764c17a86d9854f233537fffb91de_rle_crop_3765958826_0.png', 1353119615: '1745426652_214120_1353119023_f1f3a5539e90dec303f46e01e761bd2d_rle_crop_3765957945_0.png', 1353119570: '1745426592_213670_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957818_0.png', 1353119569: '1745426592_213670_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957761_0.png', 1353119568: '1745426592_213670_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957757_0.png', 1353119567: '1745426592_213670_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957200_0.png', 1353119566: '1745426592_213670_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957201_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f5ad04fc5a83d6ea9aa8fd270ff9364_31460741.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24b23267cc2c5f99d866116cbf2a4a0e_3622660.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f4c604f30f570c8156322950c8da307_18255534.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6464011819224999eeaa86e7545aea5e_85223793.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17ea250e556cec564677afdae64cf759_84971751.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c552cdc4e15470cff9e3244245fcf243_64836500.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1078c063ea2c15977d5a6d0049a09139_13279623.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b60adb86ece0b1826a5de45308f1bc24_40697619.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17797dfe5b9b4b84f6118432bca00e5d_91012910.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a90a701a5bc1f076a54c0d55aa7c412_22542194.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d5cc94ddc1bf7aa2ca5b176e8263074_29137534.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2405835f5115765f9236d7ffc7cd44f4_74958406.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87b0010801a0ac2c0e478506973d6050_39702987.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7df714081df43fea78fd517f0e3e1ee1_31318812.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09da8d167af8c2ff4f403fe39d3c50f4_69677808.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24b23267cc2c5f99d866116cbf2a4a0e_76123670.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f4c604f30f570c8156322950c8da307_23934025.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6464011819224999eeaa86e7545aea5e_33513836.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17ea250e556cec564677afdae64cf759_90277328.png change filename to text .imagette223543091745466694/ imagette223543091745466694/1745426714_214688_1353119594_59b6f5f7adcf1527fb787f2a2042cf24_rle_crop_3765958923_0.png.png imagette223543091745466694/1745426652_214120_1353119023_f1f3a5539e90dec303f46e01e761bd2d_rle_crop_3765957945_0.png.png imagette223543091745466694/1745426832_216123_1353119247_a0eb962f005edff6e813b4898d8dae07_rle_crop_3765959827_0.png.png imagette223543091745466694/1745426714_214688_1353119601_d35764c17a86d9854f233537fffb91de_rle_crop_3765958826_0.png.png imagette223543091745466694/1745426592_213670_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957761_0.png.png imagette223543091745466694/1745426592_213670_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957200_0.png.png imagette223543091745466694/1745426592_213670_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957757_0.png.png imagette223543091745466694/1745426832_216123_1353119527_ad07eefc64124d9598ff3841fd23d64d_rle_crop_3765959706_0.png.png imagette223543091745466694/1745426472_212747_1353118873_ed050c7fc0b042580c82af65e78e8792_rle_crop_3765955552_0.png.png imagette223543091745466694/1745429111_239488_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957201_0.png.png imagette223543091745466694/1745426592_213670_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957201_0.png.png imagette223543091745466694/1745426592_213670_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957818_0.png.png imagette223543091745466694/1745429111_239488_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957757_0.png.png imagette223543091745466694/1745426771_215523_1353119464_31252942a5b239e75147f4eb112df8fd_rle_crop_3765959334_0.png.png imagette223543091745466694/1745426771_215523_1353119495_0f7e6a6d7ed4af47b94fcc0921691727_rle_crop_3765959322_0.png.png imagette223543091745466694/1745429111_239488_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957761_0.png.png imagette223543091745466694/1745429111_239488_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957818_0.png.png imagette223543091745466694/1745427422_221751_1353119642_83bea11434edfd8f79ab04a436528ef8_rle_crop_3765980164_0.png.png imagette223543091745466694/1745429111_239488_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2_rle_crop_3765957200_0.png.png imagette223543091745466694/1745429111_239488_1353118971_a27b0ea30d14dc93b92ca85ae8c0a430_rle_crop_3765957173_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c552cdc4e15470cff9e3244245fcf243_86277322.png imagette223543091745466694 22354316 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=22354316 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353119020: '1745426472_212747_1353118873_ed050c7fc0b042580c82af65e78e8792_rle_crop_3765955550_0.png', 1353119021: '1745426472_212747_1353118873_ed050c7fc0b042580c82af65e78e8792_rle_crop_3765955551_0.png', 1353119560: '1745426592_213670_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957759_0.png', 1353119561: '1745426592_213670_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957817_0.png', 1353119562: '1745426592_213670_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957811_0.png', 1353119872: '1745426771_215523_1353119495_0f7e6a6d7ed4af47b94fcc0921691727_rle_crop_3765959323_0.png', 1353120100: '1745426832_216123_1353119527_ad07eefc64124d9598ff3841fd23d64d_rle_crop_3765959703_0.png', 1353120101: '1745426832_216123_1353119244_d739ba9339e33c26aad3ebb4ecf690e3_rle_crop_3765959837_0.png', 1353120102: '1745426832_216123_1353119234_d9bd3b96fb560a4836578323af974dde_rle_crop_3765959858_0.png', 1353121065: '1745427422_221751_1353119670_80e1cbb42ff84332db4de5364e63d553_rle_crop_3765980125_0.png', 1353132116: '1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030226_0.png', 1353132117: '1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030219_0.png', 1353132118: '1745429111_239488_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957759_0.png', 1353132119: '1745429111_239488_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957817_0.png', 1353132120: '1745429111_239488_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957811_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43f2e5f804b4d6b12299a3c4ad7f8900_97304583.png change filename to text -- Missing : http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/feec4ddcc3d7a3e0d43cfb15eddd678e_25284184.png retrying : [Errno 104] Connection reset by peer change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f84e8e9e3367d7279f6d207217379cf_56165626.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ba234f67589d2dc9a26de2d4844fb89_18955729.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/981321df863d3c0841d552d4d5bc02b8_35315017.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6323bbd1e0a8d98939d9bdf8aaf933b_34270828.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/346855105186a2482053578fc4f4f1d4_35062462.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d6bbdd3c40e4f3aa79d0214dc29ebfb_85250820.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10e515d957e6b738b798a6b71ca5c1fa_62579927.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ce8f7de41c348f196dc8f7a356cb3be_78422895.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d28d9d31283a3551e4b70cd0ae51106_40953600.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/029dc5bbefa47f92faa883325afec44b_62037222.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f84e8e9e3367d7279f6d207217379cf_40425745.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ba234f67589d2dc9a26de2d4844fb89_16305514.png change filename to text .imagette223543161745466696/ imagette223543161745466696/1745426771_215523_1353119495_0f7e6a6d7ed4af47b94fcc0921691727_rle_crop_3765959323_0.png.png imagette223543161745466696/1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030219_0.png.png imagette223543161745466696/1745429111_239488_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957759_0.png.png imagette223543161745466696/1745429111_239488_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957811_0.png.png imagette223543161745466696/1745426592_213670_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957811_0.png.png imagette223543161745466696/1745426832_216123_1353119234_d9bd3b96fb560a4836578323af974dde_rle_crop_3765959858_0.png.png imagette223543161745466696/1745426472_212747_1353118873_ed050c7fc0b042580c82af65e78e8792_rle_crop_3765955551_0.png.png imagette223543161745466696/1745426592_213670_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957817_0.png.png imagette223543161745466696/1745426472_212747_1353118873_ed050c7fc0b042580c82af65e78e8792_rle_crop_3765955550_0.png.png imagette223543161745466696/1745429111_239488_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957817_0.png.png imagette223543161745466696/1745426592_213670_1353118963_3e62e647ddd046e558f7363e17df07e6_rle_crop_3765957759_0.png.png imagette223543161745466696/1745426832_216123_1353119527_ad07eefc64124d9598ff3841fd23d64d_rle_crop_3765959703_0.png.png imagette223543161745466696/1745426832_216123_1353119244_d739ba9339e33c26aad3ebb4ecf690e3_rle_crop_3765959837_0.png.png imagette223543161745466696/1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030226_0.png.png imagette223543161745466696/1745427422_221751_1353119670_80e1cbb42ff84332db4de5364e63d553_rle_crop_3765980125_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/981321df863d3c0841d552d4d5bc02b8_14656222.png imagette223543161745466696 22354317 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=22354317 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353120096: '1745426832_216123_1353119309_7335b2cdad8aac595a2f7b45414c6405_rle_crop_3765959727_0.png', 1353132109: '1745429111_239488_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957819_0.png', 1353132108: '1745429111_239488_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957821_0.png', 1353132107: '1745429111_239488_1353118958_dcc7525d0df5f22c2489fb519be4e060_rle_crop_3765957789_0.png', 1353132106: '1745429111_239488_1353118958_dcc7525d0df5f22c2489fb519be4e060_rle_crop_3765957786_0.png', 1353132105: '1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030230_0.png', 1353132104: '1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030227_0.png', 1353132103: '1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030304_0.png', 1353120097: '1745426832_216123_1353119244_d739ba9339e33c26aad3ebb4ecf690e3_rle_crop_3765959839_0.png', 1353119221: '1745426503_2999478_1353118804_40c3b28111b980601ce3dd437c1e19c6_rle_crop_3765955789_0.png', 1353119869: '1745426771_215523_1353119604_b791b74b16bfda5f384fd7bb61f51458_rle_crop_3765959306_0.png', 1353119706: '1745426714_214688_1353119594_59b6f5f7adcf1527fb787f2a2042cf24_rle_crop_3765958921_0.png', 1353119614: '1745426652_214120_1353119023_f1f3a5539e90dec303f46e01e761bd2d_rle_crop_3765957948_0.png', 1353119554: '1745426592_213670_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957819_0.png', 1353119553: '1745426592_213670_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957821_0.png', 1353119552: '1745426592_213670_1353118958_dcc7525d0df5f22c2489fb519be4e060_rle_crop_3765957789_0.png', 1353119551: '1745426592_213670_1353118958_dcc7525d0df5f22c2489fb519be4e060_rle_crop_3765957786_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/850eead0e3a539f8c75c1888496821e1_27158105.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26426826446d8c2755ccf118d6bd057d_88331288.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2dceab43e93213f5ef27ab21163c3e34_11803179.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bdb29835d788199da4c4ad26411ff43a_23874305.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/37363948e33321238c8fc3747806e61c_4531907.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f603f60c8f91a6f1d0f53e9a7e69202d_10618959.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3fe59a29ada61fbce020550524b91806_46051338.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3e0ac830a08ab98dd9a45763b357496_25343582.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85fa96b2e8da71cc2d7531d2daf6e995_7167373.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a022c4b34838eb64d2cb1ecdce0b886b_49350986.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29002c80759f539700f6ad3a45eeb5b3_73742444.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24c541b0a5f74e83fe6878154ab077e2_37042145.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff3400353f6efe416ec7884f3116df4f_71156477.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26426826446d8c2755ccf118d6bd057d_18154054.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2dceab43e93213f5ef27ab21163c3e34_22237734.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bdb29835d788199da4c4ad26411ff43a_60276913.png change filename to text .imagette223543171745466697/ imagette223543171745466697/1745426592_213670_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957819_0.png.png imagette223543171745466697/1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030230_0.png.png imagette223543171745466697/1745426771_215523_1353119604_b791b74b16bfda5f384fd7bb61f51458_rle_crop_3765959306_0.png.png imagette223543171745466697/1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030304_0.png.png imagette223543171745466697/1745429111_239488_1353119349_d6bdd00c5f519fa4c05634db929801b2_rle_crop_3766030227_0.png.png imagette223543171745466697/1745426592_213670_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957821_0.png.png imagette223543171745466697/1745426832_216123_1353119244_d739ba9339e33c26aad3ebb4ecf690e3_rle_crop_3765959839_0.png.png imagette223543171745466697/1745429111_239488_1353118958_dcc7525d0df5f22c2489fb519be4e060_rle_crop_3765957786_0.png.png imagette223543171745466697/1745426652_214120_1353119023_f1f3a5539e90dec303f46e01e761bd2d_rle_crop_3765957948_0.png.png imagette223543171745466697/1745426592_213670_1353118958_dcc7525d0df5f22c2489fb519be4e060_rle_crop_3765957789_0.png.png imagette223543171745466697/1745429111_239488_1353118958_dcc7525d0df5f22c2489fb519be4e060_rle_crop_3765957789_0.png.png imagette223543171745466697/1745426503_2999478_1353118804_40c3b28111b980601ce3dd437c1e19c6_rle_crop_3765955789_0.png.png imagette223543171745466697/1745429111_239488_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957821_0.png.png imagette223543171745466697/1745429111_239488_1353118955_baa5d1c8469b1b0755096557652f4980_rle_crop_3765957819_0.png.png imagette223543171745466697/1745426592_213670_1353118958_dcc7525d0df5f22c2489fb519be4e060_rle_crop_3765957786_0.png.png imagette223543171745466697/1745426832_216123_1353119309_7335b2cdad8aac595a2f7b45414c6405_rle_crop_3765959727_0.png.png imagette223543171745466697/1745426714_214688_1353119594_59b6f5f7adcf1527fb787f2a2042cf24_rle_crop_3765958921_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/37363948e33321238c8fc3747806e61c_87933342.png imagette223543171745466697 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22354290 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22354320,22354321,22354322,22354323,22354324,22354325,22354326,22354327,22354328,22354329,22354330,22354331?tags=autre_refus,Carton_brun,papier,plastique,flou,mal_croppe,environnement,cartonnette,Carton_gris,Teint_Dans_La_Masse,metal,kraft your option no_mail is active, we will not send the real mail to your client args[1353119758] : ('0.06629720588488802',) no score found for photo 1353119758 We are sending mail with results at report@fotonower.com args[1353119676] : ('0.06629720588488802',) no score found for photo 1353119676 We are sending mail with results at report@fotonower.com args[1353119670] : ('0.06629720588488802',) no score found for photo 1353119670 We are sending mail with results at report@fotonower.com args[1353119664] : ('0.06629720588488802',) no score found for photo 1353119664 We are sending mail with results at report@fotonower.com args[1353119662] : ('0.06629720588488802',) no score found for photo 1353119662 We are sending mail with results at report@fotonower.com args[1353119642] : ('0.06629720588488802',) no score found for photo 1353119642 We are sending mail with results at report@fotonower.com args[1353119604] : ('0.06629720588488802',) no score found for photo 1353119604 We are sending mail with results at report@fotonower.com args[1353119601] : ('0.06629720588488802',) no score found for photo 1353119601 We are sending mail with results at report@fotonower.com args[1353119597] : ('0.06629720588488802',) no score found for photo 1353119597 We are sending mail with results at report@fotonower.com args[1353119594] : ('0.06629720588488802',) no score found for photo 1353119594 We are sending mail with results at report@fotonower.com args[1353119527] : ('0.06629720588488802',) no score found for photo 1353119527 We are sending mail with results at report@fotonower.com args[1353119524] : ('0.06629720588488802',) no score found for photo 1353119524 We are sending mail with results at report@fotonower.com args[1353119521] : ('0.06629720588488802',) no score found for photo 1353119521 We are sending mail with results at report@fotonower.com args[1353119495] : ('0.06629720588488802',) no score found for photo 1353119495 We are sending mail with results at report@fotonower.com args[1353119464] : ('0.06629720588488802',) no score found for photo 1353119464 We are sending mail with results at report@fotonower.com args[1353119349] : ('0.06629720588488802',) no score found for photo 1353119349 We are sending mail with results at report@fotonower.com args[1353119309] : ('0.06629720588488802',) no score found for photo 1353119309 We are sending mail with results at report@fotonower.com args[1353119274] : ('0.06629720588488802',) no score found for photo 1353119274 We are sending mail with results at report@fotonower.com args[1353119247] : ('0.06629720588488802',) no score found for photo 1353119247 We are sending mail with results at report@fotonower.com args[1353119244] : ('0.06629720588488802',) no score found for photo 1353119244 We are sending mail with results at report@fotonower.com args[1353119234] : ('0.06629720588488802',) no score found for photo 1353119234 We are sending mail with results at report@fotonower.com args[1353119023] : ('0.06629720588488802',) no score found for photo 1353119023 We are sending mail with results at report@fotonower.com args[1353118971] : ('0.06629720588488802',) no score found for photo 1353118971 We are sending mail with results at report@fotonower.com args[1353118966] : ('0.06629720588488802',) no score found for photo 1353118966 We are sending mail with results at report@fotonower.com args[1353118963] : ('0.06629720588488802',) no score found for photo 1353118963 We are sending mail with results at report@fotonower.com args[1353118958] : ('0.06629720588488802',) no score found for photo 1353118958 We are sending mail with results at report@fotonower.com args[1353118955] : ('0.06629720588488802',) no score found for photo 1353118955 We are sending mail with results at report@fotonower.com args[1353118878] : ('0.06629720588488802',) no score found for photo 1353118878 We are sending mail with results at report@fotonower.com args[1353118876] : ('0.06629720588488802',) no score found for photo 1353118876 We are sending mail with results at report@fotonower.com args[1353118873] : ('0.06629720588488802',) no score found for photo 1353118873 We are sending mail with results at report@fotonower.com args[1353118813] : ('0.06629720588488802',) no score found for photo 1353118813 We are sending mail with results at report@fotonower.com args[1353118804] : ('0.06629720588488802',) no score found for photo 1353118804 We are sending mail with results at report@fotonower.com args[1353118535] : ('0.06629720588488802',) no score found for photo 1353118535 We are sending mail with results at report@fotonower.com refus_total : 0.06629720588488802 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=22354290 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 error cannot identify image file 'imagette223543161745466696/1745426472_212747_1353118873_ed050c7fc0b042580c82af65e78e8792_rle_crop_3765955551_0.png.png' start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22354290_24-04-2025_05_51_31.pdf results_Auto_P22354290_24-04-2025_05_51_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22354290_24-04-2025_05_51_31.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22354290','results_Auto_P22354290_24-04-2025_05_51_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22354290_24-04-2025_05_51_31.pdf','pdf','','0.39','0.06629720588488802') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22354290]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535] map_info['map_portfolio_photo'] : {22354290: [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535]} final : False mtd_id 4302 list_pids : [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535] 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, '2755675') ('4302', '22354290', '1353119758', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119676', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119670', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119664', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119662', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119642', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119604', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119601', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119597', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119594', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119527', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119524', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119521', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119495', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119464', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119349', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119309', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119274', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119247', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119244', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119234', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119023', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118971', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118966', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118963', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118958', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118955', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118878', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118876', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118873', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118813', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118804', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118535', None, None, None, None, None, '2755675') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22354290', '1353119758', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119676', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119670', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119664', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119662', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119642', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119604', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119601', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119597', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119594', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119527', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119524', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119521', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119495', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119464', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119349', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119309', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119274', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119247', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119244', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119234', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119023', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118971', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118966', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118963', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118958', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118955', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118878', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118876', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118873', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118813', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118804', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118535', None, None, None, None, None, '2755675')] time used for this insertion : 0.017095327377319336 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.881925582885742 time spend to save output : 0.017439603805541992 total time spend for step 4 : 10.899365186691284 step5:split_time_score Thu Apr 24 05:51:41 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 : ['22354290'] 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 : [('22354290',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22354290) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1353119662: {'path': 'temp/1745466690_2305322_1353119662_c4edfedaa35aa2cf85cacf3fad76d459.jpg', 'extension': 'jpg'}, 1353119664: {'path': 'temp/1745466690_2305322_1353119664_a50c1e0d1062f022045f783ea3c34231.jpg', 'extension': 'jpg'}, 1353119670: {'path': 'temp/1745466690_2305322_1353119670_80e1cbb42ff84332db4de5364e63d553.jpg', 'extension': 'jpg'}, 1353119676: {'path': 'temp/1745466690_2305322_1353119676_3e8280ea06752dc547344e985ef00ba8.jpg', 'extension': 'jpg'}, 1353119758: {'path': 'temp/1745466690_2305322_1353119758_e25c2251721bc86389fdddb0b2a203a0.jpg', 'extension': 'jpg'}, 1353119524: {'path': 'temp/1745466690_2305322_1353119524_5228de50650a59d426fc88b6a49929da.jpg', 'extension': 'jpg'}, 1353119527: {'path': 'temp/1745466690_2305322_1353119527_ad07eefc64124d9598ff3841fd23d64d.jpg', 'extension': 'jpg'}, 1353119594: {'path': 'temp/1745466690_2305322_1353119594_59b6f5f7adcf1527fb787f2a2042cf24.jpg', 'extension': 'jpg'}, 1353119597: {'path': 'temp/1745466690_2305322_1353119597_9dcf25772bad6152c499c59e1a5ac485.jpg', 'extension': 'jpg'}, 1353119601: {'path': 'temp/1745466690_2305322_1353119601_d35764c17a86d9854f233537fffb91de.jpg', 'extension': 'jpg'}, 1353119604: {'path': 'temp/1745466690_2305322_1353119604_b791b74b16bfda5f384fd7bb61f51458.jpg', 'extension': 'jpg'}, 1353119642: {'path': 'temp/1745466690_2305322_1353119642_83bea11434edfd8f79ab04a436528ef8.jpg', 'extension': 'jpg'}, 1353118958: {'path': 'temp/1745466690_2305322_1353118958_dcc7525d0df5f22c2489fb519be4e060.jpg', 'extension': 'jpg'}, 1353118963: {'path': 'temp/1745466690_2305322_1353118963_3e62e647ddd046e558f7363e17df07e6.jpg', 'extension': 'jpg'}, 1353118966: {'path': 'temp/1745466690_2305322_1353118966_fabf063acfda85f8dbc2ceb5be5dbbe2.jpg', 'extension': 'jpg'}, 1353118971: {'path': 'temp/1745466690_2305322_1353118971_a27b0ea30d14dc93b92ca85ae8c0a430.jpg', 'extension': 'jpg'}, 1353119023: {'path': 'temp/1745466690_2305322_1353119023_f1f3a5539e90dec303f46e01e761bd2d.jpg', 'extension': 'jpg'}, 1353119234: {'path': 'temp/1745466690_2305322_1353119234_d9bd3b96fb560a4836578323af974dde.jpg', 'extension': 'jpg'}, 1353119244: {'path': 'temp/1745466690_2305322_1353119244_d739ba9339e33c26aad3ebb4ecf690e3.jpg', 'extension': 'jpg'}, 1353118535: {'path': 'temp/1745466690_2305322_1353118535_7e81a4a5cf718ec743a83d38768e3fb9.jpg', 'extension': 'jpg'}, 1353118804: {'path': 'temp/1745466690_2305322_1353118804_40c3b28111b980601ce3dd437c1e19c6.jpg', 'extension': 'jpg'}, 1353118813: {'path': 'temp/1745466690_2305322_1353118813_7724ba867a5a16b5ea92721ce6de9dd6.jpg', 'extension': 'jpg'}, 1353118873: {'path': 'temp/1745466690_2305322_1353118873_ed050c7fc0b042580c82af65e78e8792.jpg', 'extension': 'jpg'}, 1353118876: {'path': 'temp/1745466690_2305322_1353118876_c7040654220b580cda22a7d73d8692d3.jpg', 'extension': 'jpg'}, 1353118878: {'path': 'temp/1745466690_2305322_1353118878_dddf58a3d179396e587adf5498c518c8.jpg', 'extension': 'jpg'}, 1353118955: {'path': 'temp/1745466690_2305322_1353118955_baa5d1c8469b1b0755096557652f4980.jpg', 'extension': 'jpg'}, 1353119247: {'path': 'temp/1745466690_2305322_1353119247_a0eb962f005edff6e813b4898d8dae07.jpg', 'extension': 'jpg'}, 1353119274: {'path': 'temp/1745466690_2305322_1353119274_48108932033cb84b610f839a62702a5c.jpg', 'extension': 'jpg'}, 1353119309: {'path': 'temp/1745466690_2305322_1353119309_7335b2cdad8aac595a2f7b45414c6405.jpg', 'extension': 'jpg'}, 1353119349: {'path': 'temp/1745466690_2305322_1353119349_d6bdd00c5f519fa4c05634db929801b2.jpg', 'extension': 'jpg'}, 1353119464: {'path': 'temp/1745466690_2305322_1353119464_31252942a5b239e75147f4eb112df8fd.jpg', 'extension': 'jpg'}, 1353119495: {'path': 'temp/1745466690_2305322_1353119495_0f7e6a6d7ed4af47b94fcc0921691727.jpg', 'extension': 'jpg'}, 1353119521: {'path': 'temp/1745466690_2305322_1353119521_c392c842f698a13a63e3b5271bfbeb01.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 = 22354290; (('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 = 22354290 group by h (('18', 33),) 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=22354290 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 (22354290) 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 (22354290) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 23042025 22354290 Nombre de photos uploadées : 33 / 23040 (0%) 23042025 22354290 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 23042025 22354290 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1353118813, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7724ba867a5a16b5ea92721ce6de9dd6.jpg', 'username': None, 'uploaded_at': 1745426348, 'text': 'image_23042025_18_30_04_10156.jpg'}, {'photo_id': 1353118535, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e81a4a5cf718ec743a83d38768e3fb9.jpg', 'username': None, 'uploaded_at': 1745426167, 'text': 'image_23042025_18_35_33_10146.jpg'}, {'photo_id': 1353118804, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40c3b28111b980601ce3dd437c1e19c6.jpg', 'username': None, 'uploaded_at': 1745426348, 'text': 'image_23042025_18_38_43_009126m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1353118878, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dddf58a3d179396e587adf5498c518c8.jpg', 'username': None, 'uploaded_at': 1745426408, 'text': 'image_23042025_18_38_53_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014579296112060547 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22354290, '2025-04-23' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1739756,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024570226669311523 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= 1739756 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22325236, 'dashboard_result_id': 10061651, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325236_24-04-2025_05_34_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22325279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22325280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22325281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22325282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22325283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22325284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22325285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22325286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22325287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22325288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22325289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22325290, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22325613, 'dashboard_result_id': 10061652, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325613_24-04-2025_05_35_51.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22325638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22325639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22325640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22325641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22325642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22325643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22325644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22325645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22325646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22325647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22325648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22325649, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22325942, 'dashboard_result_id': 10061653, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325942_24-04-2025_05_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22325968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22325969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22325970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22325971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22325972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22325973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22325974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22325975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22325976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22325977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22325978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22325979, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22326303, 'dashboard_result_id': 10061654, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22326303_23-04-2025_06_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22326304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22326305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22326306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22326307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22326308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22326309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22326310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22326311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22326312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22326313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22326314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22326315, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22326686, 'dashboard_result_id': 10061655, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22326686_23-04-2025_06_20_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22326758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22326759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22326760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22326761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22326762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22326763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22326764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22326765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22326766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22326767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22326768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22326769, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22327416, 'dashboard_result_id': 10061656, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22327416_24-04-2025_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22327441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22327442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22327443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22327444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22327445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22327446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22327447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22327448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22327449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22327450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22327451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22327452, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22327827, 'dashboard_result_id': 10061657, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22327827_23-04-2025_06_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22327867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22327868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22327869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22327870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22327871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22327872, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22327873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22327874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22327875, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22327876, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22327877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22327878, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22328173, 'dashboard_result_id': 10061658, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22328173_24-04-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22328174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22328175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22328176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22328177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22328178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22328179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22328180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22328181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22328182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22328183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22328184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22328185, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22328867, 'dashboard_result_id': 10061659, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22328867_24-04-2025_05_38_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22328873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22328874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22328875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22328876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22328877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22328878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22328879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22328880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22328881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22328882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22328883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22328884, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22329762, 'dashboard_result_id': 10061660, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22329762_24-04-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22329793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22329795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22329796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22329797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22329799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22329800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22329801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22329803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22329804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22329805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22329807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22329808, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22330414, 'dashboard_result_id': 10061661, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22330414_24-04-2025_05_39_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22330454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22330455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22330456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22330457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22330458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22330459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22330460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22330461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22330462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22330463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22330464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22330465, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22331203, 'dashboard_result_id': 10061662, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22331203_23-04-2025_08_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22331240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22331241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22331242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22331243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22331244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22331245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22331246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22331247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22331248, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22331249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22331250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22331251, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22331661, 'dashboard_result_id': 10061663, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22331661_24-04-2025_05_40_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22331701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22331702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22331703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22331704, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22331705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22331706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22331707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22331708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22331709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22331710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22331711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22331712, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22332458, 'dashboard_result_id': 10061664, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22332458_23-04-2025_08_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22332459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22332460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22332461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22332462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22332463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22332464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22332465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22332466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22332467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22332468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22332469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22332470, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22333179, 'dashboard_result_id': 10061665, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22333179_23-04-2025_08_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22333217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22333218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22333219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22333220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22333221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22333222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22333223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22333224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22333225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22333226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22333227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22333228, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22334033, 'dashboard_result_id': 10061666, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22334033_23-04-2025_09_16_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22334067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22334068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22334069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22334070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22334071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22334072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22334073, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22334074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22334075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22334076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22334077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22334078, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22336354, 'dashboard_result_id': 10061667, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22336354_23-04-2025_09_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22336364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22336365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22336366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22336367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22336368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22336369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22336370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22336371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22336372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22336373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22336374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22336375, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22337144, 'dashboard_result_id': 10061668, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22337144_24-04-2025_05_43_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22337169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22337170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22337171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22337172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22337173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22337174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22337175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22337176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22337177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22337178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22337179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22337180, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22337891, 'dashboard_result_id': 10061669, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22337891_23-04-2025_10_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22337892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22337893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22337894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22337895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22337896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22337897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22337898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22337899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22337900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22337901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22337902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22337903, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22338640, 'dashboard_result_id': 10061670, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22338640_24-04-2025_05_44_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22338657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22338658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22338659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22338660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22338661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22338662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22338663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22338664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22338665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22338666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22338667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22338668, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22339201, 'dashboard_result_id': 10061671, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22339201_24-04-2025_05_44_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22339229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22339230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22339231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22339232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22339233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22339234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22339235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22339236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22339237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22339238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22339239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22339240, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22339852, 'dashboard_result_id': 10061672, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22339852_23-04-2025_11_03_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22339882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22339883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22339884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22339885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22339886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22339887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22339888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22339889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22339890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22339891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22339892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22339893, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22340451, 'dashboard_result_id': 10061673, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22340451_23-04-2025_11_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22340476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22340477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22340478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22340479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22340480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22340481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22340482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22340483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22340484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22340485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22340486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22340487, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22341308, 'dashboard_result_id': 10061674, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22341308_23-04-2025_11_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22341347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22341348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22341349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22341350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22341351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22341352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22341353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22341354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22341355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22341356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22341357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22341358, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22341945, 'dashboard_result_id': 10061675, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22341945_24-04-2025_05_46_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22341974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22341975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22341976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22341977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22341978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22341979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22341980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22341981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22341982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22341983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22341984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22341985, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22342537, 'dashboard_result_id': 10061676, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22342537_23-04-2025_12_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22342566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22342567, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22342568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22342569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22342570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22342571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22342572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22342573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22342574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22342575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22342576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22342577, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22342994, 'dashboard_result_id': 10061677, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22342994_24-04-2025_05_47_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22342999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22343000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22343001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22343002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22343003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22343004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22343005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22343006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22343007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22343008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22343009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22343010, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22348035, 'dashboard_result_id': 10061678, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22348035_23-04-2025_16_21_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22348061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22348062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22348063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22348064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22348065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22348066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22348067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22348068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22348069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22348070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22348071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22348072, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22348525, 'dashboard_result_id': 10061679, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22348525_24-04-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22348529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22348530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22348531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22348532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22348533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22348534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22348535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22348536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22348537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22348538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22348539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22348540, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22349010, 'dashboard_result_id': 10061680, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22349010_24-04-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22349016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22349017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22349018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22349019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22349020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22349021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22349022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22349023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22349024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22349025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22349026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22349027, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22349913, 'dashboard_result_id': 10061681, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22349913_24-04-2025_05_49_51.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22349917, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22349918, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22349919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22349920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22349921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22349922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22349923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22349924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22349925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22349926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22349927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22349928, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22350703, 'dashboard_result_id': 10061682, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22350703_23-04-2025_17_17_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22350717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22350718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22350719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22350720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22350721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22350722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22350723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22350724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22350725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22350726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22350727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22350728, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22351746, 'dashboard_result_id': 10061683, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22351746_24-04-2025_05_50_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22351749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22351750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22351751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22351752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22351753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22351754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22351755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22351756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22351757, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22351758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22351759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22351760, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22353065, 'dashboard_result_id': 10061684, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22353065_24-04-2025_05_50_41.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22353088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22353089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22353090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22353091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22353092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22353093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22353094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22353095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22353096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22353097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22353098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22353099, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22353503, 'dashboard_result_id': 10061685, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22353503_24-04-2025_05_51_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22353529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22353530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22353531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22353532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22353533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22353534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22353535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22353536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22353537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22353538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22353539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22353540, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22354290, 'dashboard_result_id': 10061686, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22354290_23-04-2025_18_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22354308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22354309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22354310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22354311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22354312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22354313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22354314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22354315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22354316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22354317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22354318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22354319, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22354450, 'dashboard_result_id': 10061687, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22354450_23-04-2025_19_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22354455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22354456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22354457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22354458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22354459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22354460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22354461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22354462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22354463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22354464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22354465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22354466, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22355072, 'dashboard_result_id': 10061688, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22355072_23-04-2025_19_16_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22355086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22355087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22355088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22355089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22355090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22355091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22355092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22355093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22355094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22355095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22355096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22355097, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22355885, 'dashboard_result_id': 10061689, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22355885_23-04-2025_19_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22355892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22355893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22355894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22355895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22355896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22355897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22355898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22355899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22355900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22355901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22355902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22355903, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22356488, 'dashboard_result_id': 10061690, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22356488_24-04-2025_00_06_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22356504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22356505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22356506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22356507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22356508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22356509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22356510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22356511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22356512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22356513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22356514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22356515, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22359573, 'dashboard_result_id': 10061691, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22359573_23-04-2025_22_02_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22359575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22359576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22359577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22359578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22359579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22359580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22359581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22359582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22359583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22359584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22359585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22359586, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22360340, 'dashboard_result_id': 10061692, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22360340_23-04-2025_22_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22360365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22360366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22360367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22360368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22360369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22360370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22360371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22360372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22360373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22360374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22360375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22360376, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22361301, 'dashboard_result_id': 10061693, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22361301_23-04-2025_22_35_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22361312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22361313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22361314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22361315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22361316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22361317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22361318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22361319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22361320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22361321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22361322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22361323, 'pht': 3726}}"}, {'dashboat_entry_day': 1739756, 'dashboard_run_id': 1751574, 'mtr_portfolio_id': 22361872, 'dashboard_result_id': 10061694, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22361872_23-04-2025_22_46_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22361874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22361875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22361876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22361877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22361878, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22361879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22361880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22361881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22361882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22361883, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22361884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22361885, '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 = 22325236 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755640, 'mtr_portfolio_id': 22325236, 'created_at': datetime.datetime(2025, 4, 24, 5, 34, 30), 'result': '0.0709678645705838', 'result_long': None, 'result_double': None}] Qualite : 0.0709678645705838 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22325236 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325236_24-04-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22325236 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325236_24-04-2025_05_34_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22325279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22325280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22325281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22325282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22325283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22325284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22325285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22325286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22325287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22325288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22325289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22325290, 'pht': 3726}}" where mtr_portfolio_id = 22325236 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22325236 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061651, 0.0709678645705838, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325236_24-04-2025_05_34_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22325279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22325280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22325281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22325282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22325283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22325284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22325285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22325286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22325287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22325288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22325289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22325290, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22325613 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755641, 'mtr_portfolio_id': 22325613, 'created_at': datetime.datetime(2025, 4, 24, 5, 35, 43), 'result': '0.06816697475174313', 'result_long': None, 'result_double': None}] Qualite : 0.06816697475174313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22325613 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325613_24-04-2025_05_35_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22325613 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325613_24-04-2025_05_35_51.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22325638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22325639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22325640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22325641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22325642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22325643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22325644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22325645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22325646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22325647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22325648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22325649, 'pht': 3726}}" where mtr_portfolio_id = 22325613 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22325613 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061652, 0.06816697475174313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325613_24-04-2025_05_35_51.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22325638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22325639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22325640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22325641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22325642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22325643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22325644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22325645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22325646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22325647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22325648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22325649, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22325942 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755642, 'mtr_portfolio_id': 22325942, 'created_at': datetime.datetime(2025, 4, 24, 5, 35, 30), 'result': '0.06426718410837302', 'result_long': None, 'result_double': None}] Qualite : 0.06426718410837302 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22325942 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325942_24-04-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22325942 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325942_24-04-2025_05_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22325968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22325969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22325970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22325971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22325972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22325973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22325974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22325975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22325976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22325977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22325978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22325979, 'pht': 3726}}" where mtr_portfolio_id = 22325942 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22325942 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061653, 0.06426718410837302, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22325942_24-04-2025_05_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22325968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22325969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22325970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22325971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22325972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22325973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22325974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22325975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22325976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22325977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22325978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22325979, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22326303 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755643, 'mtr_portfolio_id': 22326303, 'created_at': datetime.datetime(2025, 4, 24, 5, 35, 59), 'result': '0.07202689995790366', 'result_long': None, 'result_double': None}] Qualite : 0.07202689995790366 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22326303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22326303_23-04-2025_06_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22326303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22326303_23-04-2025_06_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22326304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22326305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22326306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22326307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22326308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22326309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22326310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22326311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22326312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22326313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22326314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22326315, 'pht': 3726}}" where mtr_portfolio_id = 22326303 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22326303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061654, 0.07202689995790366, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22326303_23-04-2025_06_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22326304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22326305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22326306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22326307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22326308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22326309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22326310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22326311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22326312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22326313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22326314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22326315, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22326686 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755644, 'mtr_portfolio_id': 22326686, 'created_at': datetime.datetime(2025, 4, 24, 5, 36, 30), 'result': '0.07747003299738274', 'result_long': None, 'result_double': None}] Qualite : 0.07747003299738274 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22326686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22326686_23-04-2025_06_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22326686 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22326686_23-04-2025_06_20_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22326758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22326759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22326760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22326761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22326762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22326763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22326764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22326765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22326766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22326767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22326768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22326769, 'pht': 3726}}" where mtr_portfolio_id = 22326686 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22326686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061655, 0.07747003299738274, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22326686_23-04-2025_06_20_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22326758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22326759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22326760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22326761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22326762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22326763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22326764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22326765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22326766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22326767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22326768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22326769, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22327416 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755645, 'mtr_portfolio_id': 22327416, 'created_at': datetime.datetime(2025, 4, 24, 5, 36, 59), 'result': '0.07270414093374927', 'result_long': None, 'result_double': None}] Qualite : 0.07270414093374927 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22327416 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22327416_24-04-2025_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22327416 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22327416_24-04-2025_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22327441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22327442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22327443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22327444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22327445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22327446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22327447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22327448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22327449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22327450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22327451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22327452, 'pht': 3726}}" where mtr_portfolio_id = 22327416 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22327416 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061656, 0.07270414093374927, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22327416_24-04-2025_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22327441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22327442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22327443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22327444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22327445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22327446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22327447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22327448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22327449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22327450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22327451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22327452, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22327827 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755646, 'mtr_portfolio_id': 22327827, 'created_at': datetime.datetime(2025, 4, 24, 5, 37, 28), 'result': '0.06542002895712527', 'result_long': None, 'result_double': None}] Qualite : 0.06542002895712527 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22327827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22327827_23-04-2025_06_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22327827 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22327827_23-04-2025_06_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22327867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22327868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22327869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22327870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22327871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22327872, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22327873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22327874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22327875, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22327876, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22327877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22327878, 'pht': 3726}}" where mtr_portfolio_id = 22327827 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22327827 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061657, 0.06542002895712527, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22327827_23-04-2025_06_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22327867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22327868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22327869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22327870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22327871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22327872, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22327873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22327874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22327875, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22327876, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22327877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22327878, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22328173 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755647, 'mtr_portfolio_id': 22328173, 'created_at': datetime.datetime(2025, 4, 24, 5, 37, 58), 'result': '0.07184327665793007', 'result_long': None, 'result_double': None}] Qualite : 0.07184327665793007 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22328173 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22328173_24-04-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22328173 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22328173_24-04-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22328174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22328175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22328176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22328177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22328178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22328179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22328180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22328181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22328182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22328183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22328184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22328185, 'pht': 3726}}" where mtr_portfolio_id = 22328173 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22328173 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061658, 0.07184327665793007, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22328173_24-04-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22328174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22328175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22328176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22328177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22328178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22328179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22328180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22328181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22328182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22328183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22328184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22328185, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22328867 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755648, 'mtr_portfolio_id': 22328867, 'created_at': datetime.datetime(2025, 4, 24, 5, 38, 28), 'result': '0.07756928987117506', 'result_long': None, 'result_double': None}] Qualite : 0.07756928987117506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22328867 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22328867_24-04-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22328867 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22328867_24-04-2025_05_38_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22328873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22328874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22328875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22328876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22328877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22328878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22328879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22328880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22328881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22328882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22328883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22328884, 'pht': 3726}}" where mtr_portfolio_id = 22328867 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22328867 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061659, 0.07756928987117506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22328867_24-04-2025_05_38_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22328873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22328874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22328875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22328876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22328877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22328878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22328879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22328880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22328881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22328882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22328883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22328884, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22329762 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755649, 'mtr_portfolio_id': 22329762, 'created_at': datetime.datetime(2025, 4, 24, 5, 38, 59), 'result': '0.06667727082428926', 'result_long': None, 'result_double': None}] Qualite : 0.06667727082428926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22329762 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22329762_24-04-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22329762 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22329762_24-04-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22329793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22329795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22329796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22329797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22329799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22329800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22329801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22329803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22329804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22329805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22329807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22329808, 'pht': 3726}}" where mtr_portfolio_id = 22329762 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22329762 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061660, 0.06667727082428926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22329762_24-04-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22329793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22329795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22329796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22329797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22329799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22329800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22329801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22329803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22329804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22329805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22329807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22329808, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22330414 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755650, 'mtr_portfolio_id': 22330414, 'created_at': datetime.datetime(2025, 4, 24, 5, 39, 30), 'result': '0.05889621743627731', 'result_long': None, 'result_double': None}] Qualite : 0.05889621743627731 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22330414 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22330414_24-04-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22330414 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22330414_24-04-2025_05_39_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22330454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22330455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22330456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22330457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22330458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22330459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22330460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22330461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22330462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22330463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22330464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22330465, 'pht': 3726}}" where mtr_portfolio_id = 22330414 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22330414 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061661, 0.05889621743627731, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22330414_24-04-2025_05_39_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22330454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22330455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22330456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22330457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22330458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22330459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22330460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22330461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22330462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22330463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22330464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22330465, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22331203 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755651, 'mtr_portfolio_id': 22331203, 'created_at': datetime.datetime(2025, 4, 24, 5, 39, 59), 'result': '0.047008163972807764', 'result_long': None, 'result_double': None}] Qualite : 0.047008163972807764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22331203 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22331203_23-04-2025_08_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22331203 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22331203_23-04-2025_08_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22331240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22331241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22331242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22331243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22331244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22331245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22331246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22331247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22331248, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22331249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22331250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22331251, 'pht': 3726}}" where mtr_portfolio_id = 22331203 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22331203 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061662, 0.047008163972807764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22331203_23-04-2025_08_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22331240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22331241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22331242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22331243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22331244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22331245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22331246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22331247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22331248, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22331249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22331250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22331251, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22331661 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755652, 'mtr_portfolio_id': 22331661, 'created_at': datetime.datetime(2025, 4, 24, 5, 40, 29), 'result': '0.06271778580744353', 'result_long': None, 'result_double': None}] Qualite : 0.06271778580744353 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22331661 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22331661_24-04-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22331661 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22331661_24-04-2025_05_40_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22331701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22331702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22331703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22331704, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22331705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22331706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22331707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22331708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22331709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22331710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22331711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22331712, 'pht': 3726}}" where mtr_portfolio_id = 22331661 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22331661 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061663, 0.06271778580744353, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22331661_24-04-2025_05_40_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22331701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22331702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22331703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22331704, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22331705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22331706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22331707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22331708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22331709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22331710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22331711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22331712, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22332458 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755653, 'mtr_portfolio_id': 22332458, 'created_at': datetime.datetime(2025, 4, 24, 5, 40, 39), 'result': '0.07737588999273574', 'result_long': None, 'result_double': None}] Qualite : 0.07737588999273574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22332458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22332458_23-04-2025_08_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22332458 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22332458_23-04-2025_08_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22332459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22332460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22332461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22332462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22332463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22332464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22332465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22332466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22332467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22332468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22332469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22332470, 'pht': 3726}}" where mtr_portfolio_id = 22332458 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22332458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061664, 0.07737588999273574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22332458_23-04-2025_08_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22332459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22332460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22332461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22332462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22332463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22332464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22332465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22332466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22332467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22332468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22332469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22332470, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22333179 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755654, 'mtr_portfolio_id': 22333179, 'created_at': datetime.datetime(2025, 4, 24, 5, 41, 29), 'result': '0.06473586470240834', 'result_long': None, 'result_double': None}] Qualite : 0.06473586470240834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22333179 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22333179_23-04-2025_08_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22333179 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22333179_23-04-2025_08_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22333217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22333218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22333219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22333220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22333221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22333222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22333223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22333224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22333225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22333226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22333227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22333228, 'pht': 3726}}" where mtr_portfolio_id = 22333179 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22333179 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061665, 0.06473586470240834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22333179_23-04-2025_08_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22333217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22333218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22333219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22333220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22333221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22333222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22333223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22333224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22333225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22333226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22333227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22333228, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22334033 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755655, 'mtr_portfolio_id': 22334033, 'created_at': datetime.datetime(2025, 4, 24, 5, 41, 59), 'result': '0.0670896229761959', 'result_long': None, 'result_double': None}] Qualite : 0.0670896229761959 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22334033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22334033_23-04-2025_09_16_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22334033 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22334033_23-04-2025_09_16_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22334067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22334068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22334069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22334070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22334071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22334072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22334073, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22334074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22334075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22334076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22334077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22334078, 'pht': 3726}}" where mtr_portfolio_id = 22334033 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22334033 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061666, 0.0670896229761959, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22334033_23-04-2025_09_16_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22334067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22334068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22334069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22334070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22334071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22334072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22334073, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22334074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22334075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22334076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22334077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22334078, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22336354 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755656, 'mtr_portfolio_id': 22336354, 'created_at': datetime.datetime(2025, 4, 24, 5, 42, 30), 'result': '0.07401230097652642', 'result_long': None, 'result_double': None}] Qualite : 0.07401230097652642 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22336354 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22336354_23-04-2025_09_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22336354 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22336354_23-04-2025_09_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22336364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22336365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22336366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22336367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22336368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22336369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22336370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22336371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22336372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22336373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22336374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22336375, 'pht': 3726}}" where mtr_portfolio_id = 22336354 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22336354 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061667, 0.07401230097652642, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22336354_23-04-2025_09_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22336364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22336365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22336366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22336367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22336368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22336369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22336370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22336371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22336372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22336373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22336374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22336375, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22337144 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755657, 'mtr_portfolio_id': 22337144, 'created_at': datetime.datetime(2025, 4, 24, 5, 43), 'result': '0.06106169995627812', 'result_long': None, 'result_double': None}] Qualite : 0.06106169995627812 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22337144 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22337144_24-04-2025_05_43_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22337144 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22337144_24-04-2025_05_43_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22337169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22337170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22337171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22337172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22337173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22337174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22337175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22337176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22337177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22337178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22337179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22337180, 'pht': 3726}}" where mtr_portfolio_id = 22337144 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22337144 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061668, 0.06106169995627812, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22337144_24-04-2025_05_43_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22337169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22337170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22337171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22337172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22337173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22337174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22337175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22337176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22337177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22337178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22337179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22337180, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22337891 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755658, 'mtr_portfolio_id': 22337891, 'created_at': datetime.datetime(2025, 4, 24, 5, 43, 26), 'result': '0.06523312212783056', 'result_long': None, 'result_double': None}] Qualite : 0.06523312212783056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22337891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22337891_23-04-2025_10_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22337891 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22337891_23-04-2025_10_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22337892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22337893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22337894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22337895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22337896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22337897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22337898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22337899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22337900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22337901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22337902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22337903, 'pht': 3726}}" where mtr_portfolio_id = 22337891 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22337891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061669, 0.06523312212783056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22337891_23-04-2025_10_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22337892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22337893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22337894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22337895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22337896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22337897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22337898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22337899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22337900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22337901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22337902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22337903, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22338640 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755659, 'mtr_portfolio_id': 22338640, 'created_at': datetime.datetime(2025, 4, 24, 5, 43, 59), 'result': '0.09489229588935022', 'result_long': None, 'result_double': None}] Qualite : 0.09489229588935022 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22338640 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22338640_24-04-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22338640 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22338640_24-04-2025_05_44_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22338657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22338658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22338659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22338660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22338661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22338662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22338663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22338664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22338665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22338666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22338667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22338668, 'pht': 3726}}" where mtr_portfolio_id = 22338640 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22338640 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061670, 0.09489229588935022, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22338640_24-04-2025_05_44_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22338657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22338658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22338659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22338660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22338661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22338662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22338663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22338664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22338665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22338666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22338667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22338668, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22339201 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755660, 'mtr_portfolio_id': 22339201, 'created_at': datetime.datetime(2025, 4, 24, 5, 44, 29), 'result': '0.0709938620645815', 'result_long': None, 'result_double': None}] Qualite : 0.0709938620645815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22339201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22339201_24-04-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22339201 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22339201_24-04-2025_05_44_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22339229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22339230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22339231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22339232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22339233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22339234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22339235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22339236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22339237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22339238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22339239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22339240, 'pht': 3726}}" where mtr_portfolio_id = 22339201 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22339201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061671, 0.0709938620645815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22339201_24-04-2025_05_44_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22339229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22339230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22339231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22339232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22339233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22339234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22339235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22339236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22339237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22339238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22339239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22339240, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22339852 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755661, 'mtr_portfolio_id': 22339852, 'created_at': datetime.datetime(2025, 4, 24, 5, 44, 57), 'result': '0.0451445984552862', 'result_long': None, 'result_double': None}] Qualite : 0.0451445984552862 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22339852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22339852_23-04-2025_11_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22339852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22339852_23-04-2025_11_03_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22339882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22339883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22339884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22339885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22339886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22339887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22339888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22339889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22339890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22339891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22339892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22339893, 'pht': 3726}}" where mtr_portfolio_id = 22339852 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22339852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061672, 0.0451445984552862, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22339852_23-04-2025_11_03_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22339882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22339883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22339884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22339885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22339886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22339887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22339888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22339889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22339890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22339891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22339892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22339893, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22340451 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755662, 'mtr_portfolio_id': 22340451, 'created_at': datetime.datetime(2025, 4, 24, 5, 45, 30), 'result': '0.058723744715067375', 'result_long': None, 'result_double': None}] Qualite : 0.058723744715067375 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22340451 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22340451_23-04-2025_11_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22340451 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22340451_23-04-2025_11_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22340476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22340477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22340478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22340479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22340480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22340481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22340482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22340483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22340484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22340485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22340486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22340487, 'pht': 3726}}" where mtr_portfolio_id = 22340451 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22340451 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061673, 0.058723744715067375, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22340451_23-04-2025_11_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22340476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22340477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22340478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22340479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22340480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22340481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22340482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22340483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22340484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22340485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22340486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22340487, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22341308 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755663, 'mtr_portfolio_id': 22341308, 'created_at': datetime.datetime(2025, 4, 24, 5, 45, 41), 'result': '0.053102084348212', 'result_long': None, 'result_double': None}] Qualite : 0.053102084348212 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22341308 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22341308_23-04-2025_11_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22341308 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22341308_23-04-2025_11_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22341347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22341348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22341349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22341350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22341351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22341352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22341353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22341354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22341355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22341356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22341357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22341358, 'pht': 3726}}" where mtr_portfolio_id = 22341308 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22341308 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061674, 0.053102084348212, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22341308_23-04-2025_11_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22341347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22341348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22341349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22341350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22341351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22341352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22341353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22341354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22341355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22341356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22341357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22341358, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22341945 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755664, 'mtr_portfolio_id': 22341945, 'created_at': datetime.datetime(2025, 4, 24, 5, 46), 'result': '0.058565835907941836', 'result_long': None, 'result_double': None}] Qualite : 0.058565835907941836 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22341945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22341945_24-04-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22341945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22341945_24-04-2025_05_46_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22341974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22341975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22341976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22341977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22341978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22341979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22341980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22341981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22341982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22341983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22341984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22341985, 'pht': 3726}}" where mtr_portfolio_id = 22341945 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22341945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061675, 0.058565835907941836, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22341945_24-04-2025_05_46_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22341974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22341975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22341976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22341977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22341978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22341979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22341980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22341981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22341982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22341983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22341984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22341985, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22342537 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755665, 'mtr_portfolio_id': 22342537, 'created_at': datetime.datetime(2025, 4, 24, 5, 46, 29), 'result': '0.07277743075725984', 'result_long': None, 'result_double': None}] Qualite : 0.07277743075725984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22342537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22342537_23-04-2025_12_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22342537 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22342537_23-04-2025_12_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22342566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22342567, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22342568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22342569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22342570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22342571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22342572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22342573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22342574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22342575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22342576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22342577, 'pht': 3726}}" where mtr_portfolio_id = 22342537 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22342537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061676, 0.07277743075725984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22342537_23-04-2025_12_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22342566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22342567, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22342568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22342569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22342570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22342571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22342572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22342573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22342574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22342575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22342576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22342577, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22342994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755666, 'mtr_portfolio_id': 22342994, 'created_at': datetime.datetime(2025, 4, 24, 5, 47, 29), 'result': '0.06286442424648833', 'result_long': None, 'result_double': None}] Qualite : 0.06286442424648833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22342994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22342994_24-04-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22342994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22342994_24-04-2025_05_47_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22342999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22343000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22343001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22343002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22343003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22343004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22343005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22343006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22343007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22343008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22343009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22343010, 'pht': 3726}}" where mtr_portfolio_id = 22342994 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22342994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061677, 0.06286442424648833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22342994_24-04-2025_05_47_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22342999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22343000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22343001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22343002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22343003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22343004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22343005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22343006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22343007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22343008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22343009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22343010, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22348035 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755667, 'mtr_portfolio_id': 22348035, 'created_at': datetime.datetime(2025, 4, 24, 5, 47, 58), 'result': '0.07614599521172793', 'result_long': None, 'result_double': None}] Qualite : 0.07614599521172793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22348035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22348035_23-04-2025_16_21_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22348035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22348035_23-04-2025_16_21_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22348061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22348062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22348063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22348064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22348065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22348066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22348067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22348068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22348069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22348070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22348071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22348072, 'pht': 3726}}" where mtr_portfolio_id = 22348035 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22348035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061678, 0.07614599521172793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22348035_23-04-2025_16_21_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22348061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22348062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22348063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22348064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22348065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22348066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22348067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22348068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22348069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22348070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22348071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22348072, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22348525 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755668, 'mtr_portfolio_id': 22348525, 'created_at': datetime.datetime(2025, 4, 24, 5, 48, 30), 'result': '0.061333588161409415', 'result_long': None, 'result_double': None}] Qualite : 0.061333588161409415 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22348525 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22348525_24-04-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22348525 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22348525_24-04-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22348529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22348530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22348531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22348532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22348533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22348534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22348535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22348536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22348537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22348538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22348539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22348540, 'pht': 3726}}" where mtr_portfolio_id = 22348525 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22348525 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061679, 0.061333588161409415, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22348525_24-04-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22348529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22348530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22348531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22348532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22348533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22348534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22348535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22348536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22348537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22348538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22348539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22348540, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22349010 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755669, 'mtr_portfolio_id': 22349010, 'created_at': datetime.datetime(2025, 4, 24, 5, 49, 27), 'result': '0.05992217641548774', 'result_long': None, 'result_double': None}] Qualite : 0.05992217641548774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22349010 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22349010_24-04-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22349010 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22349010_24-04-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22349016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22349017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22349018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22349019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22349020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22349021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22349022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22349023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22349024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22349025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22349026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22349027, 'pht': 3726}}" where mtr_portfolio_id = 22349010 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22349010 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061680, 0.05992217641548774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22349010_24-04-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22349016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22349017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22349018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22349019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22349020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22349021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22349022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22349023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22349024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22349025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22349026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22349027, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22349913 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755670, 'mtr_portfolio_id': 22349913, 'created_at': datetime.datetime(2025, 4, 24, 5, 49, 49), 'result': '0.07692685407978801', 'result_long': None, 'result_double': None}] Qualite : 0.07692685407978801 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22349913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22349913_24-04-2025_05_49_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22349913 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22349913_24-04-2025_05_49_51.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22349917, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22349918, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22349919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22349920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22349921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22349922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22349923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22349924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22349925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22349926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22349927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22349928, 'pht': 3726}}" where mtr_portfolio_id = 22349913 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22349913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061681, 0.07692685407978801, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22349913_24-04-2025_05_49_51.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22349917, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22349918, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22349919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22349920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22349921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22349922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22349923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22349924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22349925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22349926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22349927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22349928, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22350703 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755671, 'mtr_portfolio_id': 22350703, 'created_at': datetime.datetime(2025, 4, 24, 5, 49, 57), 'result': '0.04874709293127455', 'result_long': None, 'result_double': None}] Qualite : 0.04874709293127455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22350703 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22350703_23-04-2025_17_17_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22350703 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22350703_23-04-2025_17_17_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22350717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22350718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22350719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22350720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22350721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22350722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22350723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22350724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22350725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22350726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22350727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22350728, 'pht': 3726}}" where mtr_portfolio_id = 22350703 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22350703 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061682, 0.04874709293127455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22350703_23-04-2025_17_17_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22350717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22350718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22350719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22350720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22350721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22350722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22350723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22350724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22350725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22350726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22350727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22350728, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22351746 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755672, 'mtr_portfolio_id': 22351746, 'created_at': datetime.datetime(2025, 4, 24, 5, 50, 31), 'result': '0.04439026568378134', 'result_long': None, 'result_double': None}] Qualite : 0.04439026568378134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22351746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22351746_24-04-2025_05_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22351746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22351746_24-04-2025_05_50_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22351749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22351750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22351751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22351752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22351753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22351754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22351755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22351756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22351757, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22351758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22351759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22351760, 'pht': 3726}}" where mtr_portfolio_id = 22351746 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22351746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061683, 0.04439026568378134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22351746_24-04-2025_05_50_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22351749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22351750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22351751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22351752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22351753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22351754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22351755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22351756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22351757, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22351758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22351759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22351760, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22353065 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755673, 'mtr_portfolio_id': 22353065, 'created_at': datetime.datetime(2025, 4, 24, 5, 50, 39), 'result': '0.05128758497679995', 'result_long': None, 'result_double': None}] Qualite : 0.05128758497679995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22353065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22353065_24-04-2025_05_50_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22353065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22353065_24-04-2025_05_50_41.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22353088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22353089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22353090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22353091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22353092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22353093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22353094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22353095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22353096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22353097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22353098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22353099, 'pht': 3726}}" where mtr_portfolio_id = 22353065 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22353065 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061684, 0.05128758497679995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22353065_24-04-2025_05_50_41.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22353088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22353089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22353090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22353091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22353092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22353093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22353094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22353095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22353096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22353097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22353098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22353099, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22353503 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755674, 'mtr_portfolio_id': 22353503, 'created_at': datetime.datetime(2025, 4, 24, 5, 51), 'result': '0.05420691213183513', 'result_long': None, 'result_double': None}] Qualite : 0.05420691213183513 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22353503 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22353503_24-04-2025_05_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22353503 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22353503_24-04-2025_05_51_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22353529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22353530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22353531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22353532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22353533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22353534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22353535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22353536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22353537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22353538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22353539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22353540, 'pht': 3726}}" where mtr_portfolio_id = 22353503 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22353503 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061685, 0.05420691213183513, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22353503_24-04-2025_05_51_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22353529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22353530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22353531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22353532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22353533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22353534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22353535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22353536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22353537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22353538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22353539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22353540, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22354290 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2755675, 'mtr_portfolio_id': 22354290, 'created_at': datetime.datetime(2025, 4, 24, 5, 51, 30), 'result': '0.06629720588488802', 'result_long': None, 'result_double': None}] Qualite : 0.06629720588488802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22354290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22354290_24-04-2025_05_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22354290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22354290_24-04-2025_05_51_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22354308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22354309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22354310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22354311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22354312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22354313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22354314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22354315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22354316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22354317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22354318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22354319, 'pht': 3726}}" where mtr_portfolio_id = 22354290 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22354290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061686, 0.06629720588488802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22354290_24-04-2025_05_51_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22354308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22354309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22354310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22354311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22354312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22354313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22354314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22354315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22354316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22354317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22354318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22354319, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22354450 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2754176, 'mtr_portfolio_id': 22354450, 'created_at': datetime.datetime(2025, 4, 23, 19, 3), 'result': '0.06836334816532279', 'result_long': None, 'result_double': None}] Qualite : 0.06836334816532279 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22354450 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22354450_23-04-2025_19_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22354450 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22354450_23-04-2025_19_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22354455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22354456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22354457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22354458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22354459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22354460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22354461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22354462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22354463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22354464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22354465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22354466, 'pht': 3726}}" where mtr_portfolio_id = 22354450 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22354450 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061687, 0.06836334816532279, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22354450_23-04-2025_19_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22354455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22354456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22354457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22354458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22354459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22354460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22354461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22354462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22354463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22354464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22354465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22354466, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22355072 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2754247, 'mtr_portfolio_id': 22355072, 'created_at': datetime.datetime(2025, 4, 23, 19, 16, 31), 'result': '0.07034225435993269', 'result_long': None, 'result_double': None}] Qualite : 0.07034225435993269 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22355072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22355072_23-04-2025_19_16_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22355072 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22355072_23-04-2025_19_16_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22355086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22355087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22355088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22355089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22355090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22355091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22355092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22355093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22355094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22355095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22355096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22355097, 'pht': 3726}}" where mtr_portfolio_id = 22355072 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22355072 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061688, 0.07034225435993269, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22355072_23-04-2025_19_16_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22355086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22355087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22355088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22355089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22355090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22355091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22355092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22355093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22355094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22355095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22355096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22355097, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22355885 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2754300, 'mtr_portfolio_id': 22355885, 'created_at': datetime.datetime(2025, 4, 23, 19, 32, 59), 'result': '0.07312940830385102', 'result_long': None, 'result_double': None}] Qualite : 0.07312940830385102 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22355885 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22355885_23-04-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22355885 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22355885_23-04-2025_19_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22355892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22355893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22355894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22355895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22355896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22355897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22355898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22355899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22355900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22355901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22355902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22355903, 'pht': 3726}}" where mtr_portfolio_id = 22355885 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22355885 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061689, 0.07312940830385102, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22355885_23-04-2025_19_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22355892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22355893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22355894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22355895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22355896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22355897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22355898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22355899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22355900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22355901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22355902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22355903, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22356488 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2754350, 'mtr_portfolio_id': 22356488, 'created_at': datetime.datetime(2025, 4, 24, 0, 6, 55), 'result': '0.09063394106709378', 'result_long': None, 'result_double': None}] Qualite : 0.09063394106709378 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22356488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22356488_24-04-2025_00_06_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22356488 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22356488_24-04-2025_00_06_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22356504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22356505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22356506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22356507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22356508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22356509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22356510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22356511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22356512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22356513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22356514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22356515, 'pht': 3726}}" where mtr_portfolio_id = 22356488 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22356488 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061690, 0.09063394106709378, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22356488_24-04-2025_00_06_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22356504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22356505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22356506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22356507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22356508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22356509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22356510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22356511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22356512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22356513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22356514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22356515, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22359573 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2754740, 'mtr_portfolio_id': 22359573, 'created_at': datetime.datetime(2025, 4, 23, 22, 2, 31), 'result': '0.11215870316230325', 'result_long': None, 'result_double': None}] Qualite : 0.11215870316230325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22359573 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22359573_23-04-2025_22_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22359573 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22359573_23-04-2025_22_02_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22359575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22359576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22359577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22359578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22359579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22359580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22359581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22359582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22359583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22359584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22359585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22359586, 'pht': 3726}}" where mtr_portfolio_id = 22359573 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22359573 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061691, 0.11215870316230325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22359573_23-04-2025_22_02_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22359575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22359576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22359577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22359578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22359579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22359580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22359581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22359582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22359583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22359584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22359585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22359586, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22360340 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2754872, 'mtr_portfolio_id': 22360340, 'created_at': datetime.datetime(2025, 4, 23, 22, 17, 1), 'result': '0.041548315411460035', 'result_long': None, 'result_double': None}] Qualite : 0.041548315411460035 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22360340 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22360340_23-04-2025_22_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22360340 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22360340_23-04-2025_22_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22360365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22360366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22360367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22360368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22360369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22360370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22360371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22360372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22360373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22360374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22360375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22360376, 'pht': 3726}}" where mtr_portfolio_id = 22360340 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22360340 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061692, 0.041548315411460035, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22360340_23-04-2025_22_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22360365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22360366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22360367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22360368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22360369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22360370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22360371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22360372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22360373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22360374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22360375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22360376, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22361301 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2754936, 'mtr_portfolio_id': 22361301, 'created_at': datetime.datetime(2025, 4, 23, 22, 35), 'result': '0.009978512216599714', 'result_long': None, 'result_double': None}] Qualite : 0.009978512216599714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22361301 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22361301_23-04-2025_22_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22361301 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22361301_23-04-2025_22_35_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22361312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22361313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22361314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22361315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22361316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22361317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22361318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22361319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22361320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22361321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22361322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22361323, 'pht': 3726}}" where mtr_portfolio_id = 22361301 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22361301 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061693, 0.009978512216599714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22361301_23-04-2025_22_35_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22361312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22361313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22361314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22361315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22361316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22361317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22361318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22361319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22361320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22361321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22361322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22361323, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22361872 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2754971, 'mtr_portfolio_id': 22361872, 'created_at': datetime.datetime(2025, 4, 23, 22, 46, 57), 'result': '0.24777382948637755', 'result_long': None, 'result_double': None}] Qualite : 0.24777382948637755 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22361872 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22361872_23-04-2025_22_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22361872 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22361872_23-04-2025_22_46_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22361874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22361875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22361876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22361877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22361878, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22361879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22361880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22361881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22361882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22361883, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22361884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22361885, 'pht': 3726}}" where mtr_portfolio_id = 22361872 and dashboard_run_id = 1751574 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22361872 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10061694, 0.24777382948637755, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22361872_23-04-2025_22_46_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22361874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22361875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22361876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22361877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22361878, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22361879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22361880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22361881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22361882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22361883, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22361884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22361885, '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 (22325236,22325613,22325942,22326303,22326686,22327416,22327827,22328173,22328867,22329762,22330414,22331203,22331661,22332458,22333179,22334033,22336354,22337144,22337891,22338640,22339201,22339852,22340451,22341308,22341945,22342537,22342994,22348035,22348525,22349010,22349913,22350703,22351746,22353065,22353503,22354290,22354450,22355072,22355885,22356488,22359573,22360340,22361301,22361872) result : ((1352913245,), (1352914097,), (1352914100,), (1352914723,), (1352914724,), (1352914748,), (1352914749,), (1352914777,), (1352914808,), (1352914811,), (1352914848,), (1352914859,), (1352914861,), (1352914863,), (1352914865,), (1352914902,), (1352914904,), (1352914911,), (1352914943,), (1352914946,), (1352914948,), (1352914977,), (1352914979,), (1352915006,), (1352915008,), (1352915073,), (1352915045,), (1352915052,), (1352915057,), (1352915062,), (1352915099,), (1352915100,), (1352915101,), (1352915102,), (1352915103,), (1352915136,), (1352915139,), (1352915141,), (1352915143,), (1352915144,), (1352915175,), (1352915176,), (1352915177,), (1352915219,), (1352915221,), (1352915226,), (1352915231,), (1352915232,), (1352915233,), (1352915279,), (1352915280,), (1352915281,), (1352915282,), (1352915307,), (1352915308,), (1352915309,), (1352915334,), (1352915336,), (1352915337,), (1352915338,), (1352915361,), (1352915362,), (1352915402,), (1352915404,), (1352915443,), (1352915444,), (1352915446,), (1352915447,), (1352915448,), (1352915450,), (1352915463,), (1352915464,), (1352915466,), (1352915493,), (1352915496,), (1352915497,), (1352915498,), (1352915500,), (1352915526,), (1352915527,), (1352915528,), (1352915529,), (1352915559,), (1352915561,), (1352915563,), (1352915564,), (1352915565,), (1352915568,), (1352915628,), (1352915622,), (1352915623,), (1352915624,), (1352915627,), (1352915646,), (1352915647,), (1352915648,), (1352915690,), (1352915691,), (1352915692,), (1352915693,), (1352915737,), (1352915740,), (1352915742,), (1352915750,), (1352915752,), (1352915753,), (1352915775,), (1352915776,), (1352915777,), (1352915778,), (1352915806,), (1352915808,), (1352915809,), (1352915810,), (1352915812,), (1352915816,), (1352915842,), (1352915845,), (1352915846,), (1352915847,), (1352915896,), (1352915898,), (1352915902,), (1352915906,), (1352915907,), (1352915909,), (1352915936,), (1352915937,), (1352915938,), (1352915939,), (1352915942,), (1352915972,), (1352915975,), (1352915977,), (1352916018,), (1352916030,), (1352916031,), (1352916032,), (1352916034,), (1352916037,), (1352916094,), (1352916099,), (1352916101,), (1352916103,), (1352916137,), (1352916138,), (1352916139,), (1352916140,), (1352916142,), (1352916194,), (1352916204,), (1352916207,), (1352916209,), (1352916212,), (1352916214,), (1352916243,), (1352916245,), (1352916247,), (1352916248,), (1352916310,), (1352916298,), (1352916303,), (1352916305,), (1352916352,), (1352916355,), (1352916357,), (1352916359,), (1352916363,), (1352916367,), (1352916390,), (1352916393,), (1352916396,), (1352916400,), (1352916434,), (1352916436,), (1352916438,), (1352916440,), (1352916442,), (1352916446,), (1352916472,), (1352916475,), (1352916478,), (1352916481,), (1352916484,), (1352916487,), (1352916532,), (1352916535,), (1352916537,), (1352916570,), (1352916572,), (1352916574,), (1352916576,), (1352916579,), (1352916610,), (1352916612,), (1352916613,), (1352916614,), (1352916615,), (1352916649,), (1352916656,), (1352916658,), (1352916660,), (1352916694,), (1352916695,), (1352916696,), (1352916697,), (1352916700,), (1352916703,), (1352916747,), (1352916749,), (1352916751,), (1352916753,), (1352916796,), (1352916798,), (1352916799,), (1352916800,), (1352916842,), (1352916847,), (1352916853,), (1352916856,), (1352916859,), (1352916860,), (1352917651,), (1352917699,), (1352917740,), (1352917773,), (1352917891,), (1352917944,), (1352918010,), (1352918087,), (1352918134,), (1352918466,), (1352918346,), (1352918398,), (1352918431,), (1352918642,), (1352918670,), (1352918701,), (1352918726,), (1352918756,), (1352918871,), (1352918872,), (1352918873,), (1352918874,), (1352918876,), (1352918879,), (1352918909,), (1352918912,), (1352918914,), (1352918916,), (1352918953,), (1352918954,), (1352918956,), (1352918957,), (1352918961,), (1352918964,), (1352918989,), (1352918992,), (1352918995,), (1352918997,), (1352919024,), (1352919025,), (1352919061,), (1352919064,), (1352919067,), (1352919072,), (1352919075,), (1352919120,), (1352919121,), (1352919122,), (1352919123,), (1352919125,), (1352919128,), (1352919180,), (1352919189,), (1352919193,), (1352919197,), (1352919202,), (1352919254,), (1352919257,), (1352919258,), (1352919259,), (1352919260,), (1352919262,), (1352919317,), (1352919319,), (1352919325,), (1352919363,), (1352919364,), (1352919365,), (1352919366,), (1352919367,), (1352919370,), (1352919417,), (1352919420,), (1352919422,), (1352919424,), (1352919426,), (1352919429,), (1352919476,), (1352919477,), (1352919479,), (1352919480,), (1352919483,), (1352919543,), (1352919532,), (1352919534,), (1352919536,), (1352919538,), (1352919541,), (1352919580,), (1352919587,), (1352919589,), (1352919591,), (1352919594,), (1352919652,), (1352919660,), (1352919662,), (1352919664,), (1352919698,), (1352919699,), (1352919701,), (1352919703,), (1352919706,), (1352919708,), (1352919756,), (1352919768,), (1352919771,), (1352919773,), (1352919835,), (1352919836,), (1352919837,), (1352919838,), (1352919841,), (1352919843,), (1352919876,), (1352919878,), (1352919880,), (1352919882,), (1352919926,), (1352919927,), (1352919928,), (1352919929,), (1352919930,), (1352919933,), (1352919969,), (1352919974,), (1352919977,), (1352919979,), (1352920010,), (1352920011,), (1352920012,), (1352920013,), (1352920016,), (1352920046,), (1352920048,), (1352920051,), (1352920053,), (1352920056,), (1352920058,), (1352920086,), (1352920087,), (1352920089,), (1352920090,), (1352920119,), (1352920126,), (1352920133,), (1352920137,), (1352920171,), (1352920173,), (1352920174,), (1352920175,), (1352920176,), (1352920218,), (1352920224,), (1352920226,), (1352920228,), (1352920283,), (1352920280,), (1352920282,), (1352920320,), (1352920322,), (1352920324,), (1352920326,), (1352920328,), (1352920373,), (1352921047,), (1352921049,), (1352921065,), (1352921068,), (1352921070,), (1352921186,), (1352921190,), (1352921193,), (1352921196,), (1352921200,), (1352921333,), (1352921349,), (1352921351,), (1352921394,), (1352921395,), (1352921398,), (1352921399,), (1352921426,), (1352921428,), (1352921429,), (1352921430,), (1352921477,), (1352921481,), (1352921483,), (1352921530,), (1352921532,), (1352921575,), (1352921586,), (1352921591,), (1352921595,), (1352921598,), (1352921644,), (1352921647,), (1352921648,), (1352921650,), (1352921702,), (1352921706,), (1352921708,), (1352921710,), (1352921713,), (1352921716,), (1352921752,), (1352921753,), (1352921783,), (1352921785,), (1352921786,), (1352921787,), (1352921816,), (1352921820,), (1352921822,), (1352921864,), (1352921851,), (1352921854,), (1352921857,), (1352921859,), (1352921861,), (1352921892,), (1352921895,), (1352921897,), (1352921899,), (1352921929,), (1352921930,), (1352921931,), (1352921932,), (1352921933,), (1352921972,), (1352921974,), (1352921976,), (1352921978,), (1352921981,), (1352921983,), (1352922010,), (1352922012,), (1352922013,), (1352922014,), (1352922016,), (1352922063,), (1352922064,), (1352922066,), (1352922068,), (1352922094,), (1352922097,), (1352922099,), (1352922101,), (1352922104,), (1352922107,), (1352922139,), (1352922141,), (1352922142,), (1352922143,), (1352922192,), (1352922197,), (1352922198,), (1352922199,), (1352922200,), (1352922233,), (1352922236,), (1352922240,), (1352922243,), (1352922246,), (1352922248,), (1352922298,), (1352922301,), (1352922302,), (1352922656,), (1352922659,), (1352922661,), (1352922683,), (1352922698,), (1352922755,), (1352922757,), (1352922759,), (1352922761,), (1352922766,), (1352922769,), (1352923825,), (1352923859,), (1352923869,), (1352924869,), (1352924579,), (1352924663,), (1352924719,), (1352924771,), (1352925762,), (1352925839,), (1352925916,), (1352926946,), (1352927023,), (1352927393,), (1352927487,), (1352927572,), (1352927822,), (1352927825,), (1352927828,), (1352927831,), (1352928295,), (1352928351,), (1352928429,), (1352928483,), (1352928869,), (1352928895,), (1352928904,), (1352928907,), (1352928910,), (1352928961,), (1352928964,), (1352928968,), (1352928972,), (1352928977,), (1352928981,), (1352929029,), (1352929031,), (1352929034,), (1352929057,), (1352929066,), (1352929135,), (1352929140,), (1352929161,), (1352929212,), (1352929241,), (1352929273,), (1352929358,), (1352929364,), (1352929371,), (1352929389,), (1352929785,), (1352929811,), (1352929823,), (1352929829,), (1352929834,), (1352929858,), (1352930044,), (1352930057,), (1352930071,), (1352930236,), (1352930243,), (1352930247,), (1352930253,), (1352930266,), (1352930300,), (1352930474,), (1352930479,), (1352930486,), (1352930488,), (1352930693,), (1352930708,), (1352930712,), (1352930715,), (1352930719,), (1352930724,), (1352930886,), (1352930839,), (1352930853,), (1352930870,), (1352930882,), (1352931172,), (1352931193,), (1352931227,), (1352931249,), (1352931364,), (1352931391,), (1352931403,), (1352931406,), (1352931409,), (1352931412,), (1352931444,), (1352931458,), (1352931475,), (1352931482,), (1352931495,), (1352931607,), (1352931654,), (1352931850,), (1352931951,), (1352931969,), (1352932152,), (1352932192,), (1352932229,), (1352932255,), (1352932260,), (1352932300,), (1352932302,), (1352932304,), (1352932307,), (1352932312,), (1352932320,), (1352932377,), (1352932395,), (1352932429,), (1352932583,), (1352932586,), (1352932590,), (1352932593,), (1352932598,), (1352932609,), (1352932774,), (1352932789,), (1352932829,), (1352932867,), (1352932973,), (1352932977,), (1352932982,), (1352933012,), (1352933050,), (1352933076,), (1352933358,), (1352933407,), (1352933459,), (1352933481,), (1352933484,), (1352933792,), (1352933800,), (1352933805,), (1352933839,), (1352933962,), (1352934001,), (1352934029,), (1352934050,), (1352934053,), (1352934056,), (1352934106,), (1352934133,), (1352934185,), (1352934459,), (1352934446,), (1352934452,), (1352934455,), (1352934456,), (1352934532,), (1352934538,), (1352934543,), (1352934547,), (1352934551,), (1352934554,), (1352934596,), (1352934599,), (1352934601,), (1352934603,), (1352934796,), (1352934848,), (1352934949,), (1352934988,), (1352935045,), (1352935325,), (1352935346,), (1352935359,), (1352935386,), (1352935432,), (1352935461,), (1352935528,), (1352935531,), (1352935614,), (1352935620,), (1352935626,), (1352935631,), (1352935636,), (1352935644,), (1352935726,), (1352935741,), (1352935750,), (1352935762,), (1352935796,), (1352935809,), (1352936013,), (1352936034,), (1352936045,), (1352936823,), (1352937660,), (1352937329,), (1352937636,), (1352937639,), (1352937651,), (1352937764,), (1352937835,), (1352937839,), (1352937847,), (1352937878,), (1352937908,), (1352938024,), (1352938035,), (1352938039,), (1352938080,), (1352938083,), (1352938085,), (1352938094,), (1352938107,), (1352938141,), (1352938144,), (1352938148,), (1352938152,), (1352938155,), (1352938160,), (1352938191,), (1352938195,), (1352938199,), (1352938203,), (1352938206,), (1352938251,), (1352938258,), (1352938373,), (1352938406,), (1352938659,), (1352940413,), (1352940365,), (1352941249,), (1352941277,), (1352941899,), (1352941927,), (1352941953,), (1352941978,), (1352941989,), (1352942080,), (1352942081,), (1352942084,), (1352942086,), (1352942357,), (1352942525,), (1352942530,), (1352942536,), (1352942568,), (1352942595,), (1352942790,), (1352942827,), (1352942992,), (1352943026,), (1352943060,), (1352943132,), (1352943139,), (1352943160,), (1352943168,), (1352943171,), (1352943371,), (1352943388,), (1352943403,), (1352943423,), (1352943631,), (1352943633,), (1352943636,), (1352943679,), (1352943688,), (1352943694,), (1352943889,), (1352943891,), (1352943892,), (1352943894,), (1352943896,), (1352943901,), (1352943953,), (1352943956,), (1352943962,), (1352944104,), (1352944106,), (1352944521,), (1352944566,), (1352944569,), (1352944595,), (1352944829,), (1352944866,), (1352944908,), (1352944909,), (1352944915,), (1352945129,), (1352945094,), (1352945118,), (1352945125,), (1352945321,), (1352945325,), (1352945343,), (1352945345,), (1352945358,), (1352945364,), (1352945438,), (1352945441,), (1352945450,), (1352945456,), (1352945461,), (1352945569,), (1352945577,), (1352945755,), (1352945758,), (1352945761,), (1352945764,), (1352945767,), (1352945803,), (1352945963,), (1352945977,), (1352945979,), (1352945981,), (1352945983,), (1352945987,), (1352946233,), (1352946243,), (1352946250,), (1352946255,), (1352946540,), (1352946703,), (1352946715,), (1352946728,), (1352946731,), (1352946793,), (1352946798,), (1352946807,), (1352946810,), (1352946811,), (1352946869,), (1352946873,), (1352946878,), (1352946880,), (1352947085,), (1352947086,), (1352947088,), (1352947090,), (1352947221,), (1352947226,), (1352947235,), (1352947294,), (1352947296,), (1352947322,), (1352947392,), (1352947394,), (1352947397,), (1352947400,), (1352947405,), (1352947451,), (1352947461,), (1352947760,), (1352947707,), (1352947712,), (1352947728,), (1352947738,), (1352947859,), (1352947861,), (1352947864,), (1352947867,), (1352947870,), (1352947967,), (1352947968,), (1352947970,), (1352948016,), (1352948022,), (1352948031,), (1352948046,), (1352948060,), (1352948072,), (1352948187,), (1352948206,), (1352948208,), (1352948249,), (1352948252,), (1352948255,), (1352948258,), (1352948262,), (1352948312,), (1352948314,), (1352948317,), (1352948321,), (1352948324,), (1352948340,), (1352948405,), (1352948484,), (1352948514,), (1352948550,), (1352948761,), (1352948765,), (1352948833,), (1352948880,), (1352948889,), (1352948983,), (1352948989,), (1352948992,), (1352948994,), (1352948996,), (1352949037,), (1352949038,), (1352949040,), (1352949042,), (1352949044,), (1352949324,), (1352949398,), (1352949447,), (1352949490,), (1352949547,), (1352949555,), (1352949873,), (1352949884,), (1352949899,), (1352949927,), (1352950208,), (1352950278,), (1352950309,), (1352950320,), (1352950326,), (1352950331,), (1352950493,), (1352950497,), (1352950508,), (1352950516,), (1352950525,), (1352950836,), (1352950789,), (1352950822,), (1352950831,), (1352950983,), (1352951003,), (1352951028,), (1352951061,), (1352951080,), (1352951092,), (1352951311,), (1352951353,), (1352951389,), (1352951425,), (1352952499,), (1352952532,), (1352952576,), (1352952639,), (1352952671,), (1352952702,), (1352952792,), (1352952801,), (1352952842,), (1352952886,), (1352952940,), (1352953003,), (1352953217,), (1352953284,), (1352953334,), (1352953367,), (1352953520,), (1352953579,), (1352953638,), (1352953691,), (1352953740,), (1352953786,), (1352954734,), (1352954740,), (1352954743,), (1352954755,), (1352954934,), (1352954942,), (1352954964,), (1352955145,), (1352955376,), (1352955385,), (1352955574,), (1352955579,), (1352955582,), (1352955661,), (1352955811,), (1352955943,), (1352955949,), (1352955953,), (1352955957,), (1352955989,), (1352955992,), (1352955995,), (1352955999,), (1352956085,), (1352956160,), (1352956186,), (1352956212,), (1352957185,), (1352957220,), (1352957250,), (1352957283,), (1352957404,), (1352957425,), (1352959727,), (1352971452,), (1352971456,), (1352971458,), (1352971621,), (1352971655,), (1352971690,), (1352971740,), (1352971801,), (1352971999,), (1352972747,), (1352972756,), (1352972776,), (1352972780,), (1352972828,), (1352973500,), (1352973532,), (1352973642,), (1352973690,), (1352973820,), (1352974131,), (1352974154,), (1352974198,), (1352974234,), (1352974285,), (1352974323,), (1352974518,), (1352974551,), (1352974579,), (1352974618,), (1352975052,), (1352975087,), (1352975113,), (1352975140,), (1352975169,), (1352975200,), (1352975496,), (1352975502,), (1352975518,), (1352975525,), (1352975531,), (1352975785,), (1352975812,), (1352975840,), (1352975879,), (1352975934,), (1352976201,), (1352976210,), (1352976240,), (1352976270,), (1352976619,), (1352976630,), (1352976639,), (1352976702,), (1352976808,), (1352976920,), (1352977563,), (1352977638,), (1352977725,), (1352977763,), (1352977805,), (1352977837,), (1352978122,), (1352978126,), (1352978140,), (1352978349,), (1352978412,), (1352978449,), (1352978476,), (1352978488,), (1352978549,), (1352978525,), (1352978526,), (1352978528,), (1352978530,), (1352978533,), (1352978748,), (1352978766,), (1352978770,), (1352978836,), (1352978840,), (1352978843,), (1352978867,), (1352979097,), (1352979099,), (1352979102,), (1352979108,), (1352979148,), (1352979166,), (1352979212,), (1352979216,), (1352979219,), (1352979222,), (1352979429,), (1352979457,), (1352979484,), (1352979890,), (1352979916,), (1352979955,), (1352979986,), (1352980021,), (1352980049,), (1352980212,), (1352980215,), (1352980216,), (1352980220,), (1352980223,), (1352980347,), (1352980457,), (1352980462,), (1352980485,), (1352980559,), (1352980563,), (1352980568,), (1352980573,), (1352980578,), (1352980621,), (1352980623,), (1352980625,), (1352980627,), (1352980631,), (1352980636,), (1352980773,), (1352980801,), (1352980838,), (1352981403,), (1352981438,), (1352981493,), (1352982371,), (1352982403,), (1352982435,), (1352982519,), (1352983052,), (1352982939,), (1352982995,), (1352983640,), (1352983669,), (1352983739,), (1352983818,), (1352983909,), (1352983994,), (1352984875,), (1352984947,), (1352985009,), (1352985051,), (1352985150,), (1352985191,), (1352985405,), (1352985412,), (1352985415,), (1352985420,), (1352985473,), (1352985477,), (1352985480,), (1352985483,), (1352985585,), (1352985588,), (1352985591,), (1352985594,), (1352985598,), (1352985600,), (1352985666,), (1352985671,), (1352985675,), (1352985681,), (1352985695,), (1352985723,), (1352986027,), (1352986030,), (1352986032,), (1352986034,), (1352986103,), (1352986115,), (1352986119,), (1352986123,), (1352986128,), (1352986130,), (1352986195,), (1352986201,), (1352986205,), (1352986209,), (1352986422,), (1352986434,), (1352986438,), (1352986442,), (1352986445,), (1352986515,), (1352986519,), (1352986525,), (1352986528,), (1352986530,), (1352986622,), (1352986644,), (1352986647,), (1352986651,), (1352986895,), (1352986904,), (1352986913,), (1352986948,), (1352986991,), (1352987037,), (1352987164,), (1352987168,), (1352987172,), (1352987176,), (1352987179,), (1352987183,), (1352987243,), (1352987240,), (1352987533,), (1352987536,), (1352987546,), (1352987549,), (1352987565,), (1352987730,), (1352987749,), (1352987753,), (1352987773,), (1352987804,), (1352987820,), (1352987863,), (1352987866,), (1352987868,), (1352987870,), (1352987999,), (1352988003,), (1352988007,), (1352988015,), (1352988023,), (1352988027,), (1352988140,), (1352988178,), (1352988198,), (1352988203,), (1352988487,), (1352988490,), (1352988951,), (1352988955,), (1352988959,), (1352988988,), (1352989006,), (1352989012,), (1352989085,), (1352989088,), (1352989092,), (1352989095,), (1352989140,), (1352989142,), (1352989144,), (1352989146,), (1352989149,), (1352989438,), (1352989444,), (1352989455,), (1352989462,), (1352989515,), (1352989517,), (1352989729,), (1352989949,), (1352989955,), (1352990077,), (1352990029,), (1352990072,), (1352990192,), (1352990194,), (1352990213,), (1352990366,), (1352990369,), (1352990371,), (1352990478,), (1352990483,), (1352990485,), (1352990487,), (1352990490,), (1352990494,), (1352990533,), (1352990535,), (1352990559,), (1352990562,), (1352990759,), (1352990798,), (1352990834,), (1352991280,), (1352991294,), (1352991298,), (1352991319,), (1352991325,), (1352991548,), (1352991633,), (1352991661,), (1352991696,), (1352991749,), (1352992436,), (1352992554,), (1352992601,), (1352992637,), (1352992949,), (1352992956,), (1352992962,), (1352992967,), (1352992974,), (1352993015,), (1352993027,), (1352993032,), (1352993038,), (1352993162,), (1352993211,), (1352993246,), (1352993273,), (1352993383,), (1352993389,), (1352993395,), (1352993399,), (1352993404,), (1352993464,), (1352993469,), (1352993472,), (1352993475,), (1352993481,), (1352993487,), (1352993603,), (1352993607,), (1352993614,), (1352993624,), (1352993631,), (1352993682,), (1352993665,), (1352993675,), (1352993781,), (1352993786,), (1352993790,), (1352993795,), (1352993798,), (1352993871,), (1352993878,), (1352993885,), (1352993886,), (1352993931,), (1352993935,), (1352993939,), (1352993956,), (1352993992,), (1352994346,), (1352994389,), (1352994412,), (1352994463,), (1352994466,), (1352994470,), (1352994474,), (1352994478,), (1352994536,), (1352994542,), (1352994544,), (1352994546,), (1352994613,), (1352994622,), (1352994627,), (1352994631,), (1352994745,), (1352994749,), (1352994753,), (1352994796,), (1352994800,), (1352994944,), (1352994990,), (1352994993,), (1352994998,), (1352995001,), (1352995007,), (1352995010,), (1352995055,), (1352995077,), (1352995082,), (1352995085,), (1352995156,), (1352995161,), (1352995167,), (1352995171,), (1352995175,), (1352995943,), (1352995977,), (1352996039,), (1352996210,), (1352996240,), (1352996272,), (1352996301,), (1352996334,), (1352996661,), (1352996528,), (1352996574,), (1352996605,), (1352996633,), (1352996656,), (1352996897,), (1352996952,), (1352997021,), (1352997080,), (1352997374,), (1352997378,), (1352997383,), (1352997388,), (1352997393,), (1352997397,), (1352997439,), (1352997443,), (1352997446,), (1352997449,), (1352997451,), (1352997488,), (1352997492,), (1352997496,), (1352997506,), (1352997511,), (1352997579,), (1352997582,), (1352997596,), (1352997661,), (1352997665,), (1352997669,), (1352997674,), (1352997679,), (1352997683,), (1352997710,), (1352997779,), (1352997783,), (1352997789,), (1352997797,), (1352997802,), (1352997931,), (1352997937,), (1352998160,), (1352998164,), (1352998176,), (1352998352,), (1352998426,), (1352998480,), (1352998540,), (1352998607,), (1352998759,), (1352998770,), (1352998783,), (1352998797,), (1352998918,), (1352998926,), (1352999164,), (1352999198,), (1352999731,), (1352999549,), (1352999640,), (1352999694,), (1353000334,), (1353000353,), (1353000360,), (1353000382,), (1353000387,), (1353000399,), (1353000528,), (1353000531,), (1353000537,), (1353000545,), (1353000632,), (1353000636,), (1353000645,), (1353000711,), (1353000714,), (1353000717,), (1353000735,), (1353000741,), (1353000884,), (1353000893,), (1353000897,), (1353000902,), (1353000908,), (1353000913,), (1353001190,), (1353001221,), (1353001249,), (1353001279,), (1353001732,), (1353001761,), (1353001791,), (1353001819,), (1353001846,), (1353002275,), (1353002303,), (1353002331,), (1353002353,), (1353002397,), (1353002401,), (1353002406,), (1353002559,), (1353002595,), (1353002623,), (1353002665,), (1353002708,), (1353002992,), (1353003007,), (1353003009,), (1353003015,), (1353003018,), (1353003164,), (1353003193,), (1353003224,), (1353003256,), (1353003310,), (1353003313,), (1353003315,), (1353003317,), (1353003320,), (1353003324,), (1353003531,), (1353003563,), (1353003596,), (1353003626,), (1353003659,), (1353003695,), (1353003798,), (1353003788,), (1353003794,), (1353003797,), (1353003843,), (1353003847,), (1353003854,), (1353003859,), (1353003863,), (1353003907,), (1353003909,), (1353003911,), (1353003914,), (1353003917,), (1353003921,), (1353004012,), (1353004020,), (1353004038,), (1353004252,), (1353004257,), (1353004262,), (1353004268,), (1353004274,), (1353004306,), (1353004310,), (1353004314,), (1353004320,), (1353004337,), (1353004378,), (1353004392,), (1353004394,), (1353004474,), (1353004478,), (1353004483,), (1353004496,), (1353004506,), (1353004516,), (1353004652,), (1353004675,), (1353004678,), (1353004681,), (1353004685,), (1353004691,), (1353004848,), (1353004855,), (1353004867,), (1353004878,), (1353005005,), (1353005009,), (1353005016,), (1353005027,), (1353005032,), (1353005061,), (1353005144,), (1353005149,), (1353005153,), (1353005160,), (1353005279,), (1353005282,), (1353005833,), (1353006018,), (1353006044,), (1353006047,), (1353006050,), (1353006054,), (1353006654,), (1353006659,), (1353006664,), (1353006669,), (1353006676,), (1353007070,), (1353007072,), (1353007074,), (1353007077,), (1353007080,), (1353007244,), (1353007251,), (1353007256,), (1353007259,), (1353007523,), (1353007525,), (1353007527,), (1353007529,), (1353007530,), (1353007535,), (1353007583,), (1353007592,), (1353007599,), (1353007603,), (1353007644,), (1353007646,), (1353007648,), (1353007650,), (1353007653,), (1353007658,), (1353007694,), (1353007698,), (1353007702,), (1353007706,), (1353007709,), (1353007758,), (1353007762,), (1353007765,), (1353007771,), (1353007776,), (1353007820,), (1353007828,), (1353007840,), (1353007850,), (1353007861,), (1353007891,), (1353008391,), (1353008439,), (1353008486,), (1353008702,), (1353008760,), (1353008815,), (1353008864,), (1353008937,), (1353009468,), (1353009296,), (1353009372,), (1353010004,), (1353010082,), (1353010165,), (1353010224,), (1353010269,), (1353010319,), (1353010923,), (1353011015,), (1353011127,), (1353011252,), (1353011364,), (1353011415,), (1353011603,), (1353011609,), (1353011625,), (1353011657,), (1353011835,), (1353011866,), (1353011896,), (1353011914,), (1353011922,), (1353011929,), (1353011963,), (1353011967,), (1353011971,), (1353011976,), (1353011988,), (1353012201,), (1353012206,), (1353012216,), (1353012230,), (1353012251,), (1353012305,), (1353012310,), (1353012314,), (1353012318,), (1353012323,), (1353012383,), (1353012386,), (1353012389,), (1353012393,), (1353012398,), (1353012443,), (1353012447,), (1353012450,), (1353012453,), (1353012457,), (1353012461,), (1353012566,), (1353012699,), (1353027723,), (1353076602,), (1353076665,), (1353077221,), (1353077224,), (1353077227,), (1353077228,), (1353078467,), (1353078494,), (1353078520,), (1353078549,), (1353078589,), (1353078617,), (1353078961,), (1353078994,), (1353079024,), (1353079052,), (1353079091,), (1353079123,), (1353079216,), (1353079225,), (1353079229,), (1353079231,), (1353079246,), (1353079380,), (1353079407,), (1353079435,), (1353079468,), (1353079498,), (1353079528,), (1353079744,), (1353079769,), (1353079891,), (1353079902,), (1353079905,), (1353079909,), (1353079913,), (1353079953,), (1353079973,), (1353079985,), (1353079990,), (1353079995,), (1353080041,), (1353080046,), (1353080050,), (1353080054,), (1353080101,), (1353080107,), (1353080113,), (1353080117,), (1353080123,), (1353080171,), (1353080176,), (1353080207,), (1353080299,), (1353080674,), (1353080661,), (1353080664,), (1353080667,), (1353080671,), (1353080738,), (1353080740,), (1353080742,), (1353080744,), (1353080810,), (1353080813,), (1353080816,), (1353080870,), (1353080873,), (1353080876,), (1353080920,), (1353080923,), (1353080926,), (1353080973,), (1353080977,), (1353080978,), (1353080984,), (1353081006,), (1353081019,), (1353081086,), (1353081089,), (1353081091,), (1353081094,), (1353081191,), (1353081194,), (1353081198,), (1353081202,), (1353081208,), (1353081211,), (1353081268,), (1353081272,), (1353081275,), (1353081277,), (1353081281,), (1353081319,), (1353081324,), (1353081330,), (1353081333,), (1353081336,), (1353081386,), (1353081389,), (1353081392,), (1353081394,), (1353081436,), (1353081439,), (1353081444,), (1353081449,), (1353081499,), (1353081504,), (1353081509,), (1353081513,), (1353081519,), (1353081526,), (1353081598,), (1353081583,), (1353081587,), (1353081593,), (1353082009,), (1353082028,), (1353082032,), (1353082057,), (1353082062,), (1353082080,), (1353082150,), (1353082153,), (1353082158,), (1353082161,), (1353082165,), (1353082170,), (1353082208,), (1353082212,), (1353082216,), (1353082258,), (1353082260,), (1353082266,), (1353082270,), (1353082276,), (1353082283,), (1353082471,), (1353082487,), (1353082502,), (1353082506,), (1353082537,), (1353082647,), (1353082726,), (1353082729,), (1353082733,), (1353082753,), (1353082871,), (1353082875,), (1353082878,), (1353082903,), (1353082936,), (1353082938,), (1353083102,), (1353083130,), (1353083159,), (1353083480,), (1353083497,), (1353083529,), (1353083541,), (1353083546,), (1353083550,), (1353083589,), (1353083593,), (1353083597,), (1353083601,), (1353083679,), (1353083691,), (1353083701,), (1353083716,), (1353083735,), (1353083741,), (1353083985,), (1353084044,), (1353084077,), (1353084106,), (1353084326,), (1353084328,), (1353084335,), (1353084338,), (1353084376,), (1353084426,), (1353084859,), (1353084890,), (1353084922,), (1353084971,), (1353085001,), (1353085683,), (1353085654,), (1353085658,), (1353085661,), (1353085663,), (1353086633,), (1353086649,), (1353087006,), (1353087051,), (1353087079,), (1353087091,), (1353087096,), (1353087730,), (1353087758,), (1353087813,), (1353087816,), (1353087839,), (1353087867,), (1353087896,), (1353088130,), (1353088144,), (1353088154,), (1353088157,), (1353088161,), (1353088329,), (1353088337,), (1353088342,), (1353088344,), (1353088378,), (1353088381,), (1353088389,), (1353088393,), (1353088396,), (1353088467,), (1353088480,), (1353088496,), (1353088508,), (1353088513,), (1353088525,), (1353089469,), (1353089517,), (1353089551,), (1353090026,), (1353090010,), (1353090021,), (1353090420,), (1353090444,), (1353090453,), (1353090461,), (1353090487,), (1353090540,), (1353090923,), (1353090934,), (1353090944,), (1353090976,), (1353091004,), (1353091018,), (1353091110,), (1353091122,), (1353091126,), (1353091158,), (1353091163,), (1353091174,), (1353091179,), (1353091207,), (1353091238,), (1353091390,), (1353091394,), (1353091396,), (1353091405,), (1353091407,), (1353091444,), (1353091448,), (1353091461,), (1353091468,), (1353091649,), (1353091699,), (1353091747,), (1353091797,), (1353091861,), (1353091925,), (1353092332,), (1353092372,), (1353092403,), (1353092430,), (1353092457,), (1353092501,), (1353092958,), (1353093036,), (1353093400,), (1353093410,), (1353093425,), (1353093892,), (1353093946,), (1353094584,), (1353094617,), (1353094644,), (1353094667,), (1353094682,), (1353095214,), (1353095289,), (1353095371,), (1353095429,), (1353095446,), (1353095636,), (1353095605,), (1353096830,), (1353097084,), (1353097095,), (1353097131,), (1353097508,), (1353097538,), (1353097568,), (1353097609,), (1353097648,), (1353097682,), (1353097875,), (1353097882,), (1353097886,), (1353098219,), (1353098248,), (1353098297,), (1353098314,), (1353098336,), (1353098341,), (1353098541,), (1353098593,), (1353098618,), (1353098648,), (1353098718,), (1353098764,), (1353098969,), (1353098976,), (1353098990,), (1353099002,), (1353099125,), (1353099155,), (1353099190,), (1353099237,), (1353099268,), (1353099295,), (1353099695,), (1353099726,), (1353099777,), (1353099781,), (1353099791,), (1353100064,), (1353100100,), (1353100141,), (1353100144,), (1353100423,), (1353100442,), (1353100471,), (1353100472,), (1353100476,), (1353100488,), (1353100517,), (1353100526,), (1353100530,), (1353100543,), (1353100643,), (1353100647,), (1353100652,), (1353102366,), (1353111678,), (1353111710,), (1353111738,), (1353111778,), (1353111817,), (1353111848,), (1353112060,), (1353112063,), (1353112066,), (1353112069,), (1353112499,), (1353113056,), (1353113077,), (1353113082,), (1353113084,), (1353113088,), (1353113116,), (1353113120,), (1353113124,), (1353113128,), (1353113131,), (1353113287,), (1353113318,), (1353113350,), (1353113378,), (1353113408,), (1353113447,), (1353113546,), (1353113550,), (1353113553,), (1353113557,), (1353113562,), (1353113611,), (1353113616,), (1353113623,), (1353113635,), (1353113638,), (1353113685,), (1353113700,), (1353113705,), (1353113710,), (1353113714,), (1353113750,), (1353113762,), (1353113779,), (1353113788,), (1353113794,), (1353113810,), (1353113872,), (1353113879,), (1353113885,), (1353113896,), (1353114185,), (1353114189,), (1353114193,), (1353114206,), (1353114230,), (1353114243,), (1353114298,), (1353114302,), (1353114307,), (1353114312,), (1353114378,), (1353114383,), (1353114388,), (1353114394,), (1353114659,), (1353114581,), (1353114591,), (1353114619,), (1353114646,), (1353114654,), (1353114949,), (1353114976,), (1353115047,), (1353115133,), (1353115138,), (1353115173,), (1353115194,), (1353115204,), (1353115229,), (1353115254,), (1353115356,), (1353115366,), (1353115370,), (1353115380,), (1353115410,), (1353115422,), (1353115542,), (1353115569,), (1353115586,), (1353115976,), (1353116007,), (1353116033,), (1353116089,), (1353116148,), (1353116371,), (1353116374,), (1353116377,), (1353116379,), (1353116381,), (1353116435,), (1353116438,), (1353116442,), (1353116445,), (1353116449,), (1353116451,), (1353116493,), (1353116504,), (1353116509,), (1353116511,), (1353116564,), (1353116568,), (1353116573,), (1353116577,), (1353116582,), (1353116589,), (1353116645,), (1353116649,), (1353116652,), (1353116653,), (1353116655,), (1353116819,), (1353116855,), (1353116858,), (1353116862,), (1353116866,), (1353116886,), (1353116988,), (1353116991,), (1353116993,), (1353116996,), (1353117050,), (1353117066,), (1353117095,), (1353117126,), (1353117154,), (1353117186,), (1353117410,), (1353117413,), (1353117415,), (1353117421,), (1353117426,), (1353117473,), (1353118535,), (1353118804,), (1353118813,), (1353118873,), (1353118876,), (1353118878,), (1353118955,), (1353118958,), (1353118963,), (1353118966,), (1353118971,), (1353119023,), (1353119234,), (1353119244,), (1353119247,), (1353119274,), (1353119309,), (1353119349,), (1353119464,), (1353119495,), (1353119521,), (1353119524,), (1353119527,), (1353119594,), (1353119597,), (1353119601,), (1353119604,), (1353119642,), (1353119662,), (1353119664,), (1353119670,), (1353119676,), (1353119758,), (1353119715,), (1353119742,), (1353119749,), (1353119952,), (1353119979,), (1353120006,), (1353120033,), (1353120042,), (1353120045,), (1353120113,), (1353120116,), (1353120121,), (1353120299,), (1353120302,), (1353120305,), (1353120307,), (1353120310,), (1353120312,), (1353120366,), (1353120370,), (1353120379,), (1353120382,), (1353120469,), (1353120471,), (1353120473,), (1353120476,), (1353120482,), (1353120486,), (1353120534,), (1353120539,), (1353120541,), (1353120589,), (1353120591,), (1353120593,), (1353120596,), (1353120708,), (1353120719,), (1353120782,), (1353120785,), (1353120793,), (1353120802,), (1353120809,), (1353120855,), (1353120867,), (1353120871,), (1353120872,), (1353120875,), (1353120878,), (1353120963,), (1353120967,), (1353120971,), (1353120975,), (1353120979,), (1353121023,), (1353121030,), (1353121032,), (1353121255,), (1353121263,), (1353121267,), (1353121271,), (1353121276,), (1353121437,), (1353121445,), (1353121451,), (1353121458,), (1353121469,), (1353122341,), (1353122166,), (1353122223,), (1353122282,), (1353122925,), (1353122976,), (1353123036,), (1353123081,), (1353123111,), (1353123151,), (1353123576,), (1353123649,), (1353123733,), (1353123821,), (1353123910,), (1353124386,), (1353124620,), (1353124658,), (1353124695,), (1353125059,), (1353125088,), (1353125125,), (1353125143,), (1353125149,), (1353125180,), (1353125326,), (1353125367,), (1353125404,), (1353127014,), (1353127047,), (1353127081,), (1353127113,), (1353127146,), (1353127176,), (1353127742,), (1353127840,), (1353127887,), (1353127920,), (1353128020,), (1353128037,), (1353128060,), (1353128073,), (1353128086,), (1353128090,), (1353128429,), (1353128534,), (1353128643,), (1353128751,), (1353128869,), (1353128980,), (1353129287,), (1353129337,), (1353129383,), (1353129453,), (1353129879,), (1353129909,), (1353129934,), (1353129973,), (1353130033,), (1353130084,), (1353130390,), (1353130396,), (1353130402,), (1353130406,), (1353130633,), (1353130639,), (1353130644,), (1353130654,), (1353130681,), (1353130697,), (1353130862,), (1353130868,), (1353130873,), (1353130876,), (1353130881,), (1353131055,), (1353131013,), (1353131017,), (1353131020,), (1353131025,), (1353131193,), (1353131201,), (1353131206,), (1353131211,), (1353131227,), (1353131237,), (1353131329,), (1353131333,), (1353131346,), (1353131352,), (1353131396,), (1353131405,), (1353131413,), (1353131419,), (1353131424,), (1353131446,), (1353131506,), (1353131517,), (1353131522,), (1353131528,), (1353131535,), (1353131539,), (1353131576,), (1353131582,), (1353131592,), (1353131599,), (1353131611,), (1353131686,), (1353131689,), (1353131691,), (1353131695,), (1353131702,), (1353131712,), (1353131750,), (1353131755,), (1353131763,), (1353131766,), (1353131789,), (1353131798,), (1353131967,), (1353131972,), (1353131981,), (1353131994,), (1353131998,), (1353132032,), (1353132038,), (1353132043,), (1353132048,), (1353132052,), (1353132134,), (1353132137,), (1353132149,), (1353132159,), (1353132238,), (1353132244,), (1353132249,), (1353132268,), (1353132275,), (1353132279,), (1353132308,), (1353132313,), (1353132317,), (1353132322,), (1353132327,), (1353132417,), (1353132498,), (1353132602,), (1353132557,), (1353132582,), (1353132586,), (1353132591,), (1353132597,), (1353132655,), (1353132660,), (1353132665,), (1353132670,), (1353132686,), (1353132789,), (1353132936,), (1353132975,), (1353133006,), (1353133038,), (1353133070,), (1353133215,), (1353133219,), (1353133223,), (1353133226,), (1353133765,), (1353133810,), (1353133844,), (1353133849,), (1353133854,), (1353133987,), (1353134004,), (1353134036,), (1353134070,), (1353134421,), (1353134449,), (1353134479,), (1353134490,), (1353134495,), (1353134646,), (1353134664,), (1353134680,), (1353134769,), (1353135009,), (1353135031,), (1353135035,), (1353135039,), (1353135042,), (1353135046,), (1353135085,), (1353135091,), (1353135350,), (1353135360,), (1353135371,), (1353135392,), (1353135537,), (1353135609,), (1353135669,), (1353135675,), (1353135680,), (1353135825,), (1353135842,), (1353135845,), (1353135851,), (1353135866,), (1353136055,), (1353136060,), (1353163056,), (1353163053,), (1353163289,), (1353163457,), (1353163612,), (1353163719,), (1353163723,), (1353163767,), (1353163787,), (1353163790,), (1353163822,), (1353163828,), (1353164461,), (1353164468,), (1353164603,), (1353164608,), (1353164644,), (1353164648,), (1353164931,), (1353164963,), (1353165435,), (1353166256,), (1353166265,), (1353166465,), (1353166469,), (1353166516,), (1353166591,), (1353166595,), (1353166623,), (1353166864,), (1353166892,), (1353167146,), (1353167276,), (1353168141,), (1353168517,), (1353168521,), (1353169027,), (1353169820,), (1353169917,), (1353170380,), (1353170417,), (1353174780,), (1353175039,), (1353175146,), (1353177629,), (1353177567,), (1353177600,), (1353177925,), (1353180426,), (1353180650,), (1353180683,), (1353181324,), (1353181604,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'23042025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22354290]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535] map_info['map_portfolio_photo'] : {22354290: [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535]} final : True mtd_id 4302 list_pids : [1353119758, 1353119676, 1353119670, 1353119664, 1353119662, 1353119642, 1353119604, 1353119601, 1353119597, 1353119594, 1353119527, 1353119524, 1353119521, 1353119495, 1353119464, 1353119349, 1353119309, 1353119274, 1353119247, 1353119244, 1353119234, 1353119023, 1353118971, 1353118966, 1353118963, 1353118958, 1353118955, 1353118878, 1353118876, 1353118873, 1353118813, 1353118804, 1353118535] Looping around the photos to save general results len do output : 1 /22354290Didn'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, '2755675') ('4302', '22354290', '1353119758', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119676', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119670', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119664', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119662', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119642', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119604', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119601', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119597', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119594', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119527', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119524', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119521', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119495', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119464', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119349', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119309', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119274', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119247', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119244', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119234', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353119023', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118971', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118966', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118963', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118958', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118955', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118878', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118876', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118873', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118813', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118804', None, None, None, None, None, '2755675') ('4302', None, None, None, None, None, None, None, '2755675') ('4302', '22354290', '1353118535', None, None, None, None, None, '2755675') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '22354290', 'None', None, None, None, None, '2755675'), ('4302', '22354290', '1353119758', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119676', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119670', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119664', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119662', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119642', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119604', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119601', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119597', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119594', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119527', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119524', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119521', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119495', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119464', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119349', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119309', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119274', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119247', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119244', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119234', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353119023', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118971', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118966', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118963', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118958', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118955', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118878', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118876', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118873', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118813', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118804', None, None, None, None, None, '2755675'), ('4302', '22354290', '1353118535', None, None, None, None, None, '2755675')] time used for this insertion : 0.020071983337402344 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.576076030731201 time spend to save output : 0.020359516143798828 total time spend for step 5 : 2.596435546875 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 (2755675) 3.14user 2.25system 0:18.74elapsed 28%CPU (0avgtext+0avgdata 170468maxresident)k 304inputs+26432outputs (8major+81336minor)pagefaults 0swaps