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 : 2029457 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 (2742125) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2742125) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240699 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2742125'] with mtr_portfolio_ids : ['22240699'] and first list_photo_ids : [] new path : /proc/2029457/ Name: python3 Umask: 0002 State: R (running) Tgid: 2029457 Ngid: 0 Pid: 2029457 PPid: 2029456 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2029457 NSpid: 2029457 NSpgid: 2028245 NSsid: 2028245 VmPeak: 1106928 kB VmSize: 1106928 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97684 kB VmRSS: 97640 kB RssAnon: 59796 kB RssFile: 37844 kB RssShmem: 0 kB VmData: 865676 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 544 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 55 nonvoluntary_ctxt_switches: 176 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2029457', 'Ngid': '0', 'Pid': '2029457', 'PPid': '2029456', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2029457', 'NSpid': '2029457', 'NSpgid': '2028245', 'NSsid': '2028245', 'VmPeak': '1106928 kB', 'VmSize': '1106928 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97684 kB', 'VmRSS': '97640 kB', 'RssAnon': '59796 kB', 'RssFile': '37844 kB', 'RssShmem': '0 kB', 'VmData': '865676 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '544 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '55', 'nonvoluntary_ctxt_switches': '176'} ('datou_batch_current', '2029457', '1106928', '0', '1106928', '865676', '97640', b'', 'marlene', '2742125') 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 (22240699) 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 (2742125 ) ) 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 (22240699) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1351290501, 'portfolio_id': 22240699}, {'photo_id': 1351290066, 'portfolio_id': 22240699}, {'photo_id': 1351290062, 'portfolio_id': 22240699}, {'photo_id': 1351290059, 'portfolio_id': 22240699}, {'photo_id': 1351290054, 'portfolio_id': 22240699}, {'photo_id': 1351290047, 'portfolio_id': 22240699}, {'photo_id': 1351289936, 'portfolio_id': 22240699}, {'photo_id': 1351289933, 'portfolio_id': 22240699}, {'photo_id': 1351289890, 'portfolio_id': 22240699}, {'photo_id': 1351289887, 'portfolio_id': 22240699}, {'photo_id': 1351289883, 'portfolio_id': 22240699}, {'photo_id': 1351289880, 'portfolio_id': 22240699}, {'photo_id': 1351289878, 'portfolio_id': 22240699}, {'photo_id': 1351289851, 'portfolio_id': 22240699}, {'photo_id': 1351289848, 'portfolio_id': 22240699}, {'photo_id': 1351289845, 'portfolio_id': 22240699}, {'photo_id': 1351289842, 'portfolio_id': 22240699}, {'photo_id': 1351289841, 'portfolio_id': 22240699}, {'photo_id': 1351289814, 'portfolio_id': 22240699}, {'photo_id': 1351289812, 'portfolio_id': 22240699}, {'photo_id': 1351289793, 'portfolio_id': 22240699}, {'photo_id': 1351289779, 'portfolio_id': 22240699}, {'photo_id': 1351289775, 'portfolio_id': 22240699}, {'photo_id': 1351289769, 'portfolio_id': 22240699}, {'photo_id': 1351289733, 'portfolio_id': 22240699}, {'photo_id': 1351289729, 'portfolio_id': 22240699}, {'photo_id': 1351289623, 'portfolio_id': 22240699}, {'photo_id': 1351289603, 'portfolio_id': 22240699}, {'photo_id': 1351289578, 'portfolio_id': 22240699}, {'photo_id': 1351289560, 'portfolio_id': 22240699}, {'photo_id': 1351289531, 'portfolio_id': 22240699}, {'photo_id': 1351289432, 'portfolio_id': 22240699}, {'photo_id': 1351289084, 'portfolio_id': 22240699}, {'photo_id': 1351289078, 'portfolio_id': 22240699}, {'photo_id': 1351289068, 'portfolio_id': 22240699}, {'photo_id': 1351288828, 'portfolio_id': 22240699}, {'photo_id': 1351288776, 'portfolio_id': 22240699}, {'photo_id': 1351288740, 'portfolio_id': 22240699}, {'photo_id': 1351288678, 'portfolio_id': 22240699}] map_portfolio_id_photo_id: {22240699: [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678]} ##### 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 : 2.4874324798583984 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Apr 11 06:06: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22240699) 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 : 22240699 get user id for portfolio 22240699 get sub ptf for main ptf 22240699, type 3726 and hashtags ['papier', 'Carton_brun', 'Teint_Dans_La_Masse', 'mal_croppe', 'metal', 'kraft', 'autre_refus', 'flou', 'plastique', 'Carton_gris', 'cartonnette', 'environnement'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22240699 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','Teint_Dans_La_Masse','mal_croppe','metal','kraft','autre_refus','flou','plastique','Carton_gris','cartonnette','environnement')) 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`=22240699 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','Teint_Dans_La_Masse','mal_croppe','metal','kraft','autre_refus','flou','plastique','Carton_gris','cartonnette','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 22240699, 'sub_port_id': 22240700, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710653, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}, 'kraft': {'main_port_id': 22240699, 'sub_port_id': 22240701, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710654, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}, 'plastique': {'main_port_id': 22240699, 'sub_port_id': 22240702, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710655, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}, 'metal': {'main_port_id': 22240699, 'sub_port_id': 22240703, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710656, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}, 'autre_refus': {'main_port_id': 22240699, 'sub_port_id': 22240704, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710657, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}, 'mal_croppe': {'main_port_id': 22240699, 'sub_port_id': 22240705, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710658, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}, 'flou': {'main_port_id': 22240699, 'sub_port_id': 22240706, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710659, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}, 'papier': {'main_port_id': 22240699, 'sub_port_id': 22240707, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710660, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}, 'environnement': {'main_port_id': 22240699, 'sub_port_id': 22240708, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710661, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}, 'Carton_gris': {'main_port_id': 22240699, 'sub_port_id': 22240709, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710662, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}, 'cartonnette': {'main_port_id': 22240699, 'sub_port_id': 22240710, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710663, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 22240699, 'sub_port_id': 22240711, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710664, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22240700 , 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=22240699 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 (22240700) result : ((1351289876,), (1351290045,), (1351291416,), (1351291417,), (1351303769,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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 22240701 , 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=22240699 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 (22240701) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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 22240702 , 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=22240699 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 (22240702) result : ((1351289877,), (1351291425,), (1351298044,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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 22240703 , 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=22240699 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 (22240703) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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 22240704 , 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=22240699 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 (22240704) result : ((1351289508,), (1351289509,), (1351290213,), (1351290644,), (1351290645,), (1351290646,), (1351291407,), (1351291408,), (1351298031,), (1351298032,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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 22240705 , 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=22240699 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 (22240705) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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 22240706 , 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=22240699 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 (22240706) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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 22240707 , 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=22240699 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 (22240707) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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 22240708 , 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=22240699 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 (22240708) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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 22240709 , 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=22240699 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 (22240709) result : ((1351289540,), (1351289873,), (1351289874,), (1351290042,), (1351290043,), (1351290243,), (1351290244,), (1351298039,), (1351303755,), (1351303761,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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 22240710 , 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=22240699 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 (22240710) result : ((1351289875,), (1351290279,), (1351290280,), (1351291413,), (1351303768,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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 22240711 , 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=22240699 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 (22240711) result : ((1351289503,), (1351289504,), (1351289505,), (1351289506,), (1351289528,), (1351289529,), (1351289871,), (1351289872,), (1351290040,), (1351290182,), (1351290184,), (1351290185,), (1351290642,), (1351290643,), (1351291395,), (1351291396,), (1351291397,), (1351291398,), (1351291400,), (1351298008,), (1351298009,), (1351298010,), (1351298011,), (1351303737,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22240699) result : ((1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,)) 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`=22240699 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','Teint_Dans_La_Masse','mal_croppe','metal','kraft','autre_refus','flou','plastique','Carton_gris','cartonnette','environnement')) 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`=22240699 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','Teint_Dans_La_Masse','mal_croppe','metal','kraft','autre_refus','flou','plastique','Carton_gris','cartonnette','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 22240699, 'sub_port_id': 22240712, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710665, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}, 'kraft': {'main_port_id': 22240699, 'sub_port_id': 22240713, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710666, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}, 'plastique': {'main_port_id': 22240699, 'sub_port_id': 22240714, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710667, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}, 'metal': {'main_port_id': 22240699, 'sub_port_id': 22240715, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710668, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}, 'autre_refus': {'main_port_id': 22240699, 'sub_port_id': 22240716, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710669, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}, 'mal_croppe': {'main_port_id': 22240699, 'sub_port_id': 22240717, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710670, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}, 'flou': {'main_port_id': 22240699, 'sub_port_id': 22240718, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710671, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}, 'papier': {'main_port_id': 22240699, 'sub_port_id': 22240719, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710672, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}, 'environnement': {'main_port_id': 22240699, 'sub_port_id': 22240720, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710673, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}, 'Carton_gris': {'main_port_id': 22240699, 'sub_port_id': 22240721, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710674, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}, 'cartonnette': {'main_port_id': 22240699, 'sub_port_id': 22240722, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710675, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22240699, 'sub_port_id': 22240723, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14710676, 'last_updated_at': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 20, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 20, 24, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240712,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240700 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240713,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240701 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240714,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240702 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240715,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240703 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240716,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240704 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240717,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240705 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240718,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240706 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240719,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240707 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240720,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240708 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240721,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240709 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240722,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240710 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22240723,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22240711 lien utilise dans velours : https://www.fotonower.com/velours/22240712,22240713,22240714,22240715,22240716,22240717,22240718,22240719,22240720,22240721,22240722,22240723?tags=Carton_brun,kraft,plastique,metal,autre_refus,mal_croppe,flou,papier,environnement,Carton_gris,cartonnette,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22240699]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678] map_info['map_portfolio_photo'] : {22240699: [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678]} final : False mtd_id 4302 list_pids : [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678] Looping around the photos to save general results len do output : 1 /22240699. 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, '2742125') ('4302', '22240699', '1351290501', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290066', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290062', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290059', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290054', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290047', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289936', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289933', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289890', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289887', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289883', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289880', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289878', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289851', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289848', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289845', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289842', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289841', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289814', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289812', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289793', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289779', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289775', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289769', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289733', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289729', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289623', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289603', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289578', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289560', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289531', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289432', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289084', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289078', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289068', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288828', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288776', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288740', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288678', None, None, None, None, None, '2742125') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22240699', "{'Carton_brun': 22240700, 'kraft': 22240701, 'plastique': 22240702, 'metal': 22240703, 'autre_refus': 22240704, 'mal_croppe': 22240705, 'flou': 22240706, 'papier': 22240707, 'environnement': 22240708, 'Carton_gris': 22240709, 'cartonnette': 22240710, 'Teint_Dans_La_Masse': 22240711}", None, None, None, None, '2742125'), ('4302', '22240699', '1351290501', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290066', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290062', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290059', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290054', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290047', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289936', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289933', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289890', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289887', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289883', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289880', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289878', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289851', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289848', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289845', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289842', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289841', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289814', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289812', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289793', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289779', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289775', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289769', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289733', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289729', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289623', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289603', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289578', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289560', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289531', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289432', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289084', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289078', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289068', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288828', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288776', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288740', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288678', None, None, None, None, None, '2742125')] Catched exception ! Connect or reconnect ! time used for this insertion : 2.029475688934326 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6885600090026855 time spend to save output : 2.029930353164673 total time spend for step 1 : 5.718490362167358 step2:final Fri Apr 11 06:06:35 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 (22240699) 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 22240699 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1351288828,1351288776,1351288740,1351288678,1351289084,1351289078,1351289068,1351289432,1351289623,1351289603,1351289578,1351289560,1351289531,1351289733,1351289729,1351289814,1351289812,1351289793,1351289779,1351289775,1351289769,1351289851,1351289848,1351289845,1351289842,1351289841,1351289890,1351289887,1351289883,1351289880,1351289878,1351289936,1351289933,1351290066,1351290062,1351290059,1351290054,1351290047,1351290501); 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([22240699]) Inside saveOutput : final : False verbose : True original output for save of step final : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} new output for save of step final : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678] map_info['map_portfolio_photo'] : {22240699: [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678]} final : False mtd_id 4302 list_pids : [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678] Looping around the photos to save general results len do output : 39 /1351290501.Didn't retrieve data . /1351290066.Didn't retrieve data . /1351290062.Didn't retrieve data . /1351290059.Didn't retrieve data . /1351290054.Didn't retrieve data . /1351290047.Didn't retrieve data . /1351289936.Didn't retrieve data . /1351289933.Didn't retrieve data . /1351289890.Didn't retrieve data . /1351289887.Didn't retrieve data . /1351289883.Didn't retrieve data . /1351289880.Didn't retrieve data . /1351289878.Didn't retrieve data . /1351289851.Didn't retrieve data . /1351289848.Didn't retrieve data . /1351289845.Didn't retrieve data . /1351289842.Didn't retrieve data . /1351289841.Didn't retrieve data . /1351289814.Didn't retrieve data . /1351289812.Didn't retrieve data . /1351289793.Didn't retrieve data . /1351289779.Didn't retrieve data . /1351289775.Didn't retrieve data . /1351289769.Didn't retrieve data . /1351289733.Didn't retrieve data . /1351289729.Didn't retrieve data . /1351289623.Didn't retrieve data . /1351289603.Didn't retrieve data . /1351289578.Didn't retrieve data . /1351289560.Didn't retrieve data . /1351289531.Didn't retrieve data . /1351289432.Didn't retrieve data . /1351289084.Didn't retrieve data . /1351289078.Didn't retrieve data . /1351289068.Didn't retrieve data . /1351288828.Didn't retrieve data . /1351288776.Didn't retrieve data . /1351288740.Didn't retrieve data . /1351288678.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, '2742125') ('4302', '22240699', '1351290501', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290066', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290062', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290059', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290054', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290047', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289936', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289933', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289890', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289887', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289883', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289880', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289878', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289851', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289848', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289845', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289842', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289841', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289814', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289812', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289793', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289779', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289775', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289769', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289733', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289729', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289623', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289603', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289578', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289560', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289531', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289432', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289084', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289078', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289068', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288828', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288776', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288740', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288678', None, None, None, None, None, '2742125') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 117 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22240699', '1351290501', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351290066', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351290062', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351290059', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351290054', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351290047', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289936', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289933', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289890', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289887', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289883', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289880', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289878', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289851', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289848', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289845', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289842', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289841', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289814', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289812', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289793', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289779', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289775', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289769', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289733', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289729', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289623', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289603', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289578', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289560', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289531', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289432', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289084', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289078', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351289068', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351288828', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351288776', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351288740', '0.04119147600224114', None, None, None, None, '2742125'), ('4302', '22240699', '1351288678', '0.04119147600224114', None, None, None, None, '2742125')] time used for this insertion : 0.05107879638671875 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.7430248260498047 time spend to save output : 0.05268263816833496 total time spend for step 2 : 2.7957074642181396 step3:velours_tree Fri Apr 11 06:06:38 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 : {22240699: [{'Carton_brun': 22240700, 'kraft': 22240701, 'plastique': 22240702, 'metal': 22240703, 'autre_refus': 22240704, 'mal_croppe': 22240705, 'flou': 22240706, 'papier': 22240707, 'environnement': 22240708, 'Carton_gris': 22240709, 'cartonnette': 22240710, 'Teint_Dans_La_Masse': 22240711}]} input_args_next_step : {22240699: ()} output_args : {22240699: [{'Carton_brun': 22240700, 'kraft': 22240701, 'plastique': 22240702, 'metal': 22240703, 'autre_refus': 22240704, 'mal_croppe': 22240705, 'flou': 22240706, 'papier': 22240707, 'environnement': 22240708, 'Carton_gris': 22240709, 'cartonnette': 22240710, 'Teint_Dans_La_Masse': 22240711}]} args : 22240699 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 22240700, 'kraft': 22240701, 'plastique': 22240702, 'metal': 22240703, 'autre_refus': 22240704, 'mal_croppe': 22240705, 'flou': 22240706, 'papier': 22240707, 'environnement': 22240708, 'Carton_gris': 22240709, 'cartonnette': 22240710, 'Teint_Dans_La_Masse': 22240711},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22240699) 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([22240699]) 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.39797401428222656 time spend to save output : 4.6253204345703125e-05 total time spend for step 3 : 0.39802026748657227 step4:send_mail_cod Fri Apr 11 06:06:38 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 : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} input_args_next_step : {1351290501: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351290501 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351290066 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351290062 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351290059 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351290054 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351290047 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289936 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289933 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289890 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289887 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289883 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289880 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289878 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289851 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289848 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289845 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289842 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289841 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289814 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289812 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289793 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289779 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289775 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289769 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289733 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289729 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289623 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289603 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289578 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289560 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289531 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289432 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289084 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289078 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351289068 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351288828 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351288776 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351288740 depend.output_id : 0 input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ()} output_args : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',)} args : 1351288678 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 : {22240699: [{'Carton_brun': 22240700, 'kraft': 22240701, 'plastique': 22240702, 'metal': 22240703, 'autre_refus': 22240704, 'mal_croppe': 22240705, 'flou': 22240706, 'papier': 22240707, 'environnement': 22240708, 'Carton_gris': 22240709, 'cartonnette': 22240710, 'Teint_Dans_La_Masse': 22240711}]} input_args_next_step : {1351290501: ('0.04119147600224114',), 1351290066: ('0.04119147600224114',), 1351290062: ('0.04119147600224114',), 1351290059: ('0.04119147600224114',), 1351290054: ('0.04119147600224114',), 1351290047: ('0.04119147600224114',), 1351289936: ('0.04119147600224114',), 1351289933: ('0.04119147600224114',), 1351289890: ('0.04119147600224114',), 1351289887: ('0.04119147600224114',), 1351289883: ('0.04119147600224114',), 1351289880: ('0.04119147600224114',), 1351289878: ('0.04119147600224114',), 1351289851: ('0.04119147600224114',), 1351289848: ('0.04119147600224114',), 1351289845: ('0.04119147600224114',), 1351289842: ('0.04119147600224114',), 1351289841: ('0.04119147600224114',), 1351289814: ('0.04119147600224114',), 1351289812: ('0.04119147600224114',), 1351289793: ('0.04119147600224114',), 1351289779: ('0.04119147600224114',), 1351289775: ('0.04119147600224114',), 1351289769: ('0.04119147600224114',), 1351289733: ('0.04119147600224114',), 1351289729: ('0.04119147600224114',), 1351289623: ('0.04119147600224114',), 1351289603: ('0.04119147600224114',), 1351289578: ('0.04119147600224114',), 1351289560: ('0.04119147600224114',), 1351289531: ('0.04119147600224114',), 1351289432: ('0.04119147600224114',), 1351289084: ('0.04119147600224114',), 1351289078: ('0.04119147600224114',), 1351289068: ('0.04119147600224114',), 1351288828: ('0.04119147600224114',), 1351288776: ('0.04119147600224114',), 1351288740: ('0.04119147600224114',), 1351288678: ('0.04119147600224114',), 22240699: ()} output_args : {22240699: [{'Carton_brun': 22240700, 'kraft': 22240701, 'plastique': 22240702, 'metal': 22240703, 'autre_refus': 22240704, 'mal_croppe': 22240705, 'flou': 22240706, 'papier': 22240707, 'environnement': 22240708, 'Carton_gris': 22240709, 'cartonnette': 22240710, 'Teint_Dans_La_Masse': 22240711}]} args : 22240699 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :40, first value : ('0.04119147600224114',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22240699) 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 (1351290501,1351290066,1351290062,1351290059,1351290054,1351290047,1351289936,1351289933,1351289890,1351289887,1351289883,1351289880,1351289878,1351289851,1351289848,1351289845,1351289842,1351289841,1351289814,1351289812,1351289793,1351289779,1351289775,1351289769,1351289733,1351289729,1351289623,1351289603,1351289578,1351289560,1351289531,1351289432,1351289084,1351289078,1351289068,1351288828,1351288776,1351288740,1351288678) Found this number of photos: 39 ##### Call download_photos : nb_thread : 5 begin to download photo : 1351288678 begin to download photo : 1351289531 begin to download photo : 1351289775 begin to download photo : 1351289848 begin to download photo : 1351289936 download finish for photo 1351288678 begin to download photo : 1351288740 download finish for photo 1351289775 begin to download photo : 1351289779 download finish for photo 1351289848 begin to download photo : 1351289851 download finish for photo 1351289531 begin to download photo : 1351289560 download finish for photo 1351289936 begin to download photo : 1351290047 download finish for photo 1351288740 begin to download photo : 1351288776 download finish for photo 1351289851 begin to download photo : 1351289878 download finish for photo 1351290047 begin to download photo : 1351290054 download finish for photo 1351289560 begin to download photo : 1351289578 download finish for photo 1351289779 begin to download photo : 1351289793 download finish for photo 1351288776 begin to download photo : 1351288828 download finish for photo 1351290054 begin to download photo : 1351290059 download finish for photo 1351289578 begin to download photo : 1351289603 download finish for photo 1351289878 begin to download photo : 1351289880 download finish for photo 1351289793 begin to download photo : 1351289812 download finish for photo 1351288828 begin to download photo : 1351289068 download finish for photo 1351289812 begin to download photo : 1351289814 download finish for photo 1351289068 begin to download photo : 1351289078 download finish for photo 1351289603 begin to download photo : 1351289623 download finish for photo 1351289880 begin to download photo : 1351289883 download finish for photo 1351290059 begin to download photo : 1351290062 download finish for photo 1351289814 begin to download photo : 1351289841 download finish for photo 1351289623 begin to download photo : 1351289729 download finish for photo 1351289078 begin to download photo : 1351289084 download finish for photo 1351290062 begin to download photo : 1351290066 download finish for photo 1351289841 begin to download photo : 1351289842 download finish for photo 1351289084 begin to download photo : 1351289432 download finish for photo 1351289729 begin to download photo : 1351289733 download finish for photo 1351289883 begin to download photo : 1351289887 download finish for photo 1351290066 begin to download photo : 1351290501 download finish for photo 1351289432 download finish for photo 1351289733 begin to download photo : 1351289769 download finish for photo 1351289842 begin to download photo : 1351289845 download finish for photo 1351289887 begin to download photo : 1351289890 download finish for photo 1351290501 download finish for photo 1351289769 download finish for photo 1351289890 begin to download photo : 1351289933 download finish for photo 1351289845 download finish for photo 1351289933 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette222407011744344400/ length of list_filenames : 39 ; length of list_pids : 39 ; length of list_args : 39 results_Auto_P22240699_11-04-2025_06_06_40.pdf 22240701 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=22240701 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222407011744344400 22240702 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=22240702 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351289877: '1744309611_562549_1351289560_ccc6164b2fc9e17f08dcd6f5f55bfe94_rle_crop_3754791608_0.png', 1351291425: '1744309993_566734_1351290501_ce06179cd3d6d004f27a6ab013d216ff_rle_crop_3754802113_0.png', 1351298044: '1744311652_582598_1351289432_9a8dfa986d813afbed29c1b2e74646c1_rle_crop_3754870033_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04f87c2cb444cf995aecca1bca62a1ba_34984666.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7116b8a4dbfc38f0b18b9199ba42a43e_79863321.png change filename to text .imagette222407021744344400/ imagette222407021744344400/1744309611_562549_1351289560_ccc6164b2fc9e17f08dcd6f5f55bfe94_rle_crop_3754791608_0.png.png imagette222407021744344400/1744311652_582598_1351289432_9a8dfa986d813afbed29c1b2e74646c1_rle_crop_3754870033_0.png.png imagette222407021744344400/1744309993_566734_1351290501_ce06179cd3d6d004f27a6ab013d216ff_rle_crop_3754802113_0.png.png imagette222407031744344400/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e0618674e6c79d9693b27a6d684b442_4271920.png imagette222407021744344400 22240703 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=22240703 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222407031744344400 22240704 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=22240704 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351289508: '1744309374_560128_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786863_0.png', 1351289509: '1744309374_560128_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786867_0.png', 1351290213: '1744309751_563710_1351289769_524cf12dbd4dc49945ca043b6978c6a5_rle_crop_3754793905_0.png', 1351290644: '1744309854_565083_1351289880_1066ab0480852ab0ea8321a7a03f43d7_rle_crop_3754798523_0.png', 1351290645: '1744309854_565083_1351289880_1066ab0480852ab0ea8321a7a03f43d7_rle_crop_3754798524_0.png', 1351290646: '1744309854_565083_1351289878_759107a5c54e412ea11533820b107735_rle_crop_3754798772_0.png', 1351291407: '1744309993_566734_1351290059_43baae1af3903bfd3eea15305603e17f_rle_crop_3754802138_0.png', 1351291408: '1744309993_566734_1351290054_fd96c0f63474129b519de6c319ce48cc_rle_crop_3754802150_0.png', 1351298031: '1744311652_582598_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786863_0.png', 1351298032: '1744311652_582598_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786867_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db748d7080b8d696823abb17f0fcf3b6_45466743.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28cdbebe93edb5d737aefc6c2c37e786_95008022.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/407ba6d92c26d502e665219d70d900bf_38190278.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/442c3cc4df5dc98f57c30a29547c582c_47088686.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc7d929281d50fd814af4b034087cac3_27186330.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa1078d1fbdee69bf146fe37c3aa9997_90399636.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4fde7434288102c2c5825e03cea7654_62463059.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bdf4b92745410eeb6919e1aba99e1a05_83577057.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db748d7080b8d696823abb17f0fcf3b6_45728761.png change filename to text .imagette222407041744344400/ imagette222407041744344400/1744309854_565083_1351289880_1066ab0480852ab0ea8321a7a03f43d7_rle_crop_3754798523_0.png.png imagette222407041744344400/1744309993_566734_1351290059_43baae1af3903bfd3eea15305603e17f_rle_crop_3754802138_0.png.png imagette222407041744344400/1744309374_560128_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786867_0.png.png imagette222407041744344400/1744309993_566734_1351290054_fd96c0f63474129b519de6c319ce48cc_rle_crop_3754802150_0.png.png imagette222407041744344400/1744311652_582598_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786867_0.png.png imagette222407041744344400/1744311652_582598_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786863_0.png.png imagette222407041744344400/1744309374_560128_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786863_0.png.png imagette222407041744344400/1744309751_563710_1351289769_524cf12dbd4dc49945ca043b6978c6a5_rle_crop_3754793905_0.png.png imagette222407041744344400/1744309854_565083_1351289880_1066ab0480852ab0ea8321a7a03f43d7_rle_crop_3754798524_0.png.png imagette222407041744344400/1744309854_565083_1351289878_759107a5c54e412ea11533820b107735_rle_crop_3754798772_0.png.png imagette222407051744344401/ imagette222407061744344401/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28cdbebe93edb5d737aefc6c2c37e786_99347581.png imagette222407041744344400 22240705 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=22240705 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222407051744344401 22240706 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=22240706 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222407061744344401 22240710 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=22240710 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351289875: '1744309611_562549_1351289560_ccc6164b2fc9e17f08dcd6f5f55bfe94_rle_crop_3754791609_0.png', 1351290279: '1744309751_563710_1351289779_45f5ba120455660c1f45f408b7a49438_rle_crop_3754793830_0.png', 1351290280: '1744309751_563710_1351289775_a0d38ceb3c1eb6dd6b623ee70d785571_rle_crop_3754793839_0.png', 1351291413: '1744309993_566734_1351290054_fd96c0f63474129b519de6c319ce48cc_rle_crop_3754802147_0.png', 1351303768: '1744312713_593690_1351289890_e24486fb1fbaf25b90fc25fdb8408c4f_rle_crop_3754881591_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3dd40b5a6d24c9a6c52f9140cf9f315_18784169.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/183920f4d96a6a62c11cf15e72a5691d_75057942.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3887e9a8252a88562546957356a39c53_9637431.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/625bd31439e80da771cdd87c989cabcc_27928431.png change filename to text .imagette222407101744344401/ imagette222407101744344401/1744309751_563710_1351289775_a0d38ceb3c1eb6dd6b623ee70d785571_rle_crop_3754793839_0.png.png imagette222407101744344401/1744309751_563710_1351289779_45f5ba120455660c1f45f408b7a49438_rle_crop_3754793830_0.png.png imagette222407101744344401/1744309993_566734_1351290054_fd96c0f63474129b519de6c319ce48cc_rle_crop_3754802147_0.png.png imagette222407101744344401/1744312713_593690_1351289890_e24486fb1fbaf25b90fc25fdb8408c4f_rle_crop_3754881591_0.png.png imagette222407101744344401/1744309611_562549_1351289560_ccc6164b2fc9e17f08dcd6f5f55bfe94_rle_crop_3754791609_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b1507dc163da99346d95d3fa8edc336_35808446.png imagette222407101744344401 22240700 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=22240700 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351289876: '1744309611_562549_1351289733_a1a4d060732fca24346874f12dade752_rle_crop_3754791566_0.png', 1351290045: '1744309731_563540_1351289848_4187ddc9c772cb44e3330c5a919df641_rle_crop_3754793497_0.png', 1351291416: '1744309993_566734_1351290062_b1e765fbfb3551c843b90335babad9ac_rle_crop_3754802130_0.png', 1351291417: '1744309993_566734_1351290054_fd96c0f63474129b519de6c319ce48cc_rle_crop_3754802152_0.png', 1351303769: '1744312713_593690_1351289848_4187ddc9c772cb44e3330c5a919df641_rle_crop_3754793497_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4acb6ef0bc0e02ebe13af9fc9a5eb54a_37012468.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d15bd4e07ccfe3fda8bc685a6ec0db7b_76778316.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/305213f724e1f8365a96ed24733dd626_56304365.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eecc8b5d782102b8f0f0cb4a88f3dc29_75602950.png change filename to text .imagette222407001744344402/ imagette222407001744344402/1744309731_563540_1351289848_4187ddc9c772cb44e3330c5a919df641_rle_crop_3754793497_0.png.png imagette222407001744344402/1744309993_566734_1351290062_b1e765fbfb3551c843b90335babad9ac_rle_crop_3754802130_0.png.png imagette222407001744344402/1744309993_566734_1351290054_fd96c0f63474129b519de6c319ce48cc_rle_crop_3754802152_0.png.png imagette222407001744344402/1744312713_593690_1351289848_4187ddc9c772cb44e3330c5a919df641_rle_crop_3754793497_0.png.png imagette222407001744344402/1744309611_562549_1351289733_a1a4d060732fca24346874f12dade752_rle_crop_3754791566_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d15bd4e07ccfe3fda8bc685a6ec0db7b_3935489.png imagette222407001744344402 22240709 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=22240709 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351289540: '1744309394_560349_1351288678_f49797e177eb20ca603cab2cb3935c74_rle_crop_3754787118_0.png', 1351289873: '1744309611_562549_1351289733_a1a4d060732fca24346874f12dade752_rle_crop_3754791565_0.png', 1351289874: '1744309611_562549_1351289733_a1a4d060732fca24346874f12dade752_rle_crop_3754791571_0.png', 1351290042: '1744309731_563540_1351289845_8b4657c374c3a993639770d16f32366c_rle_crop_3754793623_0.png', 1351290043: '1744309731_563540_1351289841_a2690dee0409a2fea3a874aa2e6aa030_rle_crop_3754793670_0.png', 1351290243: '1744309751_563710_1351289851_e36ef357f171d9526ad838bbdf06014d_rle_crop_3754793750_0.png', 1351290244: '1744309751_563710_1351289769_524cf12dbd4dc49945ca043b6978c6a5_rle_crop_3754793906_0.png', 1351298039: '1744311652_582598_1351289432_9a8dfa986d813afbed29c1b2e74646c1_rle_crop_3754870030_0.png', 1351303755: '1744312713_593690_1351289845_8b4657c374c3a993639770d16f32366c_rle_crop_3754793623_0.png', 1351303761: '1744312713_593690_1351289841_a2690dee0409a2fea3a874aa2e6aa030_rle_crop_3754793670_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca79a707deb202b2bae90a4d812598ad_887798.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f20d3520eb41f933b304a7756e8e8aa_66774430.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41cb476f6879aebebd00d04d5d14f256_36592443.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/96ca394fc53cde6dd44b7d2df25040d1_66266089.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3a2f6d19f6c7a1da1e58281c6acce21_20272455.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60fe27f990e49c15ffafa2d9e2187088_49916376.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b42b18c322dc1a3a1672998b405ce48a_45323246.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0a6ef529d26dea9ca5fac5338283c42_5595172.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/96ca394fc53cde6dd44b7d2df25040d1_19193459.png change filename to text .imagette222407091744344402/ imagette222407091744344402/1744309394_560349_1351288678_f49797e177eb20ca603cab2cb3935c74_rle_crop_3754787118_0.png.png imagette222407091744344402/1744312713_593690_1351289845_8b4657c374c3a993639770d16f32366c_rle_crop_3754793623_0.png.png imagette222407091744344402/1744311652_582598_1351289432_9a8dfa986d813afbed29c1b2e74646c1_rle_crop_3754870030_0.png.png imagette222407091744344402/1744309731_563540_1351289845_8b4657c374c3a993639770d16f32366c_rle_crop_3754793623_0.png.png imagette222407091744344402/1744312713_593690_1351289841_a2690dee0409a2fea3a874aa2e6aa030_rle_crop_3754793670_0.png.png imagette222407091744344402/1744309611_562549_1351289733_a1a4d060732fca24346874f12dade752_rle_crop_3754791571_0.png.png imagette222407091744344402/1744309611_562549_1351289733_a1a4d060732fca24346874f12dade752_rle_crop_3754791565_0.png.png imagette222407091744344402/1744309731_563540_1351289841_a2690dee0409a2fea3a874aa2e6aa030_rle_crop_3754793670_0.png.png imagette222407091744344402/1744309751_563710_1351289769_524cf12dbd4dc49945ca043b6978c6a5_rle_crop_3754793906_0.png.png imagette222407091744344402/1744309751_563710_1351289851_e36ef357f171d9526ad838bbdf06014d_rle_crop_3754793750_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3a2f6d19f6c7a1da1e58281c6acce21_67563423.png imagette222407091744344402 22240711 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=22240711 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351290642: '1744309854_565083_1351289887_e7dc8e69f2b622f4c0f27bd8cd04443f_rle_crop_3754798203_0.png', 1351303737: '1744312766_929320_1351289841_a2690dee0409a2fea3a874aa2e6aa030_bib_crop_3754793665_0.jpg', 1351298011: '1744311652_582598_1351289068_3399ee5af03304ed2b95d35fa8fbe809_rle_crop_3754786953_0.png', 1351298010: '1744311652_582598_1351289068_3399ee5af03304ed2b95d35fa8fbe809_rle_crop_3754786954_0.png', 1351298009: '1744311652_582598_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786877_0.png', 1351298008: '1744311652_582598_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786869_0.png', 1351291400: '1744309993_566734_1351290054_fd96c0f63474129b519de6c319ce48cc_rle_crop_3754802155_0.png', 1351291398: '1744309993_566734_1351290054_fd96c0f63474129b519de6c319ce48cc_rle_crop_3754802153_0.png', 1351291397: '1744309993_566734_1351290059_43baae1af3903bfd3eea15305603e17f_rle_crop_3754802140_0.png', 1351291396: '1744309993_566734_1351290059_43baae1af3903bfd3eea15305603e17f_rle_crop_3754802143_0.png', 1351291395: '1744309993_566734_1351290501_ce06179cd3d6d004f27a6ab013d216ff_rle_crop_3754802115_0.png', 1351290643: '1744309854_565083_1351289883_1d5456c89e55925b5fd6eb6aa6dfaa3f_rle_crop_3754798411_0.png', 1351289503: '1744309374_560128_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786869_0.png', 1351290185: '1744309751_563710_1351289779_45f5ba120455660c1f45f408b7a49438_rle_crop_3754793829_0.png', 1351290184: '1744309751_563710_1351289793_0dda88eeeea8d206fe8582ae5acae063_rle_crop_3754793821_0.png', 1351290182: '1744309751_563710_1351289812_6144c80a37b3fc0983591e8059d0746d_rle_crop_3754793768_0.png', 1351290040: '1744309731_563540_1351289841_a2690dee0409a2fea3a874aa2e6aa030_rle_crop_3754793665_0.png', 1351289872: '1744309611_562549_1351289560_ccc6164b2fc9e17f08dcd6f5f55bfe94_rle_crop_3754791611_0.png', 1351289871: '1744309611_562549_1351289578_c334bcff090968e1bbf08ced0749df19_rle_crop_3754791596_0.png', 1351289529: '1744309394_560349_1351288678_f49797e177eb20ca603cab2cb3935c74_rle_crop_3754787123_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e36037572fdcdf0ad4a5b8ed120e033c_10384755.png change filename to text .wget -O 2.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/729e2dc10ccc733b58a1b714d39fc27f_33892997.jpg change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd7a2af61385aee03af0bf5713ce5d59_81419448.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca7506282724059e2b54f16a44c547dd_78210696.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5af063628e40359ed4c4b612d58aa695_55690898.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8994f8cc243980f4bd0f196f97cd1a5_46497785.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/049f09da8b9fdb6866fe7ed935b66d67_94989779.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9096db4176a51c6a8adc05b23582657a_95299443.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/575cb5dbfaf72062d1761996cc98c3ac_79858996.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3cc84246630eebdf703555e69229ab65_8213352.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8618a13b75e6af9e48b9a700be57465b_7662964.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd47fd618d06614299199d123e867141_36508597.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8994f8cc243980f4bd0f196f97cd1a5_66861118.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff4ef35dac517a815ec088857f88236d_69511148.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff2da2283ced68e93b6db3c06195ba77_53162195.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5269fb9d9d93632dad39006f8840f724_48890061.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fa63801a0f1381079a6004f1384f591_2344411.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0d9aa1fc1668cd158bd806eadf7b80d_74402863.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9948ea358cbb36604214993927e5eb6e_57362409.png change filename to text .imagette222407111744344403/ imagette222407111744344403/1744309611_562549_1351289560_ccc6164b2fc9e17f08dcd6f5f55bfe94_rle_crop_3754791611_0.png.png imagette222407111744344403/1744309854_565083_1351289887_e7dc8e69f2b622f4c0f27bd8cd04443f_rle_crop_3754798203_0.png.png imagette222407111744344403/1744309611_562549_1351289578_c334bcff090968e1bbf08ced0749df19_rle_crop_3754791596_0.png.png imagette222407111744344403/1744309854_565083_1351289883_1d5456c89e55925b5fd6eb6aa6dfaa3f_rle_crop_3754798411_0.png.png imagette222407111744344403/1744309394_560349_1351288678_f49797e177eb20ca603cab2cb3935c74_rle_crop_3754787123_0.png.png imagette222407111744344403/1744309993_566734_1351290054_fd96c0f63474129b519de6c319ce48cc_rle_crop_3754802155_0.png.png imagette222407111744344403/1744309374_560128_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786869_0.png.png imagette222407111744344403/1744311652_582598_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786869_0.png.png imagette222407111744344403/1744309751_563710_1351289793_0dda88eeeea8d206fe8582ae5acae063_rle_crop_3754793821_0.png.png imagette222407111744344403/1744309731_563540_1351289841_a2690dee0409a2fea3a874aa2e6aa030_rle_crop_3754793665_0.png.png imagette222407111744344403/1744309751_563710_1351289779_45f5ba120455660c1f45f408b7a49438_rle_crop_3754793829_0.png.png imagette222407111744344403/1744309993_566734_1351290501_ce06179cd3d6d004f27a6ab013d216ff_rle_crop_3754802115_0.png.png imagette222407111744344403/1744309993_566734_1351290059_43baae1af3903bfd3eea15305603e17f_rle_crop_3754802140_0.png.png imagette222407111744344403/1744309751_563710_1351289812_6144c80a37b3fc0983591e8059d0746d_rle_crop_3754793768_0.png.png imagette222407111744344403/1744309993_566734_1351290059_43baae1af3903bfd3eea15305603e17f_rle_crop_3754802143_0.png.png imagette222407111744344403/1744312766_929320_1351289841_a2690dee0409a2fea3a874aa2e6aa030_bib_crop_3754793665_0.jpg.jpg imagette222407111744344403/1744311652_582598_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5_rle_crop_3754786877_0.png.png imagette222407111744344403/1744311652_582598_1351289068_3399ee5af03304ed2b95d35fa8fbe809_rle_crop_3754786953_0.png.png imagette222407111744344403/1744309993_566734_1351290054_fd96c0f63474129b519de6c319ce48cc_rle_crop_3754802153_0.png.png imagette222407111744344403/1744311652_582598_1351289068_3399ee5af03304ed2b95d35fa8fbe809_rle_crop_3754786954_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b746d4c7b1ac6e13464819e9bcf7e18a_97342519.png imagette222407111744344403 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22240699 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22240712,22240713,22240714,22240715,22240716,22240717,22240718,22240719,22240720,22240721,22240722,22240723?tags=Carton_brun,kraft,plastique,metal,autre_refus,mal_croppe,flou,papier,environnement,Carton_gris,cartonnette,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1351290501] : ('0.04119147600224114',) no score found for photo 1351290501 We are sending mail with results at report@fotonower.com args[1351290066] : ('0.04119147600224114',) no score found for photo 1351290066 We are sending mail with results at report@fotonower.com args[1351290062] : ('0.04119147600224114',) no score found for photo 1351290062 We are sending mail with results at report@fotonower.com args[1351290059] : ('0.04119147600224114',) no score found for photo 1351290059 We are sending mail with results at report@fotonower.com args[1351290054] : ('0.04119147600224114',) no score found for photo 1351290054 We are sending mail with results at report@fotonower.com args[1351290047] : ('0.04119147600224114',) no score found for photo 1351290047 We are sending mail with results at report@fotonower.com args[1351289936] : ('0.04119147600224114',) no score found for photo 1351289936 We are sending mail with results at report@fotonower.com args[1351289933] : ('0.04119147600224114',) no score found for photo 1351289933 We are sending mail with results at report@fotonower.com args[1351289890] : ('0.04119147600224114',) no score found for photo 1351289890 We are sending mail with results at report@fotonower.com args[1351289887] : ('0.04119147600224114',) no score found for photo 1351289887 We are sending mail with results at report@fotonower.com args[1351289883] : ('0.04119147600224114',) no score found for photo 1351289883 We are sending mail with results at report@fotonower.com args[1351289880] : ('0.04119147600224114',) no score found for photo 1351289880 We are sending mail with results at report@fotonower.com args[1351289878] : ('0.04119147600224114',) no score found for photo 1351289878 We are sending mail with results at report@fotonower.com args[1351289851] : ('0.04119147600224114',) no score found for photo 1351289851 We are sending mail with results at report@fotonower.com args[1351289848] : ('0.04119147600224114',) no score found for photo 1351289848 We are sending mail with results at report@fotonower.com args[1351289845] : ('0.04119147600224114',) no score found for photo 1351289845 We are sending mail with results at report@fotonower.com args[1351289842] : ('0.04119147600224114',) no score found for photo 1351289842 We are sending mail with results at report@fotonower.com args[1351289841] : ('0.04119147600224114',) no score found for photo 1351289841 We are sending mail with results at report@fotonower.com args[1351289814] : ('0.04119147600224114',) no score found for photo 1351289814 We are sending mail with results at report@fotonower.com args[1351289812] : ('0.04119147600224114',) no score found for photo 1351289812 We are sending mail with results at report@fotonower.com args[1351289793] : ('0.04119147600224114',) no score found for photo 1351289793 We are sending mail with results at report@fotonower.com args[1351289779] : ('0.04119147600224114',) no score found for photo 1351289779 We are sending mail with results at report@fotonower.com args[1351289775] : ('0.04119147600224114',) no score found for photo 1351289775 We are sending mail with results at report@fotonower.com args[1351289769] : ('0.04119147600224114',) no score found for photo 1351289769 We are sending mail with results at report@fotonower.com args[1351289733] : ('0.04119147600224114',) no score found for photo 1351289733 We are sending mail with results at report@fotonower.com args[1351289729] : ('0.04119147600224114',) no score found for photo 1351289729 We are sending mail with results at report@fotonower.com args[1351289623] : ('0.04119147600224114',) no score found for photo 1351289623 We are sending mail with results at report@fotonower.com args[1351289603] : ('0.04119147600224114',) no score found for photo 1351289603 We are sending mail with results at report@fotonower.com args[1351289578] : ('0.04119147600224114',) no score found for photo 1351289578 We are sending mail with results at report@fotonower.com args[1351289560] : ('0.04119147600224114',) no score found for photo 1351289560 We are sending mail with results at report@fotonower.com args[1351289531] : ('0.04119147600224114',) no score found for photo 1351289531 We are sending mail with results at report@fotonower.com args[1351289432] : ('0.04119147600224114',) no score found for photo 1351289432 We are sending mail with results at report@fotonower.com args[1351289084] : ('0.04119147600224114',) no score found for photo 1351289084 We are sending mail with results at report@fotonower.com args[1351289078] : ('0.04119147600224114',) no score found for photo 1351289078 We are sending mail with results at report@fotonower.com args[1351289068] : ('0.04119147600224114',) no score found for photo 1351289068 We are sending mail with results at report@fotonower.com args[1351288828] : ('0.04119147600224114',) no score found for photo 1351288828 We are sending mail with results at report@fotonower.com args[1351288776] : ('0.04119147600224114',) no score found for photo 1351288776 We are sending mail with results at report@fotonower.com args[1351288740] : ('0.04119147600224114',) no score found for photo 1351288740 We are sending mail with results at report@fotonower.com args[1351288678] : ('0.04119147600224114',) no score found for photo 1351288678 We are sending mail with results at report@fotonower.com refus_total : 0.04119147600224114 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=22240699 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22240699_11-04-2025_06_06_40.pdf results_Auto_P22240699_11-04-2025_06_06_40.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22240699_11-04-2025_06_06_40.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','22240699','results_Auto_P22240699_11-04-2025_06_06_40.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22240699_11-04-2025_06_06_40.pdf','pdf','','0.4','0.04119147600224114') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22240699]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678] map_info['map_portfolio_photo'] : {22240699: [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678]} final : False mtd_id 4302 list_pids : [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678] 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, '2742125') ('4302', '22240699', '1351290501', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290066', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290062', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290059', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290054', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290047', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289936', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289933', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289890', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289887', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289883', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289880', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289878', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289851', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289848', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289845', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289842', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289841', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289814', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289812', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289793', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289779', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289775', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289769', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289733', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289729', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289623', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289603', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289578', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289560', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289531', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289432', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289084', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289078', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289068', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288828', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288776', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288740', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288678', None, None, None, None, None, '2742125') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22240699', '1351290501', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290066', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290062', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290059', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290054', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290047', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289936', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289933', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289890', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289887', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289883', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289880', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289878', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289851', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289848', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289845', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289842', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289841', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289814', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289812', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289793', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289779', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289775', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289769', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289733', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289729', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289623', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289603', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289578', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289560', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289531', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289432', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289084', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289078', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289068', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288828', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288776', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288740', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288678', None, None, None, None, None, '2742125')] time used for this insertion : 0.017333269119262695 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.965473175048828 time spend to save output : 0.017807722091674805 total time spend for step 4 : 9.983280897140503 step5:split_time_score Fri Apr 11 06:06:48 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 : ['22240699'] 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 : [('22240699',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22240699) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1351288678: {'path': 'temp/1744344398_2029457_1351288678_f49797e177eb20ca603cab2cb3935c74.jpg', 'extension': 'jpg'}, 1351288740: {'path': 'temp/1744344398_2029457_1351288740_a6969b2a1e3d54d38c2b0baa5fa0ec91.jpg', 'extension': 'jpg'}, 1351288776: {'path': 'temp/1744344398_2029457_1351288776_703dc8bdfbb8172670e9ff3ed8ae0658.jpg', 'extension': 'jpg'}, 1351288828: {'path': 'temp/1744344398_2029457_1351288828_acc3e692db979f1205a11338b92296f6.jpg', 'extension': 'jpg'}, 1351289068: {'path': 'temp/1744344398_2029457_1351289068_3399ee5af03304ed2b95d35fa8fbe809.jpg', 'extension': 'jpg'}, 1351289078: {'path': 'temp/1744344398_2029457_1351289078_d8f99463792a9abf7ed914e7ac5fdbf5.jpg', 'extension': 'jpg'}, 1351289084: {'path': 'temp/1744344398_2029457_1351289084_325053fafb3e7e1e9827d13bf3dad803.jpg', 'extension': 'jpg'}, 1351289432: {'path': 'temp/1744344398_2029457_1351289432_9a8dfa986d813afbed29c1b2e74646c1.jpg', 'extension': 'jpg'}, 1351289936: {'path': 'temp/1744344398_2029457_1351289936_fc968ef03394e2185017a72c1818ed83.jpg', 'extension': 'jpg'}, 1351290047: {'path': 'temp/1744344398_2029457_1351290047_c1b4c0c5f2132394752588c5f931a9ec.jpg', 'extension': 'jpg'}, 1351290054: {'path': 'temp/1744344398_2029457_1351290054_fd96c0f63474129b519de6c319ce48cc.jpg', 'extension': 'jpg'}, 1351290059: {'path': 'temp/1744344398_2029457_1351290059_43baae1af3903bfd3eea15305603e17f.jpg', 'extension': 'jpg'}, 1351290062: {'path': 'temp/1744344398_2029457_1351290062_b1e765fbfb3551c843b90335babad9ac.jpg', 'extension': 'jpg'}, 1351290066: {'path': 'temp/1744344398_2029457_1351290066_85acd9fb018fb0a0524ca524e7c05416.jpg', 'extension': 'jpg'}, 1351290501: {'path': 'temp/1744344398_2029457_1351290501_ce06179cd3d6d004f27a6ab013d216ff.jpg', 'extension': 'jpg'}, 1351289531: {'path': 'temp/1744344398_2029457_1351289531_391dd35b0db148b78bfa36c0efa1443f.jpg', 'extension': 'jpg'}, 1351289560: {'path': 'temp/1744344398_2029457_1351289560_ccc6164b2fc9e17f08dcd6f5f55bfe94.jpg', 'extension': 'jpg'}, 1351289578: {'path': 'temp/1744344398_2029457_1351289578_c334bcff090968e1bbf08ced0749df19.jpg', 'extension': 'jpg'}, 1351289603: {'path': 'temp/1744344398_2029457_1351289603_c913855f1b9e5f23e35fee83e7ff4eb7.jpg', 'extension': 'jpg'}, 1351289623: {'path': 'temp/1744344398_2029457_1351289623_60c295c43f30d190e6478441edcf559f.jpg', 'extension': 'jpg'}, 1351289729: {'path': 'temp/1744344398_2029457_1351289729_0bf9fb1de7385b83ef4160a0296d3bb1.jpg', 'extension': 'jpg'}, 1351289733: {'path': 'temp/1744344398_2029457_1351289733_a1a4d060732fca24346874f12dade752.jpg', 'extension': 'jpg'}, 1351289769: {'path': 'temp/1744344398_2029457_1351289769_524cf12dbd4dc49945ca043b6978c6a5.jpg', 'extension': 'jpg'}, 1351289775: {'path': 'temp/1744344398_2029457_1351289775_a0d38ceb3c1eb6dd6b623ee70d785571.jpg', 'extension': 'jpg'}, 1351289779: {'path': 'temp/1744344398_2029457_1351289779_45f5ba120455660c1f45f408b7a49438.jpg', 'extension': 'jpg'}, 1351289793: {'path': 'temp/1744344398_2029457_1351289793_0dda88eeeea8d206fe8582ae5acae063.jpg', 'extension': 'jpg'}, 1351289812: {'path': 'temp/1744344398_2029457_1351289812_6144c80a37b3fc0983591e8059d0746d.jpg', 'extension': 'jpg'}, 1351289814: {'path': 'temp/1744344398_2029457_1351289814_de136a7bfdd40c18d155e8f9286171eb.jpg', 'extension': 'jpg'}, 1351289841: {'path': 'temp/1744344398_2029457_1351289841_a2690dee0409a2fea3a874aa2e6aa030.jpg', 'extension': 'jpg'}, 1351289842: {'path': 'temp/1744344398_2029457_1351289842_47fc488fb50763aae28d96099cf66119.jpg', 'extension': 'jpg'}, 1351289845: {'path': 'temp/1744344398_2029457_1351289845_8b4657c374c3a993639770d16f32366c.jpg', 'extension': 'jpg'}, 1351289848: {'path': 'temp/1744344398_2029457_1351289848_4187ddc9c772cb44e3330c5a919df641.jpg', 'extension': 'jpg'}, 1351289851: {'path': 'temp/1744344398_2029457_1351289851_e36ef357f171d9526ad838bbdf06014d.jpg', 'extension': 'jpg'}, 1351289878: {'path': 'temp/1744344398_2029457_1351289878_759107a5c54e412ea11533820b107735.jpg', 'extension': 'jpg'}, 1351289880: {'path': 'temp/1744344398_2029457_1351289880_1066ab0480852ab0ea8321a7a03f43d7.jpg', 'extension': 'jpg'}, 1351289883: {'path': 'temp/1744344398_2029457_1351289883_1d5456c89e55925b5fd6eb6aa6dfaa3f.jpg', 'extension': 'jpg'}, 1351289887: {'path': 'temp/1744344398_2029457_1351289887_e7dc8e69f2b622f4c0f27bd8cd04443f.jpg', 'extension': 'jpg'}, 1351289890: {'path': 'temp/1744344398_2029457_1351289890_e24486fb1fbaf25b90fc25fdb8408c4f.jpg', 'extension': 'jpg'}, 1351289933: {'path': 'temp/1744344398_2029457_1351289933_115861947a49b093670654fbe1e4ad06.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 = 22240699; (('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 = 22240699 group by h (('20', 39),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22240699 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 (22240699) 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 (22240699) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10042025 22240699 Nombre de photos uploadées : 39 / 23040 (0%) 10042025 22240699 Nombre de photos taguées (types de déchets): 0 / 39 (0%) 10042025 22240699 Nombre de photos taguées (volume) : 0 / 39 (0%) [{'photo_id': 1351288828, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acc3e692db979f1205a11338b92296f6.jpg', 'username': None, 'uploaded_at': 1744309267, 'text': 'image_10042025_20_19_54_10136.jpg'}, {'photo_id': 1351288776, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/703dc8bdfbb8172670e9ff3ed8ae0658.jpg', 'username': None, 'uploaded_at': 1744309267, 'text': 'image_10042025_20_20_04_010138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1351288740, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6969b2a1e3d54d38c2b0baa5fa0ec91.jpg', 'username': None, 'uploaded_at': 1744309267, 'text': 'image_10042025_20_20_34_010141m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1351288678, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f49797e177eb20ca603cab2cb3935c74.jpg', 'username': None, 'uploaded_at': 1744309267, 'text': 'image_10042025_20_20_44_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 7.62939453125e-06 ??????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017888545989990234 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22240699, '2025-04-10' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1728450,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022168636322021484 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= 1728450 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22190477, 'dashboard_result_id': 10008350, '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_P22190477_11-04-2025_05_35_10.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22190498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22190499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22190500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22190501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22190502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22190503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22190504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22190505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22190506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22190507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22190508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22190509, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22191393, 'dashboard_result_id': 10008351, '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_P22191393_11-04-2025_05_35_46.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22191439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22191440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22191441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22191442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22191443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22191444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22191445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22191446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22191447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22191448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22191449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22191450, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22192160, 'dashboard_result_id': 10008352, '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_P22192160_11-04-2025_05_35_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22192164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22192165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22192166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22192167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22192168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22192169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22192170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22192171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22192172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22192173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22192174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22192175, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22192810, 'dashboard_result_id': 10008353, '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_P22192810_11-04-2025_05_36_13.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22192836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22192837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22192838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22192839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22192840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22192841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22192842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22192843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22192844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22192845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22192846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22192847, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22194679, 'dashboard_result_id': 10008354, '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_P22194679_11-04-2025_05_36_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22194698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22194699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22194700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22194701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22194702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22194703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22194704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22194705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22194706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22194707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22194708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22194709, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22194828, 'dashboard_result_id': 10008355, '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_P22194828_11-04-2025_05_37_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22194896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22194897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22194898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22194899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22194900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22194901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22194902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22194903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22194904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22194905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22194906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22194907, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22195492, 'dashboard_result_id': 10008356, '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_P22195492_11-04-2025_05_37_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22195517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22195518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22195519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22195520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22195521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22195522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22195523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22195524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22195525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22195526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22195527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22195528, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22196575, 'dashboard_result_id': 10008357, '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_P22196575_11-04-2025_05_37_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22196635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22196636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22196637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22196638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22196639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22196640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22196641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22196642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22196643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22196644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22196645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22196646, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22197495, 'dashboard_result_id': 10008358, '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_P22197495_11-04-2025_05_38_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22197500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22197501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22197502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22197503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22197504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22197505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22197506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22197507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22197508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22197509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22197510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22197511, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22197930, 'dashboard_result_id': 10008359, '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_P22197930_11-04-2025_05_38_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22197935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22197936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22197937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22197938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22197939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22197940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22197941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22197942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22197943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22197944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22197945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22197946, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22198498, 'dashboard_result_id': 10008360, '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_P22198498_11-04-2025_05_39_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22198518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22198519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22198520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22198521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22198522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22198523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22198524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22198525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22198526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22198527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22198528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22198529, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22199233, 'dashboard_result_id': 10008361, '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_P22199233_11-04-2025_05_39_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199247, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22199907, 'dashboard_result_id': 10008362, '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_P22199907_11-04-2025_05_40_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199969, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22200511, 'dashboard_result_id': 10008363, '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_P22200511_11-04-2025_05_40_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22200526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22200527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22200528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22200529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22200530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22200531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22200532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22200533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22200534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22200535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22200536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22200537, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22201048, 'dashboard_result_id': 10008364, '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_P22201048_11-04-2025_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22201055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22201056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22201057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22201058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22201059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22201060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22201061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22201062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22201063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22201064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22201065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22201066, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22202435, 'dashboard_result_id': 10008365, '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_P22202435_11-04-2025_05_41_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22202437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22202438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22202439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22202440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22202441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22202442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22202443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22202444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22202445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22202446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22202447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22202448, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22202724, 'dashboard_result_id': 10008366, '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_P22202724_11-04-2025_05_42_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22202728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22202729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22202730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22202731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22202732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22202733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22202734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22202735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22202736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22202737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22202738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22202739, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22203288, 'dashboard_result_id': 10008367, '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_P22203288_11-04-2025_05_42_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22203301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203302, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22203774, 'dashboard_result_id': 10008368, '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_P22203774_11-04-2025_05_43_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22203804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203811, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22204784, 'dashboard_result_id': 10008369, '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_P22204784_11-04-2025_05_44_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22204789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22204790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22204791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22204792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22204793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22204794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22204795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22204796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22204797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22204798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22204799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22204800, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22205626, 'dashboard_result_id': 10008370, '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_P22205626_11-04-2025_05_45_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22205642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22205643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22205644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22205645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22205646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22205647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22205648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22205649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22205650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22205651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22205652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22205653, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22206197, 'dashboard_result_id': 10008371, '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_P22206197_11-04-2025_05_45_47.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22206202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206211, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22206894, 'dashboard_result_id': 10008372, '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_P22206894_11-04-2025_05_45_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22206932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206943, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22207553, 'dashboard_result_id': 10008373, '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_P22207553_11-04-2025_05_46_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22207561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22207562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22207563, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22207564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22207565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22207566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22207567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22207568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22207569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22207570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22207571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22207572, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22208516, 'dashboard_result_id': 10008374, '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_P22208516_11-04-2025_05_47_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22208612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22208613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22208614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22208615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22208616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22208617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22208618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22208619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22208620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22208621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22208622, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22208623, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22209122, 'dashboard_result_id': 10008375, '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_P22209122_11-04-2025_05_47_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22209201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22209202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22209203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22209204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22209205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22209206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22209207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22209208, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22209209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22209210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22209211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22209212, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22210096, 'dashboard_result_id': 10008376, '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_P22210096_11-04-2025_05_47_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22210160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22210161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22210162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22210163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22210164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22210165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22210166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22210167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22210168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22210169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22210170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22210171, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22210910, 'dashboard_result_id': 10008377, '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_P22210910_11-04-2025_05_48_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22210956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22210957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22210958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22210959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22210960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22210961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22210962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22210963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22210964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22210965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22210966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22210967, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22211699, 'dashboard_result_id': 10008378, '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_P22211699_11-04-2025_05_48_40.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22211745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22211746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22211747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22211748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22211749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22211750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22211751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22211754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22211759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22211763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22211767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22211768, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22212252, 'dashboard_result_id': 10008379, '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_P22212252_11-04-2025_05_49_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22212257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22212258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22212259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22212260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22212261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22212262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22212263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22212264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22212265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22212266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22212267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22212268, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22213166, 'dashboard_result_id': 10008380, '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_P22213166_11-04-2025_05_50_10.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22213216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22213221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22213227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22213233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22213236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22213237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22213238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22213239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22213240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22213241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22213242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22213243, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22215335, 'dashboard_result_id': 10008381, '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_P22215335_11-04-2025_05_50_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22215361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22215362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22215363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22215364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22215365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22215366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22215367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22215368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22215369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22215370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22215371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22215372, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22216157, 'dashboard_result_id': 10008382, '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_P22216157_11-04-2025_05_51_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216171, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22216609, 'dashboard_result_id': 10008383, '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_P22216609_11-04-2025_05_51_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216640, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22217206, 'dashboard_result_id': 10008384, '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_P22217206_11-04-2025_05_52_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217289, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217292, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22217932, 'dashboard_result_id': 10008385, '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_P22217932_11-04-2025_05_52_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217947, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22218414, 'dashboard_result_id': 10008386, '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_P22218414_11-04-2025_05_53_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22218444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22218445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22218446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22218447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22218448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22218449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22218450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22218451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22218452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22218453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22218454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22218455, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22219271, 'dashboard_result_id': 10008387, '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_P22219271_11-04-2025_05_53_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22219312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22219313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22219314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22219315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22219316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22219317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22219318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22219319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22219320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22219321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22219322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22219323, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22220228, 'dashboard_result_id': 10008388, '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_P22220228_11-04-2025_05_54_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22220254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220260, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22220968, 'dashboard_result_id': 10008389, '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_P22220968_11-04-2025_05_54_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22220975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220984, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22221379, 'dashboard_result_id': 10008390, '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_P22221379_11-04-2025_05_55_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22221381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22221382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22221383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22221384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22221385, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22221386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22221387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22221388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22221389, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22221390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22221391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22221392, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22221969, 'dashboard_result_id': 10008391, '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_P22221969_11-04-2025_05_56_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22222020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22222021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22222022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22222023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22222024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22222025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22222026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22222027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22222028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22222029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22222030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22222031, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22224546, 'dashboard_result_id': 10008392, '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_P22224546_11-04-2025_05_56_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22224548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22224549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22224550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22224551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22224552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22224553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22224554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22224555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22224556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22224557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22224558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22224559, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22224703, 'dashboard_result_id': 10008393, '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_P22224703_11-04-2025_05_57_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22224723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22224727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22224731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22224732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22224733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22224734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22224735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22224736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22224737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22224738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22224739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22224740, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22225309, 'dashboard_result_id': 10008394, '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_P22225309_11-04-2025_05_58_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22225349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22225350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22225351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22225352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22225353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22225354, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22225355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22225356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22225357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22225358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22225359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22225360, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22225983, 'dashboard_result_id': 10008395, '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_P22225983_11-04-2025_05_59_15.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22225999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22226000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22226001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22226002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22226003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22226004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22226005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22226006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22226007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22226008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22226009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22226010, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22226667, 'dashboard_result_id': 10008396, '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_P22226667_11-04-2025_05_59_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22226698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22226699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22226700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22226701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22226702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22226703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22226704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22226705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22226706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22226707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22226708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22226709, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22227400, 'dashboard_result_id': 10008397, '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_P22227400_11-04-2025_06_00_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22227429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22227430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22227431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22227432, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22227433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22227434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22227435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22227436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22227437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22227438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22227439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22227440, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22228023, 'dashboard_result_id': 10008398, '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_P22228023_11-04-2025_06_00_39.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22228064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22228065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22228066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22228067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22228068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22228069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22228070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22228071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22228072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22228073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22228074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22228075, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22229046, 'dashboard_result_id': 10008399, '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_P22229046_11-04-2025_06_01_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22229067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22229068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22229069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22229070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22229071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22229072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22229073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22229074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22229075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22229076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22229077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22229078, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22229823, 'dashboard_result_id': 10008400, '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_P22229823_11-04-2025_06_01_39.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22229860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22229861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22229862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22229863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22229864, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22229865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22229866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22229867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22229868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22229869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22229870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22229871, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22230703, 'dashboard_result_id': 10008401, '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_P22230703_11-04-2025_06_02_17.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22230757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22230758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22230759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22230760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22230761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22230762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22230763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22230764, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22230765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22230766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22230767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22230768, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22232898, 'dashboard_result_id': 10008402, '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_P22232898_11-04-2025_06_02_42.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22232917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22232918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22232919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22232920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22232921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22232922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22232923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22232924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22232925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22232926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22232927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22232928, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22233475, 'dashboard_result_id': 10008403, '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_P22233475_11-04-2025_06_03_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22233553, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22233555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22233556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22233557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22233558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22233560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22233561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22233562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22233563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22233564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22233565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22233566, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22235354, 'dashboard_result_id': 10008404, '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_P22235354_11-04-2025_06_04_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22235396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22235397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22235398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22235399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22235400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22235401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22235402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22235403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22235404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22235405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22235406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22235407, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22236538, 'dashboard_result_id': 10008405, '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_P22236538_11-04-2025_06_04_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22236541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22236542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22236543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22236544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22236545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22236546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22236547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22236548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22236549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22236550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22236551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22236552, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22237111, 'dashboard_result_id': 10008406, '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_P22237111_11-04-2025_06_05_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22237138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22237139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22237140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22237141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22237142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22237143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22237144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22237145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22237146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22237147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22237148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22237149, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22237860, 'dashboard_result_id': 10008407, '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_P22237860_11-04-2025_06_06_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22237901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22237902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22237903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22237904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22237905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22237906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22237907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22237908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22237909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22237910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22237911, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22237912, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22240699, 'dashboard_result_id': 10008408, '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_P22240699_10-04-2025_20_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22240700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22240701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22240702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22240703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22240704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22240705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22240706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22240707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22240708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22240709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22240710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22240711, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22241083, 'dashboard_result_id': 10008409, '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_P22241083_10-04-2025_21_06_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22241111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22241112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22241113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22241114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22241115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22241116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22241117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22241118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22241119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22241120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22241121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22241122, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1741658, 'mtr_portfolio_id': 22246456, 'dashboard_result_id': 10008410, '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_P22246456_11-04-2025_00_11_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22246484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22246485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22246486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22246487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22246489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22246490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22246491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22246492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22246493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22246494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22246495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22246496, '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 = 22190477 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': 2742067, 'mtr_portfolio_id': 22190477, 'created_at': datetime.datetime(2025, 4, 11, 5, 35, 6), 'result': '0.053411009719406474', 'result_long': None, 'result_double': None}] Qualite : 0.053411009719406474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22190477 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22190477_11-04-2025_05_35_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22190477 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_P22190477_11-04-2025_05_35_10.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22190498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22190499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22190500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22190501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22190502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22190503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22190504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22190505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22190506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22190507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22190508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22190509, 'pht': 3726}}" where mtr_portfolio_id = 22190477 and dashboard_run_id = 1741658 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`=22190477 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008350, 0.053411009719406474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22190477_11-04-2025_05_35_10.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22190498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22190499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22190500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22190501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22190502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22190503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22190504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22190505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22190506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22190507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22190508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22190509, '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 = 22191393 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': 2742068, 'mtr_portfolio_id': 22191393, 'created_at': datetime.datetime(2025, 4, 11, 5, 35, 41), 'result': '0.05523607384337888', 'result_long': None, 'result_double': None}] Qualite : 0.05523607384337888 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22191393 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22191393_11-04-2025_05_35_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22191393 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_P22191393_11-04-2025_05_35_46.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22191439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22191440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22191441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22191442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22191443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22191444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22191445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22191446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22191447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22191448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22191449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22191450, 'pht': 3726}}" where mtr_portfolio_id = 22191393 and dashboard_run_id = 1741658 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`=22191393 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008351, 0.05523607384337888, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22191393_11-04-2025_05_35_46.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22191439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22191440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22191441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22191442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22191443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22191444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22191445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22191446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22191447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22191448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22191449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22191450, '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 = 22192160 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': 2742069, 'mtr_portfolio_id': 22192160, 'created_at': datetime.datetime(2025, 4, 11, 5, 35, 35), 'result': '0.05198344192508572', 'result_long': None, 'result_double': None}] Qualite : 0.05198344192508572 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22192160 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22192160_11-04-2025_05_35_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22192160 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_P22192160_11-04-2025_05_35_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22192164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22192165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22192166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22192167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22192168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22192169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22192170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22192171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22192172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22192173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22192174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22192175, 'pht': 3726}}" where mtr_portfolio_id = 22192160 and dashboard_run_id = 1741658 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`=22192160 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008352, 0.05198344192508572, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22192160_11-04-2025_05_35_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22192164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22192165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22192166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22192167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22192168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22192169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22192170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22192171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22192172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22192173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22192174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22192175, '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 = 22192810 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': 2742070, 'mtr_portfolio_id': 22192810, 'created_at': datetime.datetime(2025, 4, 11, 5, 36, 8), 'result': '0.04182280196575267', 'result_long': None, 'result_double': None}] Qualite : 0.04182280196575267 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22192810 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22192810_11-04-2025_05_36_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22192810 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_P22192810_11-04-2025_05_36_13.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22192836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22192837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22192838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22192839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22192840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22192841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22192842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22192843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22192844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22192845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22192846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22192847, 'pht': 3726}}" where mtr_portfolio_id = 22192810 and dashboard_run_id = 1741658 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`=22192810 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008353, 0.04182280196575267, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22192810_11-04-2025_05_36_13.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22192836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22192837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22192838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22192839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22192840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22192841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22192842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22192843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22192844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22192845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22192846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22192847, '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 = 22194679 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': 2742071, 'mtr_portfolio_id': 22194679, 'created_at': datetime.datetime(2025, 4, 11, 5, 36, 36), 'result': '0.07604413099957025', 'result_long': None, 'result_double': None}] Qualite : 0.07604413099957025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22194679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22194679_11-04-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22194679 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_P22194679_11-04-2025_05_36_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22194698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22194699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22194700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22194701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22194702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22194703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22194704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22194705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22194706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22194707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22194708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22194709, 'pht': 3726}}" where mtr_portfolio_id = 22194679 and dashboard_run_id = 1741658 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`=22194679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008354, 0.07604413099957025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22194679_11-04-2025_05_36_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22194698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22194699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22194700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22194701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22194702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22194703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22194704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22194705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22194706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22194707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22194708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22194709, '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 = 22194828 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': 2742072, 'mtr_portfolio_id': 22194828, 'created_at': datetime.datetime(2025, 4, 11, 5, 37, 35), 'result': '0.04413149393024344', 'result_long': None, 'result_double': None}] Qualite : 0.04413149393024344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22194828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22194828_11-04-2025_05_37_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22194828 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_P22194828_11-04-2025_05_37_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22194896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22194897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22194898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22194899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22194900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22194901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22194902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22194903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22194904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22194905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22194906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22194907, 'pht': 3726}}" where mtr_portfolio_id = 22194828 and dashboard_run_id = 1741658 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`=22194828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008355, 0.04413149393024344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22194828_11-04-2025_05_37_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22194896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22194897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22194898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22194899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22194900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22194901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22194902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22194903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22194904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22194905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22194906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22194907, '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 = 22195492 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': 2742073, 'mtr_portfolio_id': 22195492, 'created_at': datetime.datetime(2025, 4, 11, 5, 37, 35), 'result': '0.04656174650194296', 'result_long': None, 'result_double': None}] Qualite : 0.04656174650194296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22195492 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22195492_11-04-2025_05_37_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22195492 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_P22195492_11-04-2025_05_37_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22195517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22195518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22195519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22195520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22195521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22195522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22195523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22195524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22195525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22195526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22195527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22195528, 'pht': 3726}}" where mtr_portfolio_id = 22195492 and dashboard_run_id = 1741658 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`=22195492 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008356, 0.04656174650194296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22195492_11-04-2025_05_37_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22195517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22195518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22195519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22195520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22195521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22195522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22195523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22195524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22195525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22195526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22195527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22195528, '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 = 22196575 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': 2742074, 'mtr_portfolio_id': 22196575, 'created_at': datetime.datetime(2025, 4, 11, 5, 37, 34), 'result': '0.044981990265385186', 'result_long': None, 'result_double': None}] Qualite : 0.044981990265385186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22196575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22196575_11-04-2025_05_37_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22196575 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_P22196575_11-04-2025_05_37_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22196635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22196636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22196637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22196638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22196639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22196640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22196641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22196642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22196643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22196644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22196645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22196646, 'pht': 3726}}" where mtr_portfolio_id = 22196575 and dashboard_run_id = 1741658 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`=22196575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008357, 0.044981990265385186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22196575_11-04-2025_05_37_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22196635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22196636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22196637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22196638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22196639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22196640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22196641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22196642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22196643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22196644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22196645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22196646, '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 = 22197495 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': 2742075, 'mtr_portfolio_id': 22197495, 'created_at': datetime.datetime(2025, 4, 11, 5, 38, 2), 'result': '0.05452215019634644', 'result_long': None, 'result_double': None}] Qualite : 0.05452215019634644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22197495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22197495_11-04-2025_05_38_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22197495 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_P22197495_11-04-2025_05_38_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22197500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22197501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22197502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22197503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22197504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22197505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22197506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22197507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22197508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22197509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22197510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22197511, 'pht': 3726}}" where mtr_portfolio_id = 22197495 and dashboard_run_id = 1741658 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`=22197495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008358, 0.05452215019634644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22197495_11-04-2025_05_38_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22197500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22197501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22197502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22197503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22197504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22197505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22197506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22197507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22197508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22197509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22197510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22197511, '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 = 22197930 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': 2742076, 'mtr_portfolio_id': 22197930, 'created_at': datetime.datetime(2025, 4, 11, 5, 38, 29), 'result': '0.05191297376582411', 'result_long': None, 'result_double': None}] Qualite : 0.05191297376582411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22197930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22197930_11-04-2025_05_38_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22197930 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_P22197930_11-04-2025_05_38_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22197935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22197936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22197937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22197938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22197939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22197940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22197941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22197942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22197943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22197944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22197945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22197946, 'pht': 3726}}" where mtr_portfolio_id = 22197930 and dashboard_run_id = 1741658 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`=22197930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008359, 0.05191297376582411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22197930_11-04-2025_05_38_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22197935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22197936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22197937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22197938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22197939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22197940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22197941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22197942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22197943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22197944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22197945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22197946, '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 = 22198498 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': 2742077, 'mtr_portfolio_id': 22198498, 'created_at': datetime.datetime(2025, 4, 11, 5, 39, 34), 'result': '0.04840687502525714', 'result_long': None, 'result_double': None}] Qualite : 0.04840687502525714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22198498 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22198498_11-04-2025_05_39_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22198498 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_P22198498_11-04-2025_05_39_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22198518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22198519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22198520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22198521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22198522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22198523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22198524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22198525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22198526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22198527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22198528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22198529, 'pht': 3726}}" where mtr_portfolio_id = 22198498 and dashboard_run_id = 1741658 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`=22198498 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008360, 0.04840687502525714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22198498_11-04-2025_05_39_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22198518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22198519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22198520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22198521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22198522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22198523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22198524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22198525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22198526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22198527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22198528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22198529, '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 = 22199233 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': 2742078, 'mtr_portfolio_id': 22199233, 'created_at': datetime.datetime(2025, 4, 11, 5, 39, 32), 'result': '0.07017502596144655', 'result_long': None, 'result_double': None}] Qualite : 0.07017502596144655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22199233 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199233_11-04-2025_05_39_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22199233 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_P22199233_11-04-2025_05_39_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199247, 'pht': 3726}}" where mtr_portfolio_id = 22199233 and dashboard_run_id = 1741658 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`=22199233 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008361, 0.07017502596144655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199233_11-04-2025_05_39_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199247, '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 = 22199907 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': 2742079, 'mtr_portfolio_id': 22199907, 'created_at': datetime.datetime(2025, 4, 11, 5, 40, 2), 'result': '0.06213933102266263', 'result_long': None, 'result_double': None}] Qualite : 0.06213933102266263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22199907 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199907_11-04-2025_05_40_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22199907 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_P22199907_11-04-2025_05_40_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199969, 'pht': 3726}}" where mtr_portfolio_id = 22199907 and dashboard_run_id = 1741658 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`=22199907 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008362, 0.06213933102266263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199907_11-04-2025_05_40_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199969, '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 = 22200511 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': 2742080, 'mtr_portfolio_id': 22200511, 'created_at': datetime.datetime(2025, 4, 11, 5, 40, 39), 'result': '0.0637130273084777', 'result_long': None, 'result_double': None}] Qualite : 0.0637130273084777 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22200511 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200511_11-04-2025_05_40_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22200511 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_P22200511_11-04-2025_05_40_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22200526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22200527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22200528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22200529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22200530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22200531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22200532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22200533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22200534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22200535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22200536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22200537, 'pht': 3726}}" where mtr_portfolio_id = 22200511 and dashboard_run_id = 1741658 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`=22200511 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008363, 0.0637130273084777, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200511_11-04-2025_05_40_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22200526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22200527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22200528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22200529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22200530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22200531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22200532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22200533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22200534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22200535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22200536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22200537, '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 = 22201048 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': 2742081, 'mtr_portfolio_id': 22201048, 'created_at': datetime.datetime(2025, 4, 11, 5, 41, 29), 'result': '0.04495193241798166', 'result_long': None, 'result_double': None}] Qualite : 0.04495193241798166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22201048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22201048_11-04-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22201048 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_P22201048_11-04-2025_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22201055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22201056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22201057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22201058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22201059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22201060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22201061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22201062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22201063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22201064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22201065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22201066, 'pht': 3726}}" where mtr_portfolio_id = 22201048 and dashboard_run_id = 1741658 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`=22201048 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008364, 0.04495193241798166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22201048_11-04-2025_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22201055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22201056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22201057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22201058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22201059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22201060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22201061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22201062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22201063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22201064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22201065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22201066, '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 = 22202435 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': 2742082, 'mtr_portfolio_id': 22202435, 'created_at': datetime.datetime(2025, 4, 11, 5, 41, 37), 'result': '0.0628455657683304', 'result_long': None, 'result_double': None}] Qualite : 0.0628455657683304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22202435 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22202435_11-04-2025_05_41_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22202435 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_P22202435_11-04-2025_05_41_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22202437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22202438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22202439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22202440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22202441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22202442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22202443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22202444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22202445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22202446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22202447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22202448, 'pht': 3726}}" where mtr_portfolio_id = 22202435 and dashboard_run_id = 1741658 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`=22202435 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008365, 0.0628455657683304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22202435_11-04-2025_05_41_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22202437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22202438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22202439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22202440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22202441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22202442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22202443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22202444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22202445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22202446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22202447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22202448, '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 = 22202724 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': 2742083, 'mtr_portfolio_id': 22202724, 'created_at': datetime.datetime(2025, 4, 11, 5, 42, 2), 'result': '0.057040918540360266', 'result_long': None, 'result_double': None}] Qualite : 0.057040918540360266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22202724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22202724_11-04-2025_05_42_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22202724 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_P22202724_11-04-2025_05_42_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22202728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22202729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22202730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22202731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22202732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22202733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22202734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22202735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22202736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22202737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22202738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22202739, 'pht': 3726}}" where mtr_portfolio_id = 22202724 and dashboard_run_id = 1741658 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`=22202724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008366, 0.057040918540360266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22202724_11-04-2025_05_42_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22202728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22202729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22202730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22202731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22202732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22202733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22202734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22202735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22202736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22202737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22202738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22202739, '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 = 22203288 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': 2742084, 'mtr_portfolio_id': 22203288, 'created_at': datetime.datetime(2025, 4, 11, 5, 42, 30), 'result': '0.04506941322558183', 'result_long': None, 'result_double': None}] Qualite : 0.04506941322558183 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22203288 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22203288_11-04-2025_05_42_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22203288 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_P22203288_11-04-2025_05_42_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22203301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203302, 'pht': 3726}}" where mtr_portfolio_id = 22203288 and dashboard_run_id = 1741658 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`=22203288 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008367, 0.04506941322558183, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22203288_11-04-2025_05_42_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22203301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203302, '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 = 22203774 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': 2742085, 'mtr_portfolio_id': 22203774, 'created_at': datetime.datetime(2025, 4, 11, 5, 43, 31), 'result': '0.044086451470404506', 'result_long': None, 'result_double': None}] Qualite : 0.044086451470404506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22203774 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22203774_11-04-2025_05_43_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22203774 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_P22203774_11-04-2025_05_43_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22203804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203811, 'pht': 3726}}" where mtr_portfolio_id = 22203774 and dashboard_run_id = 1741658 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`=22203774 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008368, 0.044086451470404506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22203774_11-04-2025_05_43_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22203804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203811, '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 = 22204784 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': 2742086, 'mtr_portfolio_id': 22204784, 'created_at': datetime.datetime(2025, 4, 11, 5, 44, 1), 'result': '0.06525408281370616', 'result_long': None, 'result_double': None}] Qualite : 0.06525408281370616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22204784 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22204784_11-04-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22204784 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_P22204784_11-04-2025_05_44_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22204789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22204790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22204791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22204792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22204793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22204794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22204795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22204796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22204797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22204798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22204799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22204800, 'pht': 3726}}" where mtr_portfolio_id = 22204784 and dashboard_run_id = 1741658 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`=22204784 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008369, 0.06525408281370616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22204784_11-04-2025_05_44_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22204789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22204790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22204791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22204792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22204793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22204794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22204795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22204796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22204797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22204798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22204799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22204800, '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 = 22205626 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': 2742087, 'mtr_portfolio_id': 22205626, 'created_at': datetime.datetime(2025, 4, 11, 5, 45, 1), 'result': '0.05648242419168938', 'result_long': None, 'result_double': None}] Qualite : 0.05648242419168938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22205626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22205626_11-04-2025_05_45_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22205626 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_P22205626_11-04-2025_05_45_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22205642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22205643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22205644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22205645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22205646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22205647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22205648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22205649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22205650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22205651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22205652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22205653, 'pht': 3726}}" where mtr_portfolio_id = 22205626 and dashboard_run_id = 1741658 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`=22205626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008370, 0.05648242419168938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22205626_11-04-2025_05_45_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22205642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22205643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22205644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22205645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22205646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22205647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22205648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22205649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22205650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22205651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22205652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22205653, '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 = 22206197 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': 2742088, 'mtr_portfolio_id': 22206197, 'created_at': datetime.datetime(2025, 4, 11, 5, 45, 42), 'result': '0.047622590390228155', 'result_long': None, 'result_double': None}] Qualite : 0.047622590390228155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22206197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206197_11-04-2025_05_45_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22206197 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_P22206197_11-04-2025_05_45_47.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22206202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206211, 'pht': 3726}}" where mtr_portfolio_id = 22206197 and dashboard_run_id = 1741658 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`=22206197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008371, 0.047622590390228155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206197_11-04-2025_05_45_47.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22206202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206211, '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 = 22206894 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': 2742089, 'mtr_portfolio_id': 22206894, 'created_at': datetime.datetime(2025, 4, 11, 5, 45, 33), 'result': '0.043447757266015456', 'result_long': None, 'result_double': None}] Qualite : 0.043447757266015456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22206894 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206894_11-04-2025_05_45_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22206894 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_P22206894_11-04-2025_05_45_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22206932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206943, 'pht': 3726}}" where mtr_portfolio_id = 22206894 and dashboard_run_id = 1741658 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`=22206894 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008372, 0.043447757266015456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206894_11-04-2025_05_45_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22206932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206943, '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 = 22207553 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': 2742090, 'mtr_portfolio_id': 22207553, 'created_at': datetime.datetime(2025, 4, 11, 5, 46, 2), 'result': '0.06267027212458978', 'result_long': None, 'result_double': None}] Qualite : 0.06267027212458978 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22207553 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22207553_11-04-2025_05_46_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22207553 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_P22207553_11-04-2025_05_46_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22207561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22207562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22207563, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22207564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22207565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22207566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22207567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22207568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22207569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22207570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22207571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22207572, 'pht': 3726}}" where mtr_portfolio_id = 22207553 and dashboard_run_id = 1741658 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`=22207553 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008373, 0.06267027212458978, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22207553_11-04-2025_05_46_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22207561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22207562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22207563, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22207564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22207565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22207566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22207567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22207568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22207569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22207570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22207571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22207572, '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 = 22208516 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': 2742091, 'mtr_portfolio_id': 22208516, 'created_at': datetime.datetime(2025, 4, 11, 5, 47, 2), 'result': '0.055320797649477234', 'result_long': None, 'result_double': None}] Qualite : 0.055320797649477234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22208516 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22208516_11-04-2025_05_47_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22208516 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_P22208516_11-04-2025_05_47_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22208612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22208613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22208614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22208615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22208616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22208617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22208618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22208619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22208620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22208621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22208622, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22208623, 'pht': 3726}}" where mtr_portfolio_id = 22208516 and dashboard_run_id = 1741658 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`=22208516 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008374, 0.055320797649477234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22208516_11-04-2025_05_47_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22208612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22208613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22208614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22208615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22208616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22208617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22208618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22208619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22208620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22208621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22208622, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22208623, '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 = 22209122 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': 2742092, 'mtr_portfolio_id': 22209122, 'created_at': datetime.datetime(2025, 4, 11, 5, 47, 29), 'result': '0.05034618671082308', 'result_long': None, 'result_double': None}] Qualite : 0.05034618671082308 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22209122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22209122_11-04-2025_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22209122 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_P22209122_11-04-2025_05_47_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22209201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22209202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22209203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22209204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22209205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22209206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22209207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22209208, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22209209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22209210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22209211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22209212, 'pht': 3726}}" where mtr_portfolio_id = 22209122 and dashboard_run_id = 1741658 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`=22209122 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008375, 0.05034618671082308, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22209122_11-04-2025_05_47_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22209201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22209202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22209203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22209204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22209205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22209206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22209207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22209208, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22209209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22209210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22209211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22209212, '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 = 22210096 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': 2742093, 'mtr_portfolio_id': 22210096, 'created_at': datetime.datetime(2025, 4, 11, 5, 47, 36), 'result': '0.06924672568678103', 'result_long': None, 'result_double': None}] Qualite : 0.06924672568678103 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22210096 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22210096_11-04-2025_05_47_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22210096 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_P22210096_11-04-2025_05_47_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22210160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22210161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22210162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22210163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22210164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22210165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22210166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22210167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22210168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22210169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22210170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22210171, 'pht': 3726}}" where mtr_portfolio_id = 22210096 and dashboard_run_id = 1741658 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`=22210096 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008376, 0.06924672568678103, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22210096_11-04-2025_05_47_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22210160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22210161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22210162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22210163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22210164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22210165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22210166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22210167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22210168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22210169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22210170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22210171, '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 = 22210910 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': 2742094, 'mtr_portfolio_id': 22210910, 'created_at': datetime.datetime(2025, 4, 11, 5, 48, 9), 'result': '0.036364799018656385', 'result_long': None, 'result_double': None}] Qualite : 0.036364799018656385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22210910 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22210910_11-04-2025_05_48_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22210910 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_P22210910_11-04-2025_05_48_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22210956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22210957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22210958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22210959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22210960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22210961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22210962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22210963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22210964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22210965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22210966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22210967, 'pht': 3726}}" where mtr_portfolio_id = 22210910 and dashboard_run_id = 1741658 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`=22210910 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008377, 0.036364799018656385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22210910_11-04-2025_05_48_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22210956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22210957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22210958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22210959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22210960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22210961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22210962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22210963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22210964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22210965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22210966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22210967, '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 = 22211699 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': 2742095, 'mtr_portfolio_id': 22211699, 'created_at': datetime.datetime(2025, 4, 11, 5, 48, 34), 'result': '0.0436514327561068', 'result_long': None, 'result_double': None}] Qualite : 0.0436514327561068 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22211699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22211699_11-04-2025_05_48_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22211699 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_P22211699_11-04-2025_05_48_40.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22211745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22211746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22211747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22211748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22211749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22211750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22211751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22211754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22211759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22211763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22211767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22211768, 'pht': 3726}}" where mtr_portfolio_id = 22211699 and dashboard_run_id = 1741658 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`=22211699 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008378, 0.0436514327561068, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22211699_11-04-2025_05_48_40.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22211745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22211746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22211747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22211748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22211749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22211750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22211751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22211754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22211759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22211763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22211767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22211768, '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 = 22212252 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': 2742096, 'mtr_portfolio_id': 22212252, 'created_at': datetime.datetime(2025, 4, 11, 5, 49, 31), 'result': '0.08363522528645068', 'result_long': None, 'result_double': None}] Qualite : 0.08363522528645068 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22212252 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22212252_11-04-2025_05_49_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22212252 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_P22212252_11-04-2025_05_49_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22212257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22212258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22212259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22212260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22212261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22212262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22212263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22212264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22212265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22212266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22212267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22212268, 'pht': 3726}}" where mtr_portfolio_id = 22212252 and dashboard_run_id = 1741658 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`=22212252 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008379, 0.08363522528645068, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22212252_11-04-2025_05_49_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22212257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22212258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22212259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22212260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22212261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22212262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22212263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22212264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22212265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22212266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22212267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22212268, '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 = 22213166 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': 2742097, 'mtr_portfolio_id': 22213166, 'created_at': datetime.datetime(2025, 4, 11, 5, 50, 4), 'result': '0.05186828977615518', 'result_long': None, 'result_double': None}] Qualite : 0.05186828977615518 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22213166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22213166_11-04-2025_05_50_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22213166 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_P22213166_11-04-2025_05_50_10.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22213216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22213221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22213227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22213233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22213236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22213237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22213238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22213239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22213240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22213241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22213242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22213243, 'pht': 3726}}" where mtr_portfolio_id = 22213166 and dashboard_run_id = 1741658 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`=22213166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008380, 0.05186828977615518, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22213166_11-04-2025_05_50_10.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22213216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22213221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22213227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22213233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22213236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22213237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22213238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22213239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22213240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22213241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22213242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22213243, '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 = 22215335 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': 2742098, 'mtr_portfolio_id': 22215335, 'created_at': datetime.datetime(2025, 4, 11, 5, 50, 34), 'result': '0.05622928524917692', 'result_long': None, 'result_double': None}] Qualite : 0.05622928524917692 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22215335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22215335_11-04-2025_05_50_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22215335 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_P22215335_11-04-2025_05_50_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22215361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22215362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22215363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22215364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22215365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22215366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22215367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22215368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22215369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22215370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22215371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22215372, 'pht': 3726}}" where mtr_portfolio_id = 22215335 and dashboard_run_id = 1741658 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`=22215335 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008381, 0.05622928524917692, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22215335_11-04-2025_05_50_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22215361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22215362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22215363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22215364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22215365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22215366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22215367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22215368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22215369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22215370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22215371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22215372, '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 = 22216157 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': 2742099, 'mtr_portfolio_id': 22216157, 'created_at': datetime.datetime(2025, 4, 11, 5, 51, 34), 'result': '0.03992322357035444', 'result_long': None, 'result_double': None}] Qualite : 0.03992322357035444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22216157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216157_11-04-2025_05_51_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22216157 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_P22216157_11-04-2025_05_51_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216171, 'pht': 3726}}" where mtr_portfolio_id = 22216157 and dashboard_run_id = 1741658 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`=22216157 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008382, 0.03992322357035444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216157_11-04-2025_05_51_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216171, '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 = 22216609 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': 2742100, 'mtr_portfolio_id': 22216609, 'created_at': datetime.datetime(2025, 4, 11, 5, 51, 33), 'result': '0.04634214084272157', 'result_long': None, 'result_double': None}] Qualite : 0.04634214084272157 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22216609 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216609_11-04-2025_05_51_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22216609 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_P22216609_11-04-2025_05_51_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216640, 'pht': 3726}}" where mtr_portfolio_id = 22216609 and dashboard_run_id = 1741658 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`=22216609 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008383, 0.04634214084272157, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216609_11-04-2025_05_51_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216640, '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 = 22217206 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': 2742101, 'mtr_portfolio_id': 22217206, 'created_at': datetime.datetime(2025, 4, 11, 5, 52, 4), 'result': '0.03931305839870442', 'result_long': None, 'result_double': None}] Qualite : 0.03931305839870442 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22217206 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217206_11-04-2025_05_52_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22217206 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_P22217206_11-04-2025_05_52_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217289, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217292, 'pht': 3726}}" where mtr_portfolio_id = 22217206 and dashboard_run_id = 1741658 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`=22217206 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008384, 0.03931305839870442, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217206_11-04-2025_05_52_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217289, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217292, '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 = 22217932 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': 2742102, 'mtr_portfolio_id': 22217932, 'created_at': datetime.datetime(2025, 4, 11, 5, 52, 29), 'result': '0.04856435825170467', 'result_long': None, 'result_double': None}] Qualite : 0.04856435825170467 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22217932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217932_11-04-2025_05_52_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22217932 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_P22217932_11-04-2025_05_52_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217947, 'pht': 3726}}" where mtr_portfolio_id = 22217932 and dashboard_run_id = 1741658 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`=22217932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008385, 0.04856435825170467, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217932_11-04-2025_05_52_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217947, '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 = 22218414 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': 2742103, 'mtr_portfolio_id': 22218414, 'created_at': datetime.datetime(2025, 4, 11, 5, 53, 36), 'result': '0.03769836774979315', 'result_long': None, 'result_double': None}] Qualite : 0.03769836774979315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22218414 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22218414_11-04-2025_05_53_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22218414 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_P22218414_11-04-2025_05_53_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22218444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22218445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22218446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22218447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22218448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22218449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22218450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22218451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22218452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22218453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22218454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22218455, 'pht': 3726}}" where mtr_portfolio_id = 22218414 and dashboard_run_id = 1741658 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`=22218414 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008386, 0.03769836774979315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22218414_11-04-2025_05_53_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22218444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22218445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22218446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22218447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22218448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22218449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22218450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22218451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22218452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22218453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22218454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22218455, '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 = 22219271 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': 2742104, 'mtr_portfolio_id': 22219271, 'created_at': datetime.datetime(2025, 4, 11, 5, 53, 35), 'result': '0.031100209975251442', 'result_long': None, 'result_double': None}] Qualite : 0.031100209975251442 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22219271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22219271_11-04-2025_05_53_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22219271 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_P22219271_11-04-2025_05_53_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22219312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22219313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22219314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22219315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22219316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22219317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22219318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22219319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22219320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22219321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22219322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22219323, 'pht': 3726}}" where mtr_portfolio_id = 22219271 and dashboard_run_id = 1741658 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`=22219271 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008387, 0.031100209975251442, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22219271_11-04-2025_05_53_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22219312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22219313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22219314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22219315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22219316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22219317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22219318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22219319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22219320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22219321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22219322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22219323, '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 = 22220228 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': 2742105, 'mtr_portfolio_id': 22220228, 'created_at': datetime.datetime(2025, 4, 11, 5, 54, 1), 'result': '0.04906049921499622', 'result_long': None, 'result_double': None}] Qualite : 0.04906049921499622 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22220228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220228_11-04-2025_05_54_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22220228 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_P22220228_11-04-2025_05_54_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22220254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220260, 'pht': 3726}}" where mtr_portfolio_id = 22220228 and dashboard_run_id = 1741658 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`=22220228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008388, 0.04906049921499622, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220228_11-04-2025_05_54_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22220254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220260, '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 = 22220968 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': 2742106, 'mtr_portfolio_id': 22220968, 'created_at': datetime.datetime(2025, 4, 11, 5, 54, 30), 'result': '0.05506529414338779', 'result_long': None, 'result_double': None}] Qualite : 0.05506529414338779 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22220968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220968_11-04-2025_05_54_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22220968 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_P22220968_11-04-2025_05_54_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22220975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220984, 'pht': 3726}}" where mtr_portfolio_id = 22220968 and dashboard_run_id = 1741658 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`=22220968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008389, 0.05506529414338779, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22220968_11-04-2025_05_54_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22220973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22220974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22220975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22220976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22220977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22220978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22220979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22220980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22220981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22220982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22220983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22220984, '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 = 22221379 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': 2742107, 'mtr_portfolio_id': 22221379, 'created_at': datetime.datetime(2025, 4, 11, 5, 55, 30), 'result': '0.046724898821591476', 'result_long': None, 'result_double': None}] Qualite : 0.046724898821591476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22221379 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22221379_11-04-2025_05_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22221379 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_P22221379_11-04-2025_05_55_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22221381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22221382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22221383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22221384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22221385, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22221386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22221387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22221388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22221389, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22221390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22221391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22221392, 'pht': 3726}}" where mtr_portfolio_id = 22221379 and dashboard_run_id = 1741658 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`=22221379 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008390, 0.046724898821591476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22221379_11-04-2025_05_55_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22221381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22221382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22221383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22221384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22221385, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22221386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22221387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22221388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22221389, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22221390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22221391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22221392, '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 = 22221969 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': 2742108, 'mtr_portfolio_id': 22221969, 'created_at': datetime.datetime(2025, 4, 11, 5, 56, 4), 'result': '0.049894027829466794', 'result_long': None, 'result_double': None}] Qualite : 0.049894027829466794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22221969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22221969_11-04-2025_05_56_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22221969 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_P22221969_11-04-2025_05_56_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22222020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22222021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22222022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22222023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22222024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22222025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22222026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22222027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22222028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22222029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22222030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22222031, 'pht': 3726}}" where mtr_portfolio_id = 22221969 and dashboard_run_id = 1741658 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`=22221969 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008391, 0.049894027829466794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22221969_11-04-2025_05_56_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22222020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22222021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22222022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22222023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22222024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22222025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22222026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22222027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22222028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22222029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22222030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22222031, '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 = 22224546 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': 2742109, 'mtr_portfolio_id': 22224546, 'created_at': datetime.datetime(2025, 4, 11, 5, 56, 30), 'result': '0.04164387946836861', 'result_long': None, 'result_double': None}] Qualite : 0.04164387946836861 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22224546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22224546_11-04-2025_05_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22224546 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_P22224546_11-04-2025_05_56_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22224548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22224549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22224550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22224551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22224552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22224553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22224554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22224555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22224556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22224557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22224558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22224559, 'pht': 3726}}" where mtr_portfolio_id = 22224546 and dashboard_run_id = 1741658 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`=22224546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008392, 0.04164387946836861, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22224546_11-04-2025_05_56_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22224548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22224549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22224550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22224551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22224552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22224553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22224554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22224555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22224556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22224557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22224558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22224559, '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 = 22224703 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': 2742110, 'mtr_portfolio_id': 22224703, 'created_at': datetime.datetime(2025, 4, 11, 5, 57, 33), 'result': '0.04365821637069685', 'result_long': None, 'result_double': None}] Qualite : 0.04365821637069685 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22224703 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22224703_11-04-2025_05_57_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22224703 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_P22224703_11-04-2025_05_57_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22224723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22224727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22224731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22224732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22224733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22224734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22224735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22224736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22224737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22224738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22224739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22224740, 'pht': 3726}}" where mtr_portfolio_id = 22224703 and dashboard_run_id = 1741658 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`=22224703 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008393, 0.04365821637069685, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22224703_11-04-2025_05_57_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22224723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22224727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22224731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22224732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22224733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22224734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22224735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22224736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22224737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22224738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22224739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22224740, '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 = 22225309 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': 2742111, 'mtr_portfolio_id': 22225309, 'created_at': datetime.datetime(2025, 4, 11, 5, 58, 1), 'result': '0.04390726976639336', 'result_long': None, 'result_double': None}] Qualite : 0.04390726976639336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22225309 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22225309_11-04-2025_05_58_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22225309 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_P22225309_11-04-2025_05_58_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22225349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22225350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22225351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22225352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22225353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22225354, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22225355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22225356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22225357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22225358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22225359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22225360, 'pht': 3726}}" where mtr_portfolio_id = 22225309 and dashboard_run_id = 1741658 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`=22225309 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008394, 0.04390726976639336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22225309_11-04-2025_05_58_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22225349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22225350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22225351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22225352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22225353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22225354, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22225355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22225356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22225357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22225358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22225359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22225360, '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 = 22225983 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': 2742112, 'mtr_portfolio_id': 22225983, 'created_at': datetime.datetime(2025, 4, 11, 5, 59, 11), 'result': '0.0650560612606622', 'result_long': None, 'result_double': None}] Qualite : 0.0650560612606622 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22225983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22225983_11-04-2025_05_59_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22225983 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_P22225983_11-04-2025_05_59_15.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22225999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22226000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22226001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22226002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22226003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22226004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22226005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22226006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22226007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22226008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22226009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22226010, 'pht': 3726}}" where mtr_portfolio_id = 22225983 and dashboard_run_id = 1741658 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`=22225983 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008395, 0.0650560612606622, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22225983_11-04-2025_05_59_15.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22225999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22226000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22226001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22226002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22226003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22226004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22226005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22226006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22226007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22226008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22226009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22226010, '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 = 22226667 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': 2742113, 'mtr_portfolio_id': 22226667, 'created_at': datetime.datetime(2025, 4, 11, 5, 59, 32), 'result': '0.05675612773897258', 'result_long': None, 'result_double': None}] Qualite : 0.05675612773897258 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22226667 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22226667_11-04-2025_05_59_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22226667 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_P22226667_11-04-2025_05_59_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22226698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22226699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22226700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22226701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22226702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22226703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22226704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22226705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22226706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22226707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22226708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22226709, 'pht': 3726}}" where mtr_portfolio_id = 22226667 and dashboard_run_id = 1741658 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`=22226667 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008396, 0.05675612773897258, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22226667_11-04-2025_05_59_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22226698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22226699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22226700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22226701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22226702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22226703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22226704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22226705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22226706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22226707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22226708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22226709, '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 = 22227400 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': 2742114, 'mtr_portfolio_id': 22227400, 'created_at': datetime.datetime(2025, 4, 11, 5, 59, 59), 'result': '0.04816626866728963', 'result_long': None, 'result_double': None}] Qualite : 0.04816626866728963 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22227400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22227400_11-04-2025_06_00_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22227400 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_P22227400_11-04-2025_06_00_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22227429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22227430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22227431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22227432, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22227433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22227434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22227435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22227436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22227437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22227438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22227439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22227440, 'pht': 3726}}" where mtr_portfolio_id = 22227400 and dashboard_run_id = 1741658 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`=22227400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008397, 0.04816626866728963, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22227400_11-04-2025_06_00_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22227429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22227430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22227431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22227432, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22227433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22227434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22227435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22227436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22227437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22227438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22227439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22227440, '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 = 22228023 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': 2742115, 'mtr_portfolio_id': 22228023, 'created_at': datetime.datetime(2025, 4, 11, 6, 0, 36), 'result': '0.06712019181563292', 'result_long': None, 'result_double': None}] Qualite : 0.06712019181563292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22228023 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22228023_11-04-2025_06_00_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22228023 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_P22228023_11-04-2025_06_00_39.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22228064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22228065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22228066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22228067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22228068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22228069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22228070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22228071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22228072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22228073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22228074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22228075, 'pht': 3726}}" where mtr_portfolio_id = 22228023 and dashboard_run_id = 1741658 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`=22228023 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008398, 0.06712019181563292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22228023_11-04-2025_06_00_39.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22228064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22228065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22228066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22228067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22228068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22228069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22228070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22228071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22228072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22228073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22228074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22228075, '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 = 22229046 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': 2742116, 'mtr_portfolio_id': 22229046, 'created_at': datetime.datetime(2025, 4, 11, 6, 1, 7), 'result': '0.04501267125385402', 'result_long': None, 'result_double': None}] Qualite : 0.04501267125385402 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22229046 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22229046_11-04-2025_06_01_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22229046 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_P22229046_11-04-2025_06_01_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22229067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22229068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22229069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22229070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22229071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22229072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22229073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22229074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22229075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22229076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22229077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22229078, 'pht': 3726}}" where mtr_portfolio_id = 22229046 and dashboard_run_id = 1741658 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`=22229046 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008399, 0.04501267125385402, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22229046_11-04-2025_06_01_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22229067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22229068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22229069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22229070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22229071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22229072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22229073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22229074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22229075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22229076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22229077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22229078, '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 = 22229823 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': 2742117, 'mtr_portfolio_id': 22229823, 'created_at': datetime.datetime(2025, 4, 11, 6, 1, 35), 'result': '0.05335874163040913', 'result_long': None, 'result_double': None}] Qualite : 0.05335874163040913 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22229823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22229823_11-04-2025_06_01_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22229823 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_P22229823_11-04-2025_06_01_39.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22229860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22229861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22229862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22229863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22229864, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22229865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22229866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22229867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22229868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22229869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22229870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22229871, 'pht': 3726}}" where mtr_portfolio_id = 22229823 and dashboard_run_id = 1741658 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`=22229823 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008400, 0.05335874163040913, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22229823_11-04-2025_06_01_39.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22229860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22229861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22229862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22229863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22229864, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22229865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22229866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22229867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22229868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22229869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22229870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22229871, '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 = 22230703 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': 2742118, 'mtr_portfolio_id': 22230703, 'created_at': datetime.datetime(2025, 4, 11, 6, 2, 10), 'result': '0.031695694671522535', 'result_long': None, 'result_double': None}] Qualite : 0.031695694671522535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22230703 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22230703_11-04-2025_06_02_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22230703 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_P22230703_11-04-2025_06_02_17.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22230757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22230758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22230759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22230760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22230761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22230762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22230763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22230764, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22230765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22230766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22230767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22230768, 'pht': 3726}}" where mtr_portfolio_id = 22230703 and dashboard_run_id = 1741658 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`=22230703 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008401, 0.031695694671522535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22230703_11-04-2025_06_02_17.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22230757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22230758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22230759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22230760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22230761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22230762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22230763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22230764, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22230765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22230766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22230767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22230768, '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 = 22232898 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': 2742119, 'mtr_portfolio_id': 22232898, 'created_at': datetime.datetime(2025, 4, 11, 6, 2, 40), 'result': '0.021808297118660086', 'result_long': None, 'result_double': None}] Qualite : 0.021808297118660086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22232898 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22232898_11-04-2025_06_02_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22232898 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_P22232898_11-04-2025_06_02_42.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22232917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22232918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22232919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22232920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22232921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22232922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22232923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22232924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22232925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22232926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22232927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22232928, 'pht': 3726}}" where mtr_portfolio_id = 22232898 and dashboard_run_id = 1741658 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`=22232898 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008402, 0.021808297118660086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22232898_11-04-2025_06_02_42.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22232917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22232918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22232919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22232920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22232921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22232922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22232923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22232924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22232925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22232926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22232927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22232928, '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 = 22233475 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': 2742120, 'mtr_portfolio_id': 22233475, 'created_at': datetime.datetime(2025, 4, 11, 6, 3, 34), 'result': '0.04113839234091043', 'result_long': None, 'result_double': None}] Qualite : 0.04113839234091043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22233475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22233475_11-04-2025_06_03_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22233475 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_P22233475_11-04-2025_06_03_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22233553, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22233555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22233556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22233557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22233558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22233560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22233561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22233562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22233563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22233564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22233565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22233566, 'pht': 3726}}" where mtr_portfolio_id = 22233475 and dashboard_run_id = 1741658 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`=22233475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008403, 0.04113839234091043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22233475_11-04-2025_06_03_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22233553, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22233555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22233556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22233557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22233558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22233560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22233561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22233562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22233563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22233564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22233565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22233566, '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 = 22235354 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': 2742121, 'mtr_portfolio_id': 22235354, 'created_at': datetime.datetime(2025, 4, 11, 6, 4, 1), 'result': '0.031298625147595134', 'result_long': None, 'result_double': None}] Qualite : 0.031298625147595134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22235354 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22235354_11-04-2025_06_04_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22235354 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_P22235354_11-04-2025_06_04_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22235396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22235397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22235398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22235399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22235400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22235401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22235402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22235403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22235404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22235405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22235406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22235407, 'pht': 3726}}" where mtr_portfolio_id = 22235354 and dashboard_run_id = 1741658 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`=22235354 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008404, 0.031298625147595134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22235354_11-04-2025_06_04_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22235396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22235397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22235398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22235399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22235400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22235401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22235402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22235403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22235404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22235405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22235406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22235407, '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 = 22236538 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': 2742122, 'mtr_portfolio_id': 22236538, 'created_at': datetime.datetime(2025, 4, 11, 6, 4, 34), 'result': '0.06463043832996763', 'result_long': None, 'result_double': None}] Qualite : 0.06463043832996763 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22236538 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22236538_11-04-2025_06_04_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22236538 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_P22236538_11-04-2025_06_04_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22236541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22236542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22236543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22236544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22236545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22236546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22236547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22236548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22236549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22236550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22236551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22236552, 'pht': 3726}}" where mtr_portfolio_id = 22236538 and dashboard_run_id = 1741658 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`=22236538 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008405, 0.06463043832996763, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22236538_11-04-2025_06_04_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22236541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22236542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22236543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22236544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22236545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22236546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22236547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22236548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22236549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22236550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22236551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22236552, '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 = 22237111 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': 2742123, 'mtr_portfolio_id': 22237111, 'created_at': datetime.datetime(2025, 4, 11, 6, 5, 35), 'result': '0.027327986658020706', 'result_long': None, 'result_double': None}] Qualite : 0.027327986658020706 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22237111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22237111_11-04-2025_06_05_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22237111 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_P22237111_11-04-2025_06_05_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22237138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22237139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22237140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22237141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22237142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22237143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22237144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22237145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22237146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22237147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22237148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22237149, 'pht': 3726}}" where mtr_portfolio_id = 22237111 and dashboard_run_id = 1741658 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`=22237111 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008406, 0.027327986658020706, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22237111_11-04-2025_06_05_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22237138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22237139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22237140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22237141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22237142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22237143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22237144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22237145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22237146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22237147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22237148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22237149, '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 = 22237860 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': 2742124, 'mtr_portfolio_id': 22237860, 'created_at': datetime.datetime(2025, 4, 11, 6, 6, 2), 'result': '0.03609435173691704', 'result_long': None, 'result_double': None}] Qualite : 0.03609435173691704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22237860 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22237860_11-04-2025_06_06_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22237860 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_P22237860_11-04-2025_06_06_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22237901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22237902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22237903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22237904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22237905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22237906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22237907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22237908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22237909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22237910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22237911, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22237912, 'pht': 3726}}" where mtr_portfolio_id = 22237860 and dashboard_run_id = 1741658 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`=22237860 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008407, 0.03609435173691704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22237860_11-04-2025_06_06_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22237901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22237902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22237903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22237904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22237905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22237906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22237907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22237908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22237909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22237910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22237911, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22237912, '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 = 22240699 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': 2742125, 'mtr_portfolio_id': 22240699, 'created_at': datetime.datetime(2025, 4, 11, 6, 6, 38), 'result': '0.04119147600224114', 'result_long': None, 'result_double': None}] Qualite : 0.04119147600224114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22240699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22240699_11-04-2025_06_06_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22240699 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_P22240699_11-04-2025_06_06_40.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22240700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22240701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22240702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22240703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22240704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22240705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22240706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22240707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22240708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22240709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22240710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22240711, 'pht': 3726}}" where mtr_portfolio_id = 22240699 and dashboard_run_id = 1741658 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`=22240699 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008408, 0.04119147600224114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22240699_11-04-2025_06_06_40.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22240700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22240701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22240702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22240703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22240704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22240705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22240706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22240707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22240708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22240709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22240710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22240711, '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 = 22241083 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': 2741053, 'mtr_portfolio_id': 22241083, 'created_at': datetime.datetime(2025, 4, 10, 21, 6, 57), 'result': '0.046785161293563436', 'result_long': None, 'result_double': None}] Qualite : 0.046785161293563436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22241083 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22241083_10-04-2025_21_06_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22241083 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_P22241083_10-04-2025_21_06_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22241111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22241112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22241113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22241114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22241115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22241116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22241117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22241118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22241119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22241120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22241121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22241122, 'pht': 3726}}" where mtr_portfolio_id = 22241083 and dashboard_run_id = 1741658 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`=22241083 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008409, 0.046785161293563436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22241083_10-04-2025_21_06_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22241111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22241112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22241113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22241114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22241115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22241116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22241117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22241118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22241119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22241120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22241121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22241122, '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 = 22246456 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': 2741576, 'mtr_portfolio_id': 22246456, 'created_at': datetime.datetime(2025, 4, 11, 0, 11, 35), 'result': '0.055024659879147585', 'result_long': None, 'result_double': None}] Qualite : 0.055024659879147585 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22246456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22246456_11-04-2025_00_11_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22246456 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_P22246456_11-04-2025_00_11_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22246484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22246485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22246486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22246487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22246489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22246490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22246491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22246492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22246493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22246494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22246495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22246496, 'pht': 3726}}" where mtr_portfolio_id = 22246456 and dashboard_run_id = 1741658 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`=22246456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10008410, 0.055024659879147585, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22246456_11-04-2025_00_11_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22246484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22246485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22246486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22246487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22246489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22246490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22246491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22246492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22246493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22246494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22246495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22246496, '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 (22190477,22191393,22192160,22192810,22194679,22194828,22195492,22196575,22197495,22197930,22198498,22199233,22199907,22200511,22201048,22202435,22202724,22203288,22203774,22204784,22205626,22206197,22206894,22207553,22208516,22209122,22210096,22210910,22211699,22212252,22213166,22215335,22216157,22216609,22217206,22217932,22218414,22219271,22220228,22220968,22221379,22221969,22224546,22224703,22225309,22225983,22226667,22227400,22228023,22229046,22229823,22230703,22232898,22233475,22235354,22236538,22237111,22237860,22240699,22241083,22246456) result : ((1350939008,), (1350939034,), (1350939436,), (1350939509,), (1350939566,), (1350939622,), (1350939677,), (1350939893,), (1350939919,), (1350939951,), (1350939982,), (1350940338,), (1350940382,), (1350940396,), (1350940412,), (1350940432,), (1350940460,), (1350940885,), (1350940929,), (1350940966,), (1350941056,), (1350941265,), (1350941273,), (1350941284,), (1350941289,), (1350941293,), (1350941482,), (1350941511,), (1350941596,), (1350941639,), (1350941748,), (1350941851,), (1350942283,), (1350942330,), (1350942358,), (1350942720,), (1350942746,), (1350942774,), (1350942799,), (1350942865,), (1350942872,), (1350943074,), (1350943080,), (1350943083,), (1350943085,), (1350943092,), (1350943106,), (1350943159,), (1350943185,), (1350943209,), (1350943241,), (1350943322,), (1350943326,), (1350943357,), (1350943385,), (1350943416,), (1350943445,), (1350943682,), (1350943704,), (1350943730,), (1350943755,), (1350943794,), (1350943959,), (1350943974,), (1350943976,), (1350943978,), (1350944150,), (1350944116,), (1350944121,), (1350944131,), (1350944136,), (1350944145,), (1350944268,), (1350944276,), (1350944278,), (1350944280,), (1350944366,), (1350944369,), (1350944387,), (1350944411,), (1350944577,), (1350944609,), (1350945075,), (1350945103,), (1350945127,), (1350945148,), (1350945181,), (1350945871,), (1350945914,), (1350946005,), (1350946094,), (1350946173,), (1350946725,), (1350946755,), (1350946759,), (1350946762,), (1350946854,), (1350946859,), (1350946865,), (1350947103,), (1350947188,), (1350947217,), (1350947220,), (1350947561,), (1350947566,), (1350947577,), (1350947594,), (1350947604,), (1350947633,), (1350947852,), (1350947944,), (1350947983,), (1350948009,), (1350948013,), (1350948147,), (1350948151,), (1350948154,), (1350948172,), (1350948535,), (1350949290,), (1350949396,), (1350949442,), (1350949513,), (1350949560,), (1350949595,), (1350949850,), (1350949854,), (1350949860,), (1350949959,), (1350949996,), (1350950276,), (1350950180,), (1350950188,), (1350950206,), (1350950228,), (1350950443,), (1350950505,), (1350950572,), (1350950608,), (1350950627,), (1350950682,), (1350950768,), (1350950771,), (1350950775,), (1350950782,), (1350950891,), (1350950894,), (1350950898,), (1350950900,), (1350950937,), (1350950954,), (1350950960,), (1350950964,), (1350950972,), (1350950978,), (1350951250,), (1350951276,), (1350951332,), (1350951725,), (1350951802,), (1350951867,), (1350951871,), (1350951877,), (1350951902,), (1350952063,), (1350952095,), (1350952151,), (1350952191,), (1350952217,), (1350952523,), (1350952585,), (1350952632,), (1350952661,), (1350952690,), (1350952721,), (1350952948,), (1350952979,), (1350952993,), (1350953027,), (1350953059,), (1350953084,), (1350953621,), (1350953695,), (1350953735,), (1350953799,), (1350954160,), (1350954215,), (1350954268,), (1350954333,), (1350954386,), (1350954444,), (1350954819,), (1350954872,), (1350954936,), (1350954993,), (1350955072,), (1350955126,), (1350955319,), (1350955340,), (1350955345,), (1350955585,), (1350955592,), (1350955627,), (1350955642,), (1350955649,), (1350955676,), (1350955828,), (1350955805,), (1350955817,), (1350956045,), (1350956059,), (1350956065,), (1350956076,), (1350956097,), (1350956113,), (1350956200,), (1350956232,), (1350956251,), (1350956261,), (1350956270,), (1350956285,), (1350956338,), (1350956343,), (1350956365,), (1350956482,), (1350956504,), (1350956531,), (1350956549,), (1350956584,), (1350956883,), (1350956959,), (1350956991,), (1350956997,), (1350957160,), (1350957167,), (1350957169,), (1350957436,), (1350957442,), (1350957466,), (1350957472,), (1350957479,), (1350957493,), (1350957640,), (1350957663,), (1350957678,), (1350957699,), (1350957846,), (1350957851,), (1350957869,), (1350957886,), (1350957950,), (1350958079,), (1350958092,), (1350958098,), (1350958103,), (1350958142,), (1350958161,), (1350958190,), (1350958220,), (1350958253,), (1350958300,), (1350958453,), (1350958458,), (1350958463,), (1350958471,), (1350958475,), (1350958482,), (1350958709,), (1350958719,), (1350958730,), (1350958752,), (1350958758,), (1350958761,), (1350958763,), (1350958765,), (1350959036,), (1350974769,), (1350974809,), (1350974815,), (1350974833,), (1350974842,), (1350974849,), (1350975048,), (1350975051,), (1350975056,), (1350975061,), (1350975429,), (1350975327,), (1350975352,), (1350975390,), (1350975592,), (1350975668,), (1350975739,), (1350975806,), (1350975889,), (1350976287,), (1350976305,), (1350976335,), (1350976366,), (1350976385,), (1350976400,), (1350976550,), (1350976582,), (1350976623,), (1350976662,), (1350976719,), (1350977067,), (1350977134,), (1350977180,), (1350977207,), (1350977708,), (1350977722,), (1350978066,), (1350978110,), (1350978174,), (1350978538,), (1350978564,), (1350978579,), (1350978584,), (1350978608,), (1350978620,), (1350978722,), (1350978726,), (1350978729,), (1350978733,), (1350978932,), (1350978940,), (1350978942,), (1350978963,), (1350979038,), (1350979223,), (1350979230,), (1350979273,), (1350979285,), (1350979356,), (1350979395,), (1350979427,), (1350979449,), (1350979467,), (1350979490,), (1350979563,), (1350979582,), (1350980758,), (1350980707,), (1350980735,), (1350981177,), (1350981236,), (1350981289,), (1350981320,), (1350981345,), (1350981366,), (1350981794,), (1350981819,), (1350981883,), (1350981913,), (1350981944,), (1350982690,), (1350982800,), (1350982870,), (1350982888,), (1350982925,), (1350982959,), (1350983246,), (1350983305,), (1350983350,), (1350983382,), (1350983428,), (1350983596,), (1350983624,), (1350983650,), (1350984003,), (1350984042,), (1350984069,), (1350984093,), (1350984117,), (1350984136,), (1350984253,), (1350984256,), (1350984272,), (1350984281,), (1350984287,), (1350984601,), (1350984646,), (1350984715,), (1350984764,), (1350984786,), (1350984911,), (1350984982,), (1350984985,), (1350985012,), (1350985072,), (1350985073,), (1350985077,), (1350985080,), (1350985139,), (1350985146,), (1350985223,), (1350985346,), (1350985497,), (1350985511,), (1350985641,), (1350985649,), (1350985652,), (1350985654,), (1350985798,), (1350985728,), (1350985732,), (1350985734,), (1350985742,), (1350985828,), (1350985831,), (1350985835,), (1350985840,), (1350985844,), (1350985848,), (1350985866,), (1350985871,), (1350985884,), (1350985908,), (1350985939,), (1350985940,), (1350985942,), (1350985967,), (1350985978,), (1350985983,), (1350986076,), (1350986100,), (1350986126,), (1350986149,), (1350986467,), (1350986488,), (1350986515,), (1350986529,), (1350986562,), (1350986641,), (1350986908,), (1350987015,), (1350987097,), (1350987361,), (1350987367,), (1350987390,), (1350987428,), (1350987476,), (1350987485,), (1350987591,), (1350987608,), (1350987645,), (1350987704,), (1350987974,), (1350988006,), (1350988032,), (1350988075,), (1350988099,), (1350988344,), (1350988375,), (1350988783,), (1350988788,), (1350988812,), (1350988816,), (1350988916,), (1350989305,), (1350989330,), (1350989344,), (1350989366,), (1350989399,), (1350989613,), (1350989617,), (1350989621,), (1350989624,), (1350989682,), (1350989689,), (1350989692,), (1350989706,), (1350990479,), (1350990703,), (1350990706,), (1350990994,), (1350991059,), (1350991094,), (1350991099,), (1350991112,), (1350991287,), (1350991354,), (1350991356,), (1350991363,), (1350991388,), (1350991397,), (1350991445,), (1350991449,), (1350991482,), (1350991691,), (1350991712,), (1350991763,), (1350991784,), (1350991798,), (1350991889,), (1350991920,), (1350991942,), (1350991966,), (1350991980,), (1350992128,), (1350992150,), (1350992168,), (1350992177,), (1350992386,), (1350992391,), (1350992393,), (1350992395,), (1350992399,), (1350992402,), (1350992853,), (1350992986,), (1350993071,), (1350993171,), (1350993205,), (1350993431,), (1350993455,), (1350993460,), (1350993484,), (1350993488,), (1350993498,), (1350993633,), (1350993637,), (1350993639,), (1350993789,), (1350993799,), (1350993801,), (1350993810,), (1350993821,), (1350993876,), (1350994128,), (1350994186,), (1350994204,), (1350994212,), (1350994243,), (1350994342,), (1350994308,), (1350994312,), (1350994322,), (1350994333,), (1350994493,), (1350994524,), (1350994551,), (1350994569,), (1350994599,), (1350994815,), (1350994861,), (1350994909,), (1350994925,), (1350995727,), (1350996353,), (1350996375,), (1350996378,), (1350996380,), (1350996501,), (1350996523,), (1350996529,), (1350996530,), (1350996534,), (1350996537,), (1350996633,), (1350996636,), (1350996747,), (1350996771,), (1350996778,), (1350996781,), (1350996785,), (1350996893,), (1350996897,), (1350996901,), (1350996917,), (1350996935,), (1350996951,), (1350997051,), (1350997056,), (1350997058,), (1350997061,), (1350997064,), (1350997489,), (1350997498,), (1350997505,), (1350997518,), (1350997540,), (1350997574,), (1350997598,), (1350997618,), (1350997635,), (1350997663,), (1350997716,), (1350997928,), (1350997802,), (1350997822,), (1350997850,), (1350997883,), (1350998061,), (1350998080,), (1350998108,), (1350998138,), (1350998162,), (1350998179,), (1350998364,), (1350998385,), (1350998411,), (1350998438,), (1350998569,), (1350998580,), (1350998595,), (1350998599,), (1350998605,), (1350998738,), (1350998759,), (1350998789,), (1350998802,), (1350998813,), (1350998836,), (1350998961,), (1350998978,), (1350998993,), (1350999089,), (1350999096,), (1350999104,), (1350999109,), (1350999112,), (1350999543,), (1350999586,), (1350999654,), (1350999725,), (1350999779,), (1350999798,), (1351000131,), (1351000141,), (1351000153,), (1351000161,), (1351000184,), (1351000371,), (1351000397,), (1351000402,), (1351000416,), (1351000436,), (1351000456,), (1351000594,), (1351000626,), (1351000641,), (1351001518,), (1351001546,), (1351001565,), (1351001599,), (1351001669,), (1351001733,), (1351001935,), (1351001928,), (1351001931,), (1351001933,), (1351002121,), (1351002130,), (1351002134,), (1351002136,), (1351002139,), (1351002146,), (1351002230,), (1351002260,), (1351002275,), (1351002278,), (1351002281,), (1351002390,), (1351002395,), (1351002398,), (1351002400,), (1351002472,), (1351002508,), (1351002516,), (1351002524,), (1351002539,), (1351002604,), (1351002727,), (1351002728,), (1351002729,), (1351002818,), (1351002825,), (1351002828,), (1351002831,), (1351002852,), (1351003231,), (1351003316,), (1351003398,), (1351003429,), (1351003468,), (1351003494,), (1351003829,), (1351003866,), (1351004001,), (1351004035,), (1351004429,), (1351004471,), (1351004566,), (1351005042,), (1351005080,), (1351005118,), (1351005143,), (1351005171,), (1351005207,), (1351005315,), (1351005340,), (1351005357,), (1351005375,), (1351005392,), (1351005447,), (1351005469,), (1351005475,), (1351005479,), (1351005482,), (1351005486,), (1351005618,), (1351005648,), (1351005652,), (1351005664,), (1351005668,), (1351005933,), (1351005986,), (1351006011,), (1351006040,), (1351006304,), (1351006264,), (1351006301,), (1351006496,), (1351006521,), (1351006546,), (1351006551,), (1351006741,), (1351006863,), (1351006935,), (1351006941,), (1351007108,), (1351007131,), (1351007196,), (1351007422,), (1351007743,), (1351007788,), (1351007792,), (1351007796,), (1351007800,), (1351007942,), (1351007971,), (1351008004,), (1351008016,), (1351008328,), (1351008350,), (1351008369,), (1351008377,), (1351008427,), (1351008433,), (1351008480,), (1351008484,), (1351008487,), (1351008492,), (1351008496,), (1351008638,), (1351008660,), (1351008692,), (1351008720,), (1351008740,), (1351008743,), (1351008923,), (1351008936,), (1351008954,), (1351008958,), (1351009069,), (1351009386,), (1351009416,), (1351009435,), (1351009438,), (1351009442,), (1351009543,), (1351009550,), (1351009553,), (1351009564,), (1351010002,), (1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,), (1351012666,), (1351012726,), (1351012770,), (1351013542,), (1351013581,), (1351013649,), (1351013736,), (1351013746,), (1351013750,), (1351013853,), (1351013824,), (1351013844,), (1351013847,), (1351013892,), (1351013921,), (1351013945,), (1351013951,), (1351014046,), (1351014066,), (1351014079,), (1351014097,), (1351014100,), (1351014186,), (1351014206,), (1351014253,), (1351014287,), (1351014710,), (1351014734,), (1351014770,), (1351014800,), (1351014831,), (1351014948,), (1351014982,), (1351015070,), (1351015194,), (1351015440,), (1351015531,), (1351015590,), (1351015684,), (1351015776,), (1351016251,), (1351016375,), (1351016404,), (1351016435,), (1351016467,), (1351016698,), (1351016736,), (1351016763,), (1351016786,), (1351017034,), (1351017050,), (1351017053,), (1351017057,), (1351017071,), (1351017075,), (1351017199,), (1351017201,), (1351017203,), (1351017204,), (1351017207,), (1351017209,), (1351026041,), (1351027965,), (1351028677,), (1351029087,), (1351029115,), (1351029142,), (1351029226,), (1351029233,), (1351029238,), (1351029240,), (1351029242,), (1351029247,), (1351029441,), (1351029470,), (1351029517,), (1351029539,), (1351029588,), (1351029664,), (1351029857,), (1351029871,), (1351029953,), (1351029956,), (1351030050,), (1351030053,), (1351030064,), (1351030177,), (1351030179,), (1351030205,), (1351030215,), (1351030239,), (1351030241,), (1351030337,), (1351030357,), (1351030361,), (1351030370,), (1351030373,), (1351030375,), (1351030507,), (1351030511,), (1351030513,), (1351030576,), (1351030561,), (1351030567,), (1351030569,), (1351030572,), (1351030600,), (1351030604,), (1351030606,), (1351030609,), (1351030613,), (1351030657,), (1351030663,), (1351030672,), (1351030678,), (1351030793,), (1351030819,), (1351030831,), (1351030843,), (1351030861,), (1351030881,), (1351030992,), (1351031006,), (1351031009,), (1351031013,), (1351031021,), (1351031023,), (1351031083,), (1351031086,), (1351031091,), (1351031094,), (1351031188,), (1351031192,), (1351031196,), (1351031200,), (1351031205,), (1351031209,), (1351031227,), (1351031230,), (1351031233,), (1351031236,), (1351031241,), (1351031286,), (1351031288,), (1351031290,), (1351031303,), (1351031467,), (1351031481,), (1351031488,), (1351031489,), (1351031497,), (1351031784,), (1351031790,), (1351031795,), (1351031810,), (1351031816,), (1351031912,), (1351031916,), (1351031932,), (1351031934,), (1351031936,), (1351032034,), (1351032037,), (1351032039,), (1351032092,), (1351032095,), (1351032097,), (1351032100,), (1351032107,), (1351032108,), (1351032139,), (1351032143,), (1351032275,), (1351032263,), (1351032266,), (1351032269,), (1351032272,), (1351032447,), (1351032484,), (1351032521,), (1351032561,), (1351032610,), (1351032612,), (1351032809,), (1351032836,), (1351032878,), (1351032929,), (1351033401,), (1351033490,), (1351033582,), (1351033692,), (1351033750,), (1351033826,), (1351034296,), (1351034322,), (1351034329,), (1351034495,), (1351034499,), (1351034518,), (1351034523,), (1351034537,), (1351034560,), (1351034563,), (1351034567,), (1351034570,), (1351034594,), (1351034599,), (1351034603,), (1351034605,), (1351034608,), (1351034636,), (1351034640,), (1351034641,), (1351034789,), (1351034800,), (1351034817,), (1351034908,), (1351034920,), (1351034927,), (1351034939,), (1351034947,), (1351034972,), (1351035036,), (1351035060,), (1351035080,), (1351035092,), (1351035202,), (1351035206,), (1351035261,), (1351035265,), (1351035298,), (1351035541,), (1351035553,), (1351035600,), (1351035602,), (1351035605,), (1351035678,), (1351035642,), (1351035675,), (1351035676,), (1351035707,), (1351035721,), (1351035728,), (1351035761,), (1351035765,), (1351035768,), (1351035846,), (1351035905,), (1351035927,), (1351035935,), (1351035984,), (1351036218,), (1351036242,), (1351036245,), (1351036436,), (1351036443,), (1351036449,), (1351036477,), (1351036504,), (1351036619,), (1351036623,), (1351036632,), (1351036639,), (1351036800,), (1351036803,), (1351036805,), (1351036809,), (1351036829,), (1351036882,), (1351036904,), (1351036916,), (1351036977,), (1351036994,), (1351037007,), (1351037009,), (1351037060,), (1351037147,), (1351037246,), (1351037340,), (1351037406,), (1351037439,), (1351037606,), (1351037613,), (1351037619,), (1351037637,), (1351037651,), (1351037746,), (1351037754,), (1351037758,), (1351037816,), (1351037818,), (1351037819,), (1351037825,), (1351037827,), (1351037832,), (1351038365,), (1351038395,), (1351038407,), (1351038421,), (1351038498,), (1351038501,), (1351038512,), (1351038520,), (1351038530,), (1351038542,), (1351038557,), (1351038581,), (1351038799,), (1351038714,), (1351040109,), (1351040190,), (1351040225,), (1351040442,), (1351040838,), (1351040869,), (1351040901,), (1351040925,), (1351040963,), (1351041342,), (1351041397,), (1351041429,), (1351041463,), (1351041500,), (1351041543,), (1351041935,), (1351041974,), (1351042008,), (1351042187,), (1351042192,), (1351042195,), (1351042197,), (1351042201,), (1351042213,), (1351042244,), (1351042266,), (1351042292,), (1351042364,), (1351042638,), (1351042660,), (1351042824,), (1351042836,), (1351042843,), (1351042867,), (1351042870,), (1351042873,), (1351042926,), (1351042929,), (1351042930,), (1351042937,), (1351042947,), (1351043106,), (1351043109,), (1351043120,), (1351043122,), (1351043132,), (1351043135,), (1351043172,), (1351043180,), (1351043183,), (1351043233,), (1351043238,), (1351043240,), (1351043241,), (1351043244,), (1351043420,), (1351043406,), (1351043410,), (1351043413,), (1351043416,), (1351043464,), (1351043466,), (1351043468,), (1351043498,), (1351043503,), (1351043506,), (1351043508,), (1351043510,), (1351043688,), (1351043712,), (1351043724,), (1351043736,), (1351043749,), (1351043756,), (1351043886,), (1351043890,), (1351043892,), (1351043946,), (1351043949,), (1351043951,), (1351043980,), (1351044075,), (1351044194,), (1351044268,), (1351044272,), (1351044275,), (1351044276,), (1351044278,), (1351044364,), (1351044378,), (1351044385,), (1351044397,), (1351044536,), (1351044552,), (1351044577,), (1351044583,), (1351044586,), (1351044707,), (1351044709,), (1351044731,), (1351044812,), (1351044817,), (1351044820,), (1351044850,), (1351044854,), (1351044858,), (1351044863,), (1351044867,), (1351044872,), (1351044879,), (1351044882,), (1351044884,), (1351044887,), (1351044900,), (1351044904,), (1351044905,), (1351044917,), (1351044918,), (1351044931,), (1351044978,), (1351044993,), (1351045136,), (1351045149,), (1351045177,), (1351045209,), (1351045312,), (1351045379,), (1351045465,), (1351045467,), (1351045468,), (1351045701,), (1351045605,), (1351045612,), (1351045633,), (1351045738,), (1351045747,), (1351045748,), (1351045749,), (1351045752,), (1351045760,), (1351045790,), (1351045793,), (1351045794,), (1351045804,), (1351045937,), (1351046020,), (1351046030,), (1351046032,), (1351046225,), (1351046310,), (1351046330,), (1351046358,), (1351046425,), (1351046639,), (1351046649,), (1351046651,), (1351046730,), (1351046798,), (1351046864,), (1351046985,), (1351046988,), (1351047016,), (1351047058,), (1351047060,), (1351047061,), (1351047063,), (1351047066,), (1351047071,), (1351047160,), (1351047163,), (1351047181,), (1351047206,), (1351047218,), (1351047301,), (1351047303,), (1351047305,), (1351047335,), (1351047339,), (1351047342,), (1351047345,), (1351047348,), (1351047392,), (1351047394,), (1351047398,), (1351047406,), (1351047414,), (1351047417,), (1351047589,), (1351047617,), (1351047634,), (1351047637,), (1351047807,), (1351047811,), (1351047813,), (1351047829,), (1351048058,), (1351048060,), (1351048061,), (1351048128,), (1351048093,), (1351048097,), (1351048242,), (1351048245,), (1351048247,), (1351048250,), (1351048316,), (1351048320,), (1351048324,), (1351048325,), (1351048345,), (1351048379,), (1351048382,), (1351048384,), (1351048386,), (1351048415,), (1351048428,), (1351048430,), (1351048431,), (1351048491,), (1351048494,), (1351048520,), (1351048524,), (1351048567,), (1351048736,), (1351048739,), (1351048752,), (1351048777,), (1351048894,), (1351048901,), (1351048918,), (1351048954,), (1351048981,), (1351049013,), (1351049065,), (1351049080,), (1351049088,), (1351049102,), (1351049119,), (1351049177,), (1351049202,), (1351049271,), (1351049486,), (1351049488,), (1351049493,), (1351049503,), (1351049505,), (1351049507,), (1351049527,), (1351049532,), (1351049536,), (1351049541,), (1351049545,), (1351049550,), (1351049580,), (1351049601,), (1351049663,), (1351050389,), (1351050398,), (1351050405,), (1351050489,), (1351050600,), (1351050753,), (1351050786,), (1351050821,), (1351050835,), (1351050945,), (1351050871,), (1351050905,), (1351050919,), (1351050942,), (1351051101,), (1351051122,), (1351051136,), (1351051162,), (1351051186,), (1351051238,), (1351051407,), (1351051426,), (1351051472,), (1351051830,), (1351051892,), (1351051925,), (1351051948,), (1351051982,), (1351052331,), (1351052382,), (1351052437,), (1351052503,), (1351052649,), (1351053108,), (1351053232,), (1351053298,), (1351053372,), (1351053790,), (1351053823,), (1351053881,), (1351053918,), (1351054073,), (1351054126,), (1351054158,), (1351054192,), (1351054564,), (1351054616,), (1351054624,), (1351054640,), (1351054672,), (1351054737,), (1351054862,), (1351054882,), (1351054884,), (1351055030,), (1351055040,), (1351055044,), (1351055063,), (1351055326,), (1351055328,), (1351055331,), (1351055338,), (1351055445,), (1351055448,), (1351055457,), (1351055468,), (1351055491,), (1351055640,), (1351055651,), (1351055661,), (1351055733,), (1351055756,), (1351055992,), (1351055926,), (1351055955,), (1351055963,), (1351055966,), (1351055978,), (1351056170,), (1351056204,), (1351056282,), (1351056318,), (1351056390,), (1351056395,), (1351056412,), (1351056429,), (1351056433,), (1351056480,), (1351056483,), (1351056491,), (1351056512,), (1351056521,), (1351056531,), (1351056728,), (1351056763,), (1351056789,), (1351056832,), (1351056877,), (1351056925,), (1351057159,), (1351057162,), (1351057165,), (1351057168,), (1351057275,), (1351057284,), (1351057292,), (1351057299,), (1351057309,), (1351057316,), (1351057363,), (1351057366,), (1351057367,), (1351057418,), (1351057484,), (1351057507,), (1351057512,), (1351057515,), (1351057522,), (1351057528,), (1351057554,), (1351057558,), (1351057563,), (1351057570,), (1351057624,), (1351057626,), (1351057631,), (1351057646,), (1351057658,), (1351057663,), (1351057691,), (1351057697,), (1351057701,), (1351057729,), (1351057792,), (1351057805,), (1351057815,), (1351057827,), (1351057841,), (1351057879,), (1351058007,), (1351058014,), (1351058021,), (1351058039,), (1351058187,), (1351058204,), (1351058249,), (1351058321,), (1351058453,), (1351058410,), (1351058419,), (1351058425,), (1351058440,), (1351058445,), (1351058509,), (1351058514,), (1351058516,), (1351058785,), (1351058800,), (1351058886,), (1351058890,), (1351058912,), (1351059190,), (1351059215,), (1351059241,), (1351059255,), (1351059260,), (1351059598,), (1351059623,), (1351059646,), (1351059648,), (1351059664,), (1351059671,), (1351059708,), (1351059712,), (1351059714,), (1351059716,), (1351059954,), (1351059965,), (1351059969,), (1351059983,), (1351060026,), (1351060050,), (1351060193,), (1351060196,), (1351060199,), (1351060343,), (1351060346,), (1351060352,), (1351060356,), (1351060360,), (1351060399,), (1351060402,), (1351060406,), (1351060408,), (1351060416,), (1351060422,), (1351060542,), (1351060981,), (1351061001,), (1351061025,), (1351061055,), (1351061122,), (1351061129,), (1351061133,), (1351061137,), (1351061140,), (1351061158,), (1351061267,), (1351061247,), (1351061256,), (1351061259,), (1351061263,), (1351061266,), (1351061301,), (1351061304,), (1351061339,), (1351061345,), (1351061557,), (1351061576,), (1351061586,), (1351061594,), (1351061634,), (1351061685,), (1351061911,), (1351061950,), (1351061991,), (1351062276,), (1351062295,), (1351062322,), (1351062337,), (1351062377,), (1351062392,), (1351062581,), (1351062645,), (1351062670,), (1351062704,), (1351062731,), (1351062752,), (1351062755,), (1351062758,), (1351062762,), (1351062767,), (1351062773,), (1351062843,), (1351062853,), (1351062858,), (1351062861,), (1351062938,), (1351062950,), (1351062971,), (1351062982,), (1351062986,), (1351063106,), (1351063114,), (1351063115,), (1351063117,), (1351063122,), (1351063171,), (1351063177,), (1351063203,), (1351063234,), (1351063253,), (1351063259,), (1351063407,), (1351063411,), (1351063436,), (1351063448,), (1351063450,), (1351063526,), (1351063529,), (1351063530,), (1351063533,), (1351063614,), (1351063618,), (1351063632,), (1351063711,), (1351063795,), (1351063842,), (1351064048,), (1351064112,), (1351064164,), (1351066309,), (1351065809,), (1351066064,), (1351066152,), (1351066241,), (1351066644,), (1351066676,), (1351066714,), (1351066783,), (1351066910,), (1351066949,), (1351067076,), (1351067113,), (1351067118,), (1351067316,), (1351067339,), (1351067357,), (1351067362,), (1351067534,), (1351067584,), (1351067623,), (1351067909,), (1351067940,), (1351067952,), (1351067956,), (1351068255,), (1351068261,), (1351068271,), (1351068281,), (1351068472,), (1351068483,), (1351068551,), (1351068855,), (1351068869,), (1351068873,), (1351068883,), (1351068886,), (1351069290,), (1351069296,), (1351069313,), (1351069330,), (1351069343,), (1351069347,), (1351069574,), (1351069585,), (1351069594,), (1351069600,), (1351069764,), (1351069768,), (1351069773,), (1351069849,), (1351069834,), (1351069840,), (1351069843,), (1351069846,), (1351069909,), (1351069912,), (1351070111,), (1351070157,), (1351070227,), (1351070491,), (1351070527,), (1351070594,), (1351070923,), (1351070928,), (1351070946,), (1351070963,), (1351070976,), (1351070982,), (1351071080,), (1351071099,), (1351071130,), (1351071152,), (1351071164,), (1351071170,), (1351071240,), (1351071243,), (1351071247,), (1351071378,), (1351071385,), (1351071395,), (1351071417,), (1351071526,), (1351071642,), (1351071669,), (1351071695,), (1351071717,), (1351071727,), (1351071834,), (1351071835,), (1351071838,), (1351071841,), (1351071880,), (1351071886,), (1351071909,), (1351072048,), (1351072118,), (1351072180,), (1351072183,), (1351072198,), (1351072245,), (1351072266,), (1351072367,), (1351072411,), (1351072437,), (1351072441,), (1351072446,), (1351072547,), (1351072557,), (1351072527,), (1351072534,), (1351072535,), (1351072540,), (1351072545,), (1351072576,), (1351072584,), (1351072593,), (1351072600,), (1351072606,), (1351072652,), (1351072657,), (1351072659,), (1351072677,), (1351072818,), (1351072832,), (1351072842,), (1351072849,), (1351073007,), (1351073015,), (1351073019,), (1351073124,), (1351073129,), (1351073157,), (1351073162,), (1351073167,), (1351073194,), (1351073198,), (1351073201,), (1351073203,), (1351073213,), (1351073225,), (1351073288,), (1351073306,), (1351073308,), (1351073309,), (1351073543,), (1351073550,), (1351073902,), (1351073972,), (1351074050,), (1351074079,), (1351074090,), (1351074329,), (1351074332,), (1351074345,), (1351074350,), (1351074436,), (1351074442,), (1351074453,), (1351074471,), (1351074571,), (1351074574,), (1351074591,), (1351074668,), (1351074690,), (1351074712,), (1351074735,), (1351074737,), (1351074778,), (1351074780,), (1351074781,), (1351074783,), (1351074850,), (1351074830,), (1351074834,), (1351074837,), (1351074841,), (1351074939,), (1351074954,), (1351074995,), (1351075007,), (1351075064,), (1351075075,), (1351075080,), (1351075084,), (1351075089,), (1351075197,), (1351075202,), (1351075208,), (1351075211,), (1351075458,), (1351075467,), (1351075485,), (1351075524,), (1351075836,), (1351075838,), (1351075857,), (1351075859,), (1351076028,), (1351076041,), (1351076053,), (1351076235,), (1351076311,), (1351076318,), (1351076398,), (1351076419,), (1351076423,), (1351076430,), (1351076483,), (1351076501,), (1351076655,), (1351076726,), (1351077012,), (1351077016,), (1351077019,), (1351077023,), (1351077031,), (1351077209,), (1351077215,), (1351077221,), (1351077226,), (1351077230,), (1351077235,), (1351077255,), (1351077270,), (1351077283,), (1351077317,), (1351077351,), (1351077377,), (1351077631,), (1351077668,), (1351077699,), (1351077721,), (1351077755,), (1351077992,), (1351089878,), (1351089930,), (1351090095,), (1351090120,), (1351090149,), (1351090172,), (1351090179,), (1351090184,), (1351090304,), (1351090308,), (1351090353,), (1351090356,), (1351090358,), (1351090360,), (1351090438,), (1351090446,), (1351090449,), (1351090458,), (1351090492,), (1351090502,), (1351090550,), (1351090556,), (1351090558,), (1351090559,), (1351090564,), (1351090570,), (1351090624,), (1351090631,), (1351090632,), (1351090635,), (1351090641,), (1351090938,), (1351090944,), (1351090946,), (1351090949,), (1351091306,), (1351091319,), (1351091335,), (1351091816,), (1351091824,), (1351091840,), (1351091847,), (1351092016,), (1351092037,), (1351092060,), (1351092097,), (1351092102,), (1351092111,), (1351092347,), (1351092377,), (1351092753,), (1351092830,), (1351092855,), (1351092858,), (1351092861,), (1351092976,), (1351092919,), (1351092922,), (1351092943,), (1351093498,), (1351093511,), (1351093835,), (1351093903,), (1351093912,), (1351094002,), (1351094036,), (1351094135,), (1351094139,), (1351094141,), (1351094214,), (1351094216,), (1351094218,), (1351094219,), (1351094221,), (1351094254,), (1351094255,), (1351094259,), (1351094263,), (1351094311,), (1351094315,), (1351094321,), (1351094330,), (1351094402,), (1351094470,), (1351094509,), (1351094510,), (1351094588,), (1351094590,), (1351094594,), (1351094649,), (1351094653,), (1351094673,), (1351094808,), (1351094811,), (1351094814,), (1351094822,), (1351094827,), (1351095516,), (1351095569,), (1351095613,), (1351095644,), (1351095699,), (1351095880,), (1351095926,), (1351095969,), (1351096290,), (1351096155,), (1351096182,), (1351096206,), (1351096238,), (1351096519,), (1351096547,), (1351096570,), (1351096586,), (1351096590,), (1351096624,), (1351096874,), (1351096922,), (1351096972,), (1351096998,), (1351097233,), (1351097260,), (1351097286,), (1351097513,), (1351097515,), (1351097519,), (1351097544,), (1351097572,), (1351097960,), (1351098626,), (1351098674,), (1351098716,), (1351098754,), (1351098783,), (1351098831,), (1351099215,), (1351099260,), (1351099314,), (1351099341,), (1351099611,), (1351099614,), (1351099621,), (1351100040,), (1351100083,), (1351100097,), (1351100467,), (1351100515,), (1351100579,), (1351100618,), (1351100623,), (1351100653,), (1351100771,), (1351100804,), (1351100838,), (1351100856,), (1351100940,), (1351100944,), (1351100969,), (1351100992,), (1351101006,), (1351101020,), (1351101210,), (1351101259,), (1351101302,), (1351101321,), (1351101535,), (1351101563,), (1351101602,), (1351101698,), (1351101750,), (1351101901,), (1351101876,), (1351101881,), (1351101885,), (1351101892,), (1351102027,), (1351102031,), (1351102034,), (1351102037,), (1351102047,), (1351102160,), (1351102342,), (1351102352,), (1351102356,), (1351102366,), (1351102427,), (1351102616,), (1351102656,), (1351102709,), (1351102844,), (1351102869,), (1351102875,), (1351102880,), (1351102885,), (1351102890,), (1351102947,), (1351102951,), (1351102965,), (1351103015,), (1351103018,), (1351103022,), (1351103026,), (1351103029,), (1351103035,), (1351103122,), (1351103130,), (1351103138,), (1351103154,), (1351103366,), (1351103394,), (1351103414,), (1351103453,), (1351103487,), (1351103539,), (1351103684,), (1351103711,), (1351103735,), (1351103814,), (1351103834,), (1351103910,), (1351103915,), (1351103918,), (1351103957,), (1351104055,), (1351104064,), (1351104090,), (1351104119,), (1351104122,), (1351104167,), (1351104169,), (1351104172,), (1351104175,), (1351104178,), (1351104209,), (1351104276,), (1351104282,), (1351104320,), (1351104753,), (1351104731,), (1351105272,), (1351105276,), (1351105279,), (1351105286,), (1351105392,), (1351105394,), (1351105397,), (1351105429,), (1351105451,), (1351105477,), (1351105563,), (1351105568,), (1351105570,), (1351105572,), (1351105628,), (1351105631,), (1351105651,), (1351105739,), (1351105758,), (1351105772,), (1351105791,), (1351105806,), (1351105980,), (1351105983,), (1351105987,), (1351105991,), (1351106148,), (1351106161,), (1351106171,), (1351106179,), (1351106265,), (1351106273,), (1351106276,), (1351106279,), (1351106309,), (1351106311,), (1351106313,), (1351106316,), (1351106319,), (1351106322,), (1351106379,), (1351106381,), (1351106384,), (1351106386,), (1351106396,), (1351106522,), (1351106554,), (1351106569,), (1351106900,), (1351106926,), (1351106961,), (1351106992,), (1351107040,), (1351107075,), (1351107370,), (1351107305,), (1351107308,), (1351107311,), (1351107312,), (1351107537,), (1351107553,), (1351107587,), (1351107641,), (1351107691,), (1351108033,), (1351108097,), (1351108139,), (1351108470,), (1351108554,), (1351108616,), (1351108677,), (1351108737,), (1351108827,), (1351109223,), (1351109302,), (1351109310,), (1351109331,), (1351109651,), (1351109667,), (1351109690,), (1351109694,), (1351109705,), (1351109925,), (1351109960,), (1351109971,), (1351110222,), (1351110284,), (1351110333,), (1351110357,), (1351110593,), (1351110622,), (1351110632,), (1351110654,), (1351110924,), (1351110926,), (1351110944,), (1351110966,), (1351111004,), (1351111007,), (1351111151,), (1351111154,), (1351111182,), (1351111305,), (1351111307,), (1351111619,), (1351111636,), (1351111702,), (1351111791,), (1351111837,), (1351112103,), (1351112061,), (1351112077,), (1351112436,), (1351112483,), (1351112565,), (1351113036,), (1351113088,), (1351113160,), (1351113242,), (1351113374,), (1351113729,), (1351113814,), (1351113846,), (1351113889,), (1351113994,), (1351114333,), (1351114375,), (1351114410,), (1351115399,), (1351115455,), (1351115581,), (1351115597,), (1351115986,), (1351115997,), (1351116061,), (1351116101,), (1351116145,), (1351116227,), (1351116348,), (1351116373,), (1351116397,), (1351116441,), (1351116464,), (1351116476,), (1351116538,), (1351116551,), (1351116553,), (1351116562,), (1351116660,), (1351116670,), (1351116701,), (1351116705,), (1351116708,), (1351116712,), (1351116863,), (1351116869,), (1351116896,), (1351116926,), (1351116948,), (1351116963,), (1351117092,), (1351117142,), (1351117153,), (1351117254,), (1351117260,), (1351117279,), (1351117294,), (1351117336,), (1351117355,), (1351117357,), (1351117362,), (1351117372,), (1351117396,), (1351117456,), (1351117444,), (1351117520,), (1351117660,), (1351117665,), (1351117676,), (1351117785,), (1351117799,), (1351117823,), (1351117830,), (1351117854,), (1351117863,), (1351117927,), (1351117954,), (1351117977,), (1351118014,), (1351118031,), (1351118160,), (1351118225,), (1351118318,), (1351118574,), (1351118583,), (1351118640,), (1351118654,), (1351118662,), (1351118835,), (1351118849,), (1351118857,), (1351118859,), (1351119169,), (1351119174,), (1351119186,), (1351119193,), (1351119196,), (1351119199,), (1351119230,), (1351119233,), (1351119238,), (1351119285,), (1351119306,), (1351119327,), (1351119341,), (1351119359,), (1351119587,), (1351119604,), (1351119609,), (1351119744,), (1351119748,), (1351119756,), (1351119763,), (1351119791,), (1351120048,), (1351119924,), (1351119928,), (1351119930,), (1351119993,), (1351121625,), (1351121628,), (1351121977,), (1351121996,), (1351122000,), (1351122004,), (1351122009,), (1351122068,), (1351122071,), (1351122076,), (1351122078,), (1351122083,), (1351122088,), (1351122136,), (1351122139,), (1351122145,), (1351122157,), (1351122201,), (1351122362,), (1351122564,), (1351122575,), (1351122579,), (1351122582,), (1351122604,), (1351122625,), (1351122726,), (1351122754,), (1351122780,), (1351122831,), (1351123095,), (1351123066,), (1351123418,), (1351123442,), (1351123473,), (1351123538,), (1351123543,), (1351123593,), (1351123596,), (1351123740,), (1351123753,), (1351123758,), (1351123760,), (1351123775,), (1351124216,), (1351124229,), (1351124278,), (1351124313,), (1351124540,), (1351124544,), (1351124556,), (1351124732,), (1351124736,), (1351124965,), (1351124980,), (1351125019,), (1351125056,), (1351125082,), (1351125269,), (1351125306,), (1351125465,), (1351125468,), (1351125470,), (1351125472,), (1351125675,), (1351125691,), (1351125700,), (1351125703,), (1351125792,), (1351125801,), (1351125823,), (1351126101,), (1351126182,), (1351126212,), (1351126246,), (1351127105,), (1351126911,), (1351126952,), (1351127017,), (1351127058,), (1351127538,), (1351127587,), (1351127854,), (1351127931,), (1351128378,), (1351128392,), (1351128438,), (1351128472,), (1351128482,), (1351128853,), (1351128881,), (1351128919,), (1351128971,), (1351129269,), (1351129319,), (1351129348,), (1351129368,), (1351129383,), (1351129522,), (1351129528,), (1351129565,), (1351129580,), (1351129594,), (1351129694,), (1351129715,), (1351129734,), (1351130006,), (1351130026,), (1351130057,), (1351130138,), (1351130143,), (1351130148,), (1351130161,), (1351130168,), (1351130175,), (1351130239,), (1351130241,), (1351130436,), (1351130458,), (1351130486,), (1351130509,), (1351130526,), (1351131549,), (1351152620,), (1351153294,), (1351153296,), (1351153336,), (1351153337,), (1351153340,), (1351153343,), (1351153346,), (1351153409,), (1351153704,), (1351154458,), (1351154185,), (1351154264,), (1351154355,), (1351154589,), (1351154613,), (1351154641,), (1351154662,), (1351154975,), (1351155599,), (1351155643,), (1351155668,), (1351155692,), (1351155709,), (1351156108,), (1351156199,), (1351156222,), (1351156259,), (1351156315,), (1351156426,), (1351156942,), (1351156995,), (1351157045,), (1351157090,), (1351157429,), (1351157452,), (1351157476,), (1351157502,), (1351157525,), (1351157548,), (1351157812,), (1351157854,), (1351157904,), (1351157947,), (1351157967,), (1351158000,), (1351158441,), (1351158457,), (1351158484,), (1351158521,), (1351158648,), (1351158651,), (1351158653,), (1351158656,), (1351158662,), (1351158705,), (1351158707,), (1351158718,), (1351158738,), (1351158756,), (1351158990,), (1351158996,), (1351158999,), (1351159024,), (1351159050,), (1351159341,), (1351159375,), (1351159409,), (1351159539,), (1351159609,), (1351159636,), (1351160198,), (1351160251,), (1351160294,), (1351160318,), (1351160324,), (1351160336,), (1351160572,), (1351160527,), (1351160554,), (1351160569,), (1351160805,), (1351160812,), (1351160830,), (1351160849,), (1351160862,), (1351161040,), (1351161045,), (1351161052,), (1351161060,), (1351161063,), (1351161257,), (1351161262,), (1351161268,), (1351161450,), (1351161455,), (1351161458,), (1351161461,), (1351161465,), (1351161510,), (1351161514,), (1351161518,), (1351161521,), (1351161556,), (1351161559,), (1351161564,), (1351161569,), (1351161573,), (1351161577,), (1351161609,), (1351161611,), (1351161615,), (1351161619,), (1351161625,), (1351161660,), (1351161665,), (1351161669,), (1351161674,), (1351161781,), (1351161804,), (1351161814,), (1351161823,), (1351161832,), (1351161850,), (1351161980,), (1351161987,), (1351162002,), (1351162013,), (1351162332,), (1351162338,), (1351162384,), (1351162396,), (1351162436,), (1351162442,), (1351162447,), (1351162452,), (1351162458,), (1351162465,), (1351162684,), (1351162692,), (1351162697,), (1351162744,), (1351162909,), (1351162914,), (1351162918,), (1351162934,), (1351162997,), (1351163055,), (1351163041,), (1351163046,), (1351163051,), (1351163099,), (1351163104,), (1351163113,), (1351163123,), (1351163130,), (1351163188,), (1351163198,), (1351163219,), (1351163228,), (1351163233,), (1351163286,), (1351163476,), (1351163483,), (1351163487,), (1351163798,), (1351163857,), (1351163909,), (1351163927,), (1351163937,), (1351164022,), (1351164028,), (1351164031,), (1351164042,), (1351164054,), (1351164152,), (1351164159,), (1351164169,), (1351164180,), (1351164191,), (1351164287,), (1351164305,), (1351164315,), (1351164324,), (1351164328,), (1351164364,), (1351164508,), (1351164583,), (1351164595,), (1351164598,), (1351164748,), (1351164775,), (1351164786,), (1351164821,), (1351164846,), (1351164863,), (1351164981,), (1351164984,), (1351164988,), (1351164992,), (1351164998,), (1351165165,), (1351165170,), (1351165175,), (1351165179,), (1351165330,), (1351165336,), (1351165343,), (1351165353,), (1351165362,), (1351165464,), (1351165475,), (1351165482,), (1351165493,), (1351165499,), (1351165502,), (1351165590,), (1351165594,), (1351165597,), (1351165609,), (1351165622,), (1351165780,), (1351165684,), (1351165692,), (1351165718,), (1351165741,), (1351165848,), (1351165885,), (1351165922,), (1351165935,), (1351165969,), (1351166127,), (1351166134,), (1351166159,), (1351166259,), (1351166271,), (1351166278,), (1351166303,), (1351166311,), (1351166416,), (1351166428,), (1351166432,), (1351166438,), (1351166482,), (1351166491,), (1351166620,), (1351166625,), (1351166628,), (1351166632,), (1351166689,), (1351166693,), (1351166713,), (1351166810,), (1351166856,), (1351166870,), (1351166974,), (1351166978,), (1351167004,), (1351167008,), (1351167013,), (1351167020,), (1351167112,), (1351167116,), (1351167119,), (1351167342,), (1351167350,), (1351167357,), (1351167381,), (1351167390,), (1351167405,), (1351167509,), (1351167512,), (1351167518,), (1351167523,), (1351167535,), (1351167547,), (1351167592,), (1351167595,), (1351167598,), (1351167601,), (1351167631,), (1351167634,), (1351167638,), (1351167641,), (1351167644,), (1351167647,), (1351167901,), (1351167964,), (1351167995,), (1351168249,), (1351168193,), (1351168208,), (1351168231,), (1351168245,), (1351168273,), (1351168281,), (1351168290,), (1351168438,), (1351168471,), (1351168504,), (1351168537,), (1351168600,), (1351168632,), (1351168929,), (1351168996,), (1351169061,), (1351169120,), (1351169183,), (1351169255,), (1351170007,), (1351170071,), (1351170121,), (1351170182,), (1351170761,), (1351170864,), (1351170910,), (1351170972,), (1351171032,), (1351171106,), (1351171505,), (1351171562,), (1351171617,), (1351171665,), (1351171732,), (1351171768,), (1351172047,), (1351172086,), (1351172158,), (1351172193,), (1351172231,), (1351172536,), (1351172590,), (1351172663,), (1351172700,), (1351172748,), (1351172777,), (1351173174,), (1351173226,), (1351173296,), (1351173355,), (1351173392,), (1351173695,), (1351173730,), (1351173822,), (1351173894,), (1351173958,), (1351174449,), (1351174522,), (1351174552,), (1351174598,), (1351174647,), (1351174710,), (1351175048,), (1351175099,), (1351175607,), (1351175621,), (1351175631,), (1351175632,), (1351175637,), (1351175754,), (1351175791,), (1351175805,), (1351175826,), (1351175855,), (1351175861,), (1351176016,), (1351176003,), (1351176015,), (1351176147,), (1351176181,), (1351176183,), (1351176185,), (1351176188,), (1351176190,), (1351176232,), (1351176234,), (1351176241,), (1351176245,), (1351176251,), (1351176260,), (1351176302,), (1351176311,), (1351176315,), (1351176335,), (1351176346,), (1351176384,), (1351176388,), (1351176398,), (1351176412,), (1351176698,), (1351176749,), (1351176816,), (1351176965,), (1351176970,), (1351176975,), (1351176981,), (1351176993,), (1351177061,), (1351177105,), (1351177114,), (1351177128,), (1351177159,), (1351177300,), (1351177324,), (1351177350,), (1351177411,), (1351177463,), (1351178048,), (1351178062,), (1351178085,), (1351178102,), (1351178115,), (1351178267,), (1351178284,), (1351178292,), (1351178397,), (1351178403,), (1351178408,), (1351178430,), (1351178563,), (1351178570,), (1351178573,), (1351179100,), (1351179090,), (1351179096,), (1351179173,), (1351179196,), (1351179208,), (1351179221,), (1351179247,), (1351179441,), (1351179463,), (1351179476,), (1351179500,), (1351179633,), (1351179644,), (1351179658,), (1351179689,), (1351179877,), (1351179952,), (1351179979,), (1351180032,), (1351180093,), (1351180131,), (1351180197,), (1351180211,), (1351180223,), (1351180234,), (1351180380,), (1351180388,), (1351180402,), (1351180404,), (1351180409,), (1351180431,), (1351180595,), (1351180706,), (1351180828,), (1351180843,), (1351180863,), (1351180934,), (1351180941,), (1351180977,), (1351181741,), (1351181776,), (1351181836,), (1351181866,), (1351182297,), (1351182307,), (1351182331,), (1351182353,), (1351182409,), (1351182572,), (1351182584,), (1351182589,), (1351182595,), (1351182644,), (1351182650,), (1351182661,), (1351182665,), (1351182668,), (1351182675,), (1351182765,), (1351182783,), (1351182803,), (1351182815,), (1351182818,), (1351182822,), (1351182865,), (1351182882,), (1351183076,), (1351183070,), (1351183073,), (1351183130,), (1351183133,), (1351183138,), (1351183161,), (1351183172,), (1351183192,), (1351183355,), (1351183380,), (1351183403,), (1351183426,), (1351183444,), (1351183721,), (1351183921,), (1351183958,), (1351184014,), (1351184032,), (1351184232,), (1351184243,), (1351184254,), (1351184260,), (1351184313,), (1351184366,), (1351184660,), (1351184671,), (1351184675,), (1351184679,), (1351184683,), (1351184730,), (1351184734,), (1351184741,), (1351184744,), (1351184753,), (1351184758,), (1351184891,), (1351184897,), (1351184912,), (1351184915,), (1351185054,), (1351185066,), (1351185077,), (1351185095,), (1351185106,), (1351185268,), (1351185290,), (1351185294,), (1351185311,), (1351185404,), (1351185410,), (1351185415,), (1351185421,), (1351185431,), (1351185442,), (1351185467,), (1351185471,), (1351185475,), (1351185479,), (1351185546,), (1351185550,), (1351185554,), (1351185559,), (1351185615,), (1351185629,), (1351185994,), (1351186075,), (1351186099,), (1351186127,), (1351186178,), (1351186179,), (1351186213,), (1351186214,), (1351186229,), (1351186233,), (1351186235,), (1351186237,), (1351186286,), (1351186287,), (1351186487,), (1351186420,), (1351186436,), (1351186441,), (1351186467,), (1351186612,), (1351186617,), (1351186624,), (1351186634,), (1351186659,), (1351186859,), (1351186878,), (1351186904,), (1351186940,), (1351186961,), (1351187164,), (1351187218,), (1351187243,), (1351187555,), (1351187575,), (1351187597,), (1351187622,), (1351187660,), (1351187683,), (1351187924,), (1351187965,), (1351188195,), (1351188251,), (1351188321,), (1351188577,), (1351188635,), (1351189130,), (1351189157,), (1351189188,), (1351189211,), (1351189250,), (1351189289,), (1351189566,), (1351189655,), (1351189755,), (1351189848,), (1351189913,), (1351189932,), (1351190400,), (1351190444,), (1351192134,), (1351192208,), (1351192664,), (1351192713,), (1351192726,), (1351192734,), (1351193052,), (1351193112,), (1351193181,), (1351193355,), (1351193418,), (1351201352,), (1351202152,), (1351202189,), (1351203890,), (1351203938,), (1351203961,), (1351203997,), (1351204398,), (1351204433,), (1351204471,), (1351204502,), (1351204512,), (1351204522,), (1351204671,), (1351204696,), (1351205059,), (1351205086,), (1351205293,), (1351205297,), (1351205298,), (1351205606,), (1351205649,), (1351205677,), (1351205705,), (1351205717,), (1351205720,), (1351205931,), (1351205935,), (1351205938,), (1351205944,), (1351206034,), (1351206081,), (1351206097,), (1351206116,), (1351206123,), (1351206145,), (1351206253,), (1351206275,), (1351206298,), (1351206309,), (1351206342,), (1351206431,), (1351207131,), (1351207166,), (1351207202,), (1351207247,), (1351207350,), (1351207307,), (1351207326,), (1351207342,), (1351207396,), (1351207433,), (1351207473,), (1351207499,), (1351207548,), (1351207575,), (1351207917,), (1351207967,), (1351208006,), (1351208048,), (1351208250,), (1351208279,), (1351208349,), (1351208378,), (1351208405,), (1351208864,), (1351209046,), (1351209195,), (1351209300,), (1351209337,), (1351209413,), (1351210195,), (1351210254,), (1351210321,), (1351210363,), (1351210771,), (1351210800,), (1351210824,), (1351212178,), (1351215100,), (1351228465,), (1351228485,), (1351228514,), (1351228530,), (1351228536,), (1351228545,), (1351228720,), (1351228760,), (1351228807,), (1351228829,), (1351228871,), (1351228964,), (1351228975,), (1351228987,), (1351229002,), (1351229328,), (1351229340,), (1351230111,), (1351230151,), (1351230623,), (1351230673,), (1351230771,), (1351230867,), (1351230958,), (1351231032,), (1351231461,), (1351241027,), (1351241075,), (1351241137,), (1351241671,), (1351241730,), (1351241808,), (1351242209,), (1351242239,), (1351242270,), (1351242301,), (1351242357,), (1351242589,), (1351242651,), (1351242670,), (1351242690,), (1351242939,), (1351242962,), (1351242966,), (1351242984,), (1351243007,), (1351243132,), (1351243137,), (1351243139,), (1351243142,), (1351243144,), (1351243290,), (1351243296,), (1351243302,), (1351243312,), (1351243344,), (1351243380,), (1351243679,), (1351243695,), (1351243703,), (1351243888,), (1351243894,), (1351243898,), (1351243901,), (1351243903,), (1351243905,), (1351243925,), (1351243929,), (1351243933,), (1351243937,), (1351243941,), (1351243987,), (1351243992,), (1351243996,), (1351244001,), (1351244006,), (1351244011,), (1351244273,), (1351244194,), (1351244218,), (1351244245,), (1351244508,), (1351244627,), (1351244654,), (1351244693,), (1351244726,), (1351244751,), (1351244879,), (1351244905,), (1351244936,), (1351244976,), (1351245158,), (1351245190,), (1351248284,), (1351252369,), (1351252315,), (1351252342,), (1351252355,), (1351252701,), (1351252809,), (1351252855,), (1351253383,), (1351253408,), (1351253798,), (1351253829,), (1351253858,), (1351253878,), (1351253900,), (1351254293,), (1351254319,), (1351254374,), (1351254671,), (1351254712,), (1351254774,), (1351255259,), (1351255305,), (1351255391,), (1351255446,), (1351255487,), (1351255511,), (1351255879,), (1351255898,), (1351255909,), (1351255922,), (1351256256,), (1351256342,), (1351287605,), (1351288678,), (1351288740,), (1351288776,), (1351288828,), (1351289068,), (1351289078,), (1351289084,), (1351289432,), (1351289531,), (1351289560,), (1351289578,), (1351289603,), (1351289623,), (1351289729,), (1351289733,), (1351289769,), (1351289775,), (1351289779,), (1351289793,), (1351289812,), (1351289814,), (1351289841,), (1351289842,), (1351289845,), (1351289848,), (1351289851,), (1351289878,), (1351289880,), (1351289883,), (1351289887,), (1351289890,), (1351289933,), (1351289936,), (1351290047,), (1351290054,), (1351290059,), (1351290062,), (1351290066,), (1351290501,), (1351290471,), (1351290474,), (1351290484,), (1351290493,), (1351290618,), (1351290631,), (1351290641,), (1351290650,), (1351290818,), (1351290833,), (1351290893,), (1351290907,), (1351290936,), (1351291158,), (1351291294,), (1351291366,), (1351291403,), (1351291433,), (1351291457,), (1351291688,), (1351291691,), (1351291694,), (1351291709,), (1351291994,), (1351292050,), (1351292075,), (1351292084,), (1351292100,), (1351292114,), (1351292363,), (1351292393,), (1351292413,), (1351292472,), (1351292503,), (1351292530,), (1351292737,), (1351292749,), (1351292774,), (1351292799,), (1351292859,), (1351293137,), (1351293145,), (1351293206,), (1351293265,), (1351293308,), (1351293325,), (1351293485,), (1351293529,), (1351293568,), (1351293607,), (1351293888,), (1351293921,), (1351293945,), (1351294577,), (1351299894,), (1351363098,), (1351364167,), (1351365138,), (1351365202,), (1351365242,), (1351366126,), (1351366144,), (1351366809,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10042025': {'nb_upload': 39, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22240699]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678] map_info['map_portfolio_photo'] : {22240699: [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678]} final : True mtd_id 4302 list_pids : [1351290501, 1351290066, 1351290062, 1351290059, 1351290054, 1351290047, 1351289936, 1351289933, 1351289890, 1351289887, 1351289883, 1351289880, 1351289878, 1351289851, 1351289848, 1351289845, 1351289842, 1351289841, 1351289814, 1351289812, 1351289793, 1351289779, 1351289775, 1351289769, 1351289733, 1351289729, 1351289623, 1351289603, 1351289578, 1351289560, 1351289531, 1351289432, 1351289084, 1351289078, 1351289068, 1351288828, 1351288776, 1351288740, 1351288678] Looping around the photos to save general results len do output : 1 /22240699Didn'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, '2742125') ('4302', '22240699', '1351290501', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290066', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290062', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290059', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290054', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351290047', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289936', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289933', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289890', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289887', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289883', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289880', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289878', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289851', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289848', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289845', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289842', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289841', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289814', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289812', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289793', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289779', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289775', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289769', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289733', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289729', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289623', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289603', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289578', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289560', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289531', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289432', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289084', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289078', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351289068', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288828', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288776', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288740', None, None, None, None, None, '2742125') ('4302', None, None, None, None, None, None, None, '2742125') ('4302', '22240699', '1351288678', None, None, None, None, None, '2742125') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22240699', 'None', None, None, None, None, '2742125'), ('4302', '22240699', '1351290501', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290066', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290062', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290059', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290054', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351290047', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289936', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289933', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289890', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289887', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289883', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289880', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289878', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289851', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289848', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289845', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289842', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289841', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289814', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289812', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289793', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289779', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289775', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289769', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289733', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289729', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289623', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289603', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289578', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289560', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289531', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289432', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289084', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289078', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351289068', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288828', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288776', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288740', None, None, None, None, None, '2742125'), ('4302', '22240699', '1351288678', None, None, None, None, None, '2742125')] time used for this insertion : 0.11562848091125488 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.484790086746216 time spend to save output : 0.1159965991973877 total time spend for step 5 : 3.6007866859436035 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 (2742125) 3.55user 2.44system 0:27.23elapsed 22%CPU (0avgtext+0avgdata 166320maxresident)k 22984inputs+27072outputs (92major+89240minor)pagefaults 0swaps