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 : 3385754 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 (2536660) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2536660) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102932 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2536660'] with mtr_portfolio_ids : ['20102932'] and first list_photo_ids : [] new path : /proc/3385754/ Name: python3 Umask: 0002 State: R (running) Tgid: 3385754 Ngid: 0 Pid: 3385754 PPid: 3385753 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3385754 NSpid: 3385754 NSpgid: 3384908 NSsid: 3384908 VmPeak: 1106840 kB VmSize: 1106840 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99104 kB VmRSS: 99104 kB RssAnon: 59788 kB RssFile: 39316 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 612 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: 49 nonvoluntary_ctxt_switches: 121 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3385754', 'Ngid': '0', 'Pid': '3385754', 'PPid': '3385753', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3385754', 'NSpid': '3385754', 'NSpgid': '3384908', 'NSsid': '3384908', 'VmPeak': '1106840 kB', 'VmSize': '1106840 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99104 kB', 'VmRSS': '99104 kB', 'RssAnon': '59788 kB', 'RssFile': '39316 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '612 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': '49', 'nonvoluntary_ctxt_switches': '121'} ('datou_batch_current', '3385754', '1106840', '0', '1106840', '865592', '99104', b'', 'marlene', '2536660') 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 (20102932) 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 (2536660 ) ) 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 (20102932) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1333230493, 'portfolio_id': 20102932}, {'photo_id': 1333230408, 'portfolio_id': 20102932}, {'photo_id': 1333230393, 'portfolio_id': 20102932}, {'photo_id': 1333230018, 'portfolio_id': 20102932}, {'photo_id': 1333230017, 'portfolio_id': 20102932}, {'photo_id': 1333230015, 'portfolio_id': 20102932}, {'photo_id': 1333230012, 'portfolio_id': 20102932}, {'photo_id': 1333229935, 'portfolio_id': 20102932}, {'photo_id': 1333229749, 'portfolio_id': 20102932}, {'photo_id': 1333229695, 'portfolio_id': 20102932}, {'photo_id': 1333228421, 'portfolio_id': 20102932}, {'photo_id': 1333228073, 'portfolio_id': 20102932}, {'photo_id': 1333228067, 'portfolio_id': 20102932}, {'photo_id': 1333228064, 'portfolio_id': 20102932}, {'photo_id': 1333227991, 'portfolio_id': 20102932}, {'photo_id': 1333227968, 'portfolio_id': 20102932}, {'photo_id': 1333227934, 'portfolio_id': 20102932}, {'photo_id': 1333227929, 'portfolio_id': 20102932}, {'photo_id': 1333227911, 'portfolio_id': 20102932}, {'photo_id': 1333227799, 'portfolio_id': 20102932}, {'photo_id': 1333227796, 'portfolio_id': 20102932}, {'photo_id': 1333227749, 'portfolio_id': 20102932}, {'photo_id': 1333227745, 'portfolio_id': 20102932}, {'photo_id': 1333227741, 'portfolio_id': 20102932}, {'photo_id': 1333227737, 'portfolio_id': 20102932}, {'photo_id': 1333227732, 'portfolio_id': 20102932}, {'photo_id': 1333227634, 'portfolio_id': 20102932}, {'photo_id': 1333227631, 'portfolio_id': 20102932}, {'photo_id': 1333227623, 'portfolio_id': 20102932}, {'photo_id': 1333227448, 'portfolio_id': 20102932}, {'photo_id': 1333227429, 'portfolio_id': 20102932}, {'photo_id': 1333227409, 'portfolio_id': 20102932}, {'photo_id': 1333227384, 'portfolio_id': 20102932}, {'photo_id': 1333227366, 'portfolio_id': 20102932}, {'photo_id': 1333227325, 'portfolio_id': 20102932}, {'photo_id': 1333227104, 'portfolio_id': 20102932}] map_portfolio_id_photo_id: {20102932: [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.02566075325012207 #### 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 Sat Feb 1 05:48:29 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 (20102932) 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 : 20102932 get user id for portfolio 20102932 get sub ptf for main ptf 20102932, type 3726 and hashtags ['papier', 'metal', 'Carton_gris', 'environnement', 'flou', 'autre_refus', 'kraft', 'plastique', 'Carton_brun', 'mal_croppe', 'Teint_Dans_La_Masse', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20102932 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','Carton_gris','environnement','flou','autre_refus','kraft','plastique','Carton_brun','mal_croppe','Teint_Dans_La_Masse','cartonnette')) 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`=20102932 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','Carton_gris','environnement','flou','autre_refus','kraft','plastique','Carton_brun','mal_croppe','Teint_Dans_La_Masse','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 20102932, 'sub_port_id': 20102958, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821074, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}, 'Carton_gris': {'main_port_id': 20102932, 'sub_port_id': 20102959, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821075, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}, 'mal_croppe': {'main_port_id': 20102932, 'sub_port_id': 20102960, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821076, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20102932, 'sub_port_id': 20102961, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821077, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}, 'papier': {'main_port_id': 20102932, 'sub_port_id': 20102962, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821078, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}, 'autre_refus': {'main_port_id': 20102932, 'sub_port_id': 20102963, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821079, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}, 'Carton_brun': {'main_port_id': 20102932, 'sub_port_id': 20102964, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821080, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}, 'kraft': {'main_port_id': 20102932, 'sub_port_id': 20102965, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821081, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}, 'environnement': {'main_port_id': 20102932, 'sub_port_id': 20102966, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821082, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}, 'flou': {'main_port_id': 20102932, 'sub_port_id': 20102967, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821083, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}, 'cartonnette': {'main_port_id': 20102932, 'sub_port_id': 20102968, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821084, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}, 'metal': {'main_port_id': 20102932, 'sub_port_id': 20102969, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821085, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 38, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20102958 , 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=20102932 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 (20102958) result : ((1333229275,), (1333229278,), (1333229663,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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 20102959 , 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=20102932 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 (20102959) result : ((1333229183,), (1333229237,), (1333229242,), (1333229294,), (1333229513,), (1333229514,), (1333229709,), (1333230450,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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 20102960 , 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=20102932 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 (20102960) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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 20102961 , 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=20102932 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 (20102961) result : ((1333229181,), (1333229671,), (1333230442,), (1333230443,), (1333230444,), (1333230445,), (1333230446,), (1333230704,), (1333230707,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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 20102962 , 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=20102932 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 (20102962) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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 20102963 , 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=20102932 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 (20102963) result : ((1333228865,), (1333229182,), (1333229200,), (1333229202,), (1333229204,), (1333229510,), (1333229511,), (1333229646,), (1333229648,), (1333229707,), (1333230448,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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 20102964 , 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=20102932 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 (20102964) result : ((1333228872,), (1333229269,), (1333229270,), (1333229271,), (1333229272,), (1333229521,), (1333229522,), (1333229523,), (1333229673,), (1333230706,), (1333230708,), (1333230709,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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 20102965 , 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=20102932 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 (20102965) result : ((1333230710,), (1333230711,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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 20102966 , 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=20102932 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 (20102966) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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 20102967 , 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=20102932 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 (20102967) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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 20102968 , 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=20102932 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 (20102968) result : ((1333229268,), (1333229295,), (1333229517,), (1333229518,), (1333229519,), (1333229659,), (1333229660,), (1333229661,), (1333229662,), (1333230451,), (1333230705,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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 20102969 , 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=20102932 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 (20102969) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20102932) result : ((1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,)) 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`=20102932 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','Carton_gris','environnement','flou','autre_refus','kraft','plastique','Carton_brun','mal_croppe','Teint_Dans_La_Masse','cartonnette')) 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`=20102932 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','Carton_gris','environnement','flou','autre_refus','kraft','plastique','Carton_brun','mal_croppe','Teint_Dans_La_Masse','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 20102932, 'sub_port_id': 20102970, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821086, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}, 'Carton_gris': {'main_port_id': 20102932, 'sub_port_id': 20102971, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821087, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}, 'mal_croppe': {'main_port_id': 20102932, 'sub_port_id': 20102972, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821088, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 20102932, 'sub_port_id': 20102973, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821089, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}, 'papier': {'main_port_id': 20102932, 'sub_port_id': 20102974, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821090, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}, 'autre_refus': {'main_port_id': 20102932, 'sub_port_id': 20102975, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821091, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}, 'Carton_brun': {'main_port_id': 20102932, 'sub_port_id': 20102976, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821092, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}, 'kraft': {'main_port_id': 20102932, 'sub_port_id': 20102977, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821093, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}, 'environnement': {'main_port_id': 20102932, 'sub_port_id': 20102978, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821094, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}, 'flou': {'main_port_id': 20102932, 'sub_port_id': 20102979, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821095, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}, 'cartonnette': {'main_port_id': 20102932, 'sub_port_id': 20102980, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821096, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 39, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}, 'metal': {'main_port_id': 20102932, 'sub_port_id': 20102981, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821097, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 39, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102970,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102958 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102971,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102959 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102972,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102960 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102973,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102961 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102974,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102962 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102975,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102963 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102976,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102964 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102977,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102965 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102978,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102966 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102979,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102967 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102980,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102968 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20102981,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20102969 lien utilise dans velours : https://www.fotonower.com/velours/20102970,20102971,20102972,20102973,20102974,20102975,20102976,20102977,20102978,20102979,20102980,20102981?tags=plastique,Carton_gris,mal_croppe,Teint_Dans_La_Masse,papier,autre_refus,Carton_brun,kraft,environnement,flou,cartonnette,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20102932]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104] map_info['map_portfolio_photo'] : {20102932: [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104]} final : False mtd_id 4302 list_pids : [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104] Looping around the photos to save general results len do output : 1 /20102932. 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, '2536660') ('4302', '20102932', '1333230493', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230408', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230393', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230018', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230017', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230015', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230012', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229935', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229749', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229695', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228421', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228073', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228067', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228064', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227991', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227968', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227934', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227929', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227911', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227799', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227796', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227749', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227745', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227741', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227737', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227732', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227634', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227631', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227623', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227448', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227429', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227409', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227384', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227366', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227325', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227104', None, None, None, None, None, '2536660') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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, '20102932', "{'plastique': 20102958, 'Carton_gris': 20102959, 'mal_croppe': 20102960, 'Teint_Dans_La_Masse': 20102961, 'papier': 20102962, 'autre_refus': 20102963, 'Carton_brun': 20102964, 'kraft': 20102965, 'environnement': 20102966, 'flou': 20102967, 'cartonnette': 20102968, 'metal': 20102969}", None, None, None, None, '2536660'), ('4302', '20102932', '1333230493', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230408', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230393', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230018', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230017', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230015', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230012', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333229935', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333229749', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333229695', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228421', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228073', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228067', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228064', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227991', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227968', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227934', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227929', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227911', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227799', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227796', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227749', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227745', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227741', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227737', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227732', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227634', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227631', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227623', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227448', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227429', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227409', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227384', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227366', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227325', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227104', None, None, None, None, None, '2536660')] time used for this insertion : 0.03449058532714844 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7538352012634277 time spend to save output : 0.034989118576049805 total time spend for step 1 : 1.7888243198394775 step2:final Sat Feb 1 05:48:31 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 (20102932) 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 20102932 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1333227104,1333227448,1333227429,1333227409,1333227384,1333227366,1333227325,1333227634,1333227631,1333227623,1333227749,1333227745,1333227741,1333227737,1333227732,1333227799,1333227796,1333227991,1333227968,1333227934,1333227929,1333227911,1333228073,1333228067,1333228064,1333228421,1333229695,1333229935,1333229749,1333230018,1333230017,1333230015,1333230012,1333230408,1333230393,1333230493); 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([20102932]) Inside saveOutput : final : False verbose : True original output for save of step final : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} new output for save of step final : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104] map_info['map_portfolio_photo'] : {20102932: [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104]} final : False mtd_id 4302 list_pids : [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104] Looping around the photos to save general results len do output : 36 /1333230493.Didn't retrieve data . /1333230408.Didn't retrieve data . /1333230393.Didn't retrieve data . /1333230018.Didn't retrieve data . /1333230017.Didn't retrieve data . /1333230015.Didn't retrieve data . /1333230012.Didn't retrieve data . /1333229935.Didn't retrieve data . /1333229749.Didn't retrieve data . /1333229695.Didn't retrieve data . /1333228421.Didn't retrieve data . /1333228073.Didn't retrieve data . /1333228067.Didn't retrieve data . /1333228064.Didn't retrieve data . /1333227991.Didn't retrieve data . /1333227968.Didn't retrieve data . /1333227934.Didn't retrieve data . /1333227929.Didn't retrieve data . /1333227911.Didn't retrieve data . /1333227799.Didn't retrieve data . /1333227796.Didn't retrieve data . /1333227749.Didn't retrieve data . /1333227745.Didn't retrieve data . /1333227741.Didn't retrieve data . /1333227737.Didn't retrieve data . /1333227732.Didn't retrieve data . /1333227634.Didn't retrieve data . /1333227631.Didn't retrieve data . /1333227623.Didn't retrieve data . /1333227448.Didn't retrieve data . /1333227429.Didn't retrieve data . /1333227409.Didn't retrieve data . /1333227384.Didn't retrieve data . /1333227366.Didn't retrieve data . /1333227325.Didn't retrieve data . /1333227104.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, '2536660') ('4302', '20102932', '1333230493', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230408', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230393', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230018', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230017', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230015', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230012', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229935', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229749', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229695', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228421', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228073', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228067', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228064', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227991', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227968', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227934', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227929', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227911', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227799', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227796', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227749', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227745', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227741', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227737', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227732', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227634', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227631', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227623', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227448', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227429', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227409', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227384', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227366', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227325', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227104', None, None, None, None, None, '2536660') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 108 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', '20102932', '1333230493', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333230408', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333230393', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333230018', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333230017', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333230015', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333230012', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333229935', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333229749', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333229695', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333228421', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333228073', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333228067', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333228064', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227991', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227968', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227934', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227929', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227911', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227799', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227796', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227749', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227745', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227741', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227737', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227732', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227634', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227631', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227623', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227448', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227429', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227409', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227384', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227366', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227325', '0.051051027276654976', None, None, None, None, '2536660'), ('4302', '20102932', '1333227104', '0.051051027276654976', None, None, None, None, '2536660')] time used for this insertion : 0.035199642181396484 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06480693817138672 time spend to save output : 0.03671073913574219 total time spend for step 2 : 0.1015176773071289 step3:velours_tree Sat Feb 1 05:48:31 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 : {20102932: [{'plastique': 20102958, 'Carton_gris': 20102959, 'mal_croppe': 20102960, 'Teint_Dans_La_Masse': 20102961, 'papier': 20102962, 'autre_refus': 20102963, 'Carton_brun': 20102964, 'kraft': 20102965, 'environnement': 20102966, 'flou': 20102967, 'cartonnette': 20102968, 'metal': 20102969}]} input_args_next_step : {20102932: ()} output_args : {20102932: [{'plastique': 20102958, 'Carton_gris': 20102959, 'mal_croppe': 20102960, 'Teint_Dans_La_Masse': 20102961, 'papier': 20102962, 'autre_refus': 20102963, 'Carton_brun': 20102964, 'kraft': 20102965, 'environnement': 20102966, 'flou': 20102967, 'cartonnette': 20102968, 'metal': 20102969}]} args : 20102932 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 : ({'plastique': 20102958, 'Carton_gris': 20102959, 'mal_croppe': 20102960, 'Teint_Dans_La_Masse': 20102961, 'papier': 20102962, 'autre_refus': 20102963, 'Carton_brun': 20102964, 'kraft': 20102965, 'environnement': 20102966, 'flou': 20102967, 'cartonnette': 20102968, 'metal': 20102969},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20102932) 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([20102932]) 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.2838764190673828 time spend to save output : 5.245208740234375e-05 total time spend for step 3 : 0.28392887115478516 step4:send_mail_cod Sat Feb 1 05:48:31 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 : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} input_args_next_step : {1333230493: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333230493 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333230408 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333230393 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333230018 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333230017 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333230015 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333230012 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333229935 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333229749 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333229695 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333228421 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333228073 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333228067 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333228064 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227991 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227968 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227934 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227929 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227911 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227799 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227796 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227749 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227745 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227741 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227737 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227732 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227634 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227631 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227623 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227448 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227429 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227409 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227384 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227366 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227325 depend.output_id : 0 input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ()} output_args : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',)} args : 1333227104 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 : {20102932: [{'plastique': 20102958, 'Carton_gris': 20102959, 'mal_croppe': 20102960, 'Teint_Dans_La_Masse': 20102961, 'papier': 20102962, 'autre_refus': 20102963, 'Carton_brun': 20102964, 'kraft': 20102965, 'environnement': 20102966, 'flou': 20102967, 'cartonnette': 20102968, 'metal': 20102969}]} input_args_next_step : {1333230493: ('0.051051027276654976',), 1333230408: ('0.051051027276654976',), 1333230393: ('0.051051027276654976',), 1333230018: ('0.051051027276654976',), 1333230017: ('0.051051027276654976',), 1333230015: ('0.051051027276654976',), 1333230012: ('0.051051027276654976',), 1333229935: ('0.051051027276654976',), 1333229749: ('0.051051027276654976',), 1333229695: ('0.051051027276654976',), 1333228421: ('0.051051027276654976',), 1333228073: ('0.051051027276654976',), 1333228067: ('0.051051027276654976',), 1333228064: ('0.051051027276654976',), 1333227991: ('0.051051027276654976',), 1333227968: ('0.051051027276654976',), 1333227934: ('0.051051027276654976',), 1333227929: ('0.051051027276654976',), 1333227911: ('0.051051027276654976',), 1333227799: ('0.051051027276654976',), 1333227796: ('0.051051027276654976',), 1333227749: ('0.051051027276654976',), 1333227745: ('0.051051027276654976',), 1333227741: ('0.051051027276654976',), 1333227737: ('0.051051027276654976',), 1333227732: ('0.051051027276654976',), 1333227634: ('0.051051027276654976',), 1333227631: ('0.051051027276654976',), 1333227623: ('0.051051027276654976',), 1333227448: ('0.051051027276654976',), 1333227429: ('0.051051027276654976',), 1333227409: ('0.051051027276654976',), 1333227384: ('0.051051027276654976',), 1333227366: ('0.051051027276654976',), 1333227325: ('0.051051027276654976',), 1333227104: ('0.051051027276654976',), 20102932: ()} output_args : {20102932: [{'plastique': 20102958, 'Carton_gris': 20102959, 'mal_croppe': 20102960, 'Teint_Dans_La_Masse': 20102961, 'papier': 20102962, 'autre_refus': 20102963, 'Carton_brun': 20102964, 'kraft': 20102965, 'environnement': 20102966, 'flou': 20102967, 'cartonnette': 20102968, 'metal': 20102969}]} args : 20102932 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 :37, first value : ('0.051051027276654976',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20102932) 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 (1333230493,1333230408,1333230393,1333230018,1333230017,1333230015,1333230012,1333229935,1333229749,1333229695,1333228421,1333228073,1333228067,1333228064,1333227991,1333227968,1333227934,1333227929,1333227911,1333227799,1333227796,1333227749,1333227745,1333227741,1333227737,1333227732,1333227634,1333227631,1333227623,1333227448,1333227429,1333227409,1333227384,1333227366,1333227325,1333227104) Found this number of photos: 36 ##### Call download_photos : nb_thread : 5 begin to download photo : 1333227104 begin to download photo : 1333227631 begin to download photo : 1333227799 begin to download photo : 1333228073 begin to download photo : 1333230018 download finish for photo 1333227799 begin to download photo : 1333227911 download finish for photo 1333227631 begin to download photo : 1333227634 download finish for photo 1333227104 begin to download photo : 1333227325 download finish for photo 1333230018 begin to download photo : 1333230393 download finish for photo 1333228073 begin to download photo : 1333228421 download finish for photo 1333227911 begin to download photo : 1333227929 download finish for photo 1333230393 begin to download photo : 1333230408 download finish for photo 1333227634 begin to download photo : 1333227732 download finish for photo 1333227325 begin to download photo : 1333227366 download finish for photo 1333228421 begin to download photo : 1333229695 download finish for photo 1333227929 begin to download photo : 1333227934 download finish for photo 1333230408 begin to download photo : 1333230493 download finish for photo 1333227732 begin to download photo : 1333227737 download finish for photo 1333229695 begin to download photo : 1333229749 download finish for photo 1333227934 begin to download photo : 1333227968 download finish for photo 1333227366 begin to download photo : 1333227384 download finish for photo 1333230493 download finish for photo 1333227737 begin to download photo : 1333227741 download finish for photo 1333227384 begin to download photo : 1333227409 download finish for photo 1333229749 begin to download photo : 1333229935 download finish for photo 1333227968 begin to download photo : 1333227991 download finish for photo 1333227741 begin to download photo : 1333227745 download finish for photo 1333229935 begin to download photo : 1333230012 download finish for photo 1333227409 begin to download photo : 1333227429 download finish for photo 1333227745 begin to download photo : 1333227749 download finish for photo 1333227429 begin to download photo : 1333227448 download finish for photo 1333227991 begin to download photo : 1333228064 download finish for photo 1333230012 begin to download photo : 1333230015 download finish for photo 1333227749 begin to download photo : 1333227796 download finish for photo 1333228064 begin to download photo : 1333228067 download finish for photo 1333227448 begin to download photo : 1333227623 download finish for photo 1333230015 begin to download photo : 1333230017 download finish for photo 1333227796 download finish for photo 1333228067 download finish for photo 1333227623 download finish for photo 1333230017 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 36 ; length of list_pids : 36 ; length of list_args : 36 results_Auto_P20102932_01-02-2025_05_48_33.pdf 20102958 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=20102958 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333229275: '1738305512_1116254_1333227799_7213fdf7a4b2b584ba5126f8049b1b2c_rle_crop_3646495761_0.png', 1333229278: '1738305512_1116254_1333227741_5fd7fadb0752fedde29f800d451ae789_rle_crop_3646495803_0.png', 1333229663: '1738305590_1117442_1333227634_e4974c3fe578f81b9ed3797146a70709_rle_crop_3646496616_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6632b709cf1e4162081c6f9200c74eef_17892983.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a401a83f5cbcbf89176fcb9c6e855406_6619477.png change filename to text .imagette201029581738385313/ imagette201029581738385313/1738305512_1116254_1333227741_5fd7fadb0752fedde29f800d451ae789_rle_crop_3646495803_0.png.png imagette201029581738385313/1738305512_1116254_1333227799_7213fdf7a4b2b584ba5126f8049b1b2c_rle_crop_3646495761_0.png.png imagette201029581738385313/1738305590_1117442_1333227634_e4974c3fe578f81b9ed3797146a70709_rle_crop_3646496616_0.png.png imagette201029601738385313/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33b53299f9c0078adea07c374763defe_36362606.png imagette201029581738385313 20102960 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=20102960 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201029601738385313 20102963 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=20102963 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333228865: '1738305493_1116110_1333228067_94589f58b6ecfadea4a0a54152cc6da7_rle_crop_3646495498_0.png', 1333229182: '1738305532_1116502_1333227796_ca775b7a99674ba8b6f816aa4184a1e0_rle_crop_3646495830_0.png', 1333229200: '1738305512_1116254_1333227741_5fd7fadb0752fedde29f800d451ae789_rle_crop_3646495799_0.png', 1333229202: '1738305512_1116254_1333227737_fc44a80191a7640a4a0d2ef831b74f5b_rle_crop_3646495825_0.png', 1333229204: '1738305512_1116254_1333227737_fc44a80191a7640a4a0d2ef831b74f5b_rle_crop_3646495815_0.png', 1333229510: '1738305572_1117116_1333227749_c44472caf27166064371501a698b64c2_rle_crop_3646496271_0.png', 1333229511: '1738305572_1117116_1333227631_9c1649af5507b99d6ccfdb03c960e655_rle_crop_3646496284_0.png', 1333229646: '1738305590_1117442_1333227366_bd0ec6df44ea52eb11bbbd8c47f7abea_rle_crop_3646496731_0.png', 1333229648: '1738305590_1117442_1333227366_bd0ec6df44ea52eb11bbbd8c47f7abea_rle_crop_3646496729_0.png', 1333229707: '1738305652_1118577_1333228421_47764c14d81ca94b14e0ee593ae1ca31_rle_crop_3646497164_0.png', 1333230448: '1738305892_1120803_1333230015_983ecd09908563aba17334d8e4b75612_rle_crop_3646499625_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e3b6d870795ccb386c48f6b0e6e4dfe6_18160613.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/493ee78280d06b29e3fe59c09977938e_29564515.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/48eede82eb69ec3c6085a1c13e665195_17605265.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ee94d9cea3ec6cdbe343f4f0a440feba_12040975.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/448111a7404ffcd9c2e5485634ef4429_14508225.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/18123ec7589b86996e7935a82941bbe2_12860308.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/11f1f11c6124621335cd49583ab21248_57794398.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/84f519cadc1836bc4a7a276dcf6f9c4e_54226149.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a9e6e4773a42ee020ee94914d001adff_53790146.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f1e6c491e977cb2dbc97f7ec0ddd690_56490125.png change filename to text .imagette201029631738385313/ imagette201029631738385313/1738305572_1117116_1333227631_9c1649af5507b99d6ccfdb03c960e655_rle_crop_3646496284_0.png.png imagette201029631738385313/1738305493_1116110_1333228067_94589f58b6ecfadea4a0a54152cc6da7_rle_crop_3646495498_0.png.png imagette201029631738385313/1738305532_1116502_1333227796_ca775b7a99674ba8b6f816aa4184a1e0_rle_crop_3646495830_0.png.png imagette201029631738385313/1738305512_1116254_1333227737_fc44a80191a7640a4a0d2ef831b74f5b_rle_crop_3646495825_0.png.png imagette201029631738385313/1738305590_1117442_1333227366_bd0ec6df44ea52eb11bbbd8c47f7abea_rle_crop_3646496729_0.png.png imagette201029631738385313/1738305892_1120803_1333230015_983ecd09908563aba17334d8e4b75612_rle_crop_3646499625_0.png.png imagette201029631738385313/1738305512_1116254_1333227741_5fd7fadb0752fedde29f800d451ae789_rle_crop_3646495799_0.png.png imagette201029631738385313/1738305572_1117116_1333227749_c44472caf27166064371501a698b64c2_rle_crop_3646496271_0.png.png imagette201029631738385313/1738305590_1117442_1333227366_bd0ec6df44ea52eb11bbbd8c47f7abea_rle_crop_3646496731_0.png.png imagette201029631738385313/1738305512_1116254_1333227737_fc44a80191a7640a4a0d2ef831b74f5b_rle_crop_3646495815_0.png.png imagette201029631738385313/1738305652_1118577_1333228421_47764c14d81ca94b14e0ee593ae1ca31_rle_crop_3646497164_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90e1ab42fa3b084c90bab060af42b95d_62866180.png imagette201029631738385313 20102965 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=20102965 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333230710: '1738306103_1122921_1333230493_bdb3e174475aaf083990ab068d213423_rle_crop_3646516920_0.png', 1333230711: '1738306103_1122921_1333230393_aedf7fe5999544d54e9072d82ac36ce3_rle_crop_3646516940_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/99561b71a1a77427b97e416601031308_81476891.png change filename to text .imagette201029651738385314/ imagette201029651738385314/1738306103_1122921_1333230393_aedf7fe5999544d54e9072d82ac36ce3_rle_crop_3646516940_0.png.png imagette201029651738385314/1738306103_1122921_1333230493_bdb3e174475aaf083990ab068d213423_rle_crop_3646516920_0.png.png imagette201029671738385314/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c0743cdf8305a4512d5eef8a8eaa632_51146193.png imagette201029651738385314 20102967 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=20102967 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201029671738385314 20102968 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=20102968 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333229268: '1738305512_1116254_1333227741_5fd7fadb0752fedde29f800d451ae789_rle_crop_3646495793_0.png', 1333229295: '1738305553_1116771_1333228073_541a7d29364ace8409883c0d55496456_rle_crop_3646495975_0.png', 1333229517: '1738305572_1117116_1333227749_c44472caf27166064371501a698b64c2_rle_crop_3646496274_0.png', 1333229518: '1738305572_1117116_1333227623_9d7998ec9c9419a8a74ed7f513d0fc78_rle_crop_3646496303_0.png', 1333229519: '1738305572_1117116_1333227623_9d7998ec9c9419a8a74ed7f513d0fc78_rle_crop_3646496304_0.png', 1333229659: '1738305590_1117442_1333227634_e4974c3fe578f81b9ed3797146a70709_rle_crop_3646496614_0.png', 1333229660: '1738305590_1117442_1333227384_6453bcb0648cdebfd4219c436f1790c2_rle_crop_3646496723_0.png', 1333229661: '1738305590_1117442_1333227325_adc7f53f94d7b64e4cadaf038a270275_rle_crop_3646496774_0.png', 1333229662: '1738305590_1117442_1333227325_adc7f53f94d7b64e4cadaf038a270275_rle_crop_3646496781_0.png', 1333230451: '1738305892_1120803_1333230017_8fa874b4bd84c7d804162108731feb1b_rle_crop_3646499600_0.png', 1333230705: '1738306115_1130510_1333230408_982282ab06f975fc983d36bd40dc8159_rle_crop_3646516929_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9ac93c4ec506070667cdaa6ac86d4553_72206363.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/31c034ce4e7a01c36cb475c1461a4c81_14359987.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2614bb2573fdbc290c47f23d4763ce8d_23926264.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8824e2b1d151c5fd4b81928e35a590b9_81375766.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5adb2cc6b3acef19918b060e01a0aa61_56956118.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c216a85056da42d62408145a28687bab_69670468.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/57b9f114dfdc2e032a323dc69a043ef7_38713602.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d8105cf48789ed28171be7def8b99b28_32905816.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c72291aaec8b3c1259195b964bc6569f_54448192.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7380fd1cc9fb0a236b098e11c0e6ef72_3922929.png change filename to text .imagette201029681738385314/ imagette201029681738385314/1738305590_1117442_1333227634_e4974c3fe578f81b9ed3797146a70709_rle_crop_3646496614_0.png.png imagette201029681738385314/1738305572_1117116_1333227749_c44472caf27166064371501a698b64c2_rle_crop_3646496274_0.png.png imagette201029681738385314/1738305590_1117442_1333227325_adc7f53f94d7b64e4cadaf038a270275_rle_crop_3646496774_0.png.png imagette201029681738385314/1738306115_1130510_1333230408_982282ab06f975fc983d36bd40dc8159_rle_crop_3646516929_0.png.png imagette201029681738385314/1738305512_1116254_1333227741_5fd7fadb0752fedde29f800d451ae789_rle_crop_3646495793_0.png.png imagette201029681738385314/1738305553_1116771_1333228073_541a7d29364ace8409883c0d55496456_rle_crop_3646495975_0.png.png imagette201029681738385314/1738305590_1117442_1333227384_6453bcb0648cdebfd4219c436f1790c2_rle_crop_3646496723_0.png.png imagette201029681738385314/1738305572_1117116_1333227623_9d7998ec9c9419a8a74ed7f513d0fc78_rle_crop_3646496304_0.png.png imagette201029681738385314/1738305590_1117442_1333227325_adc7f53f94d7b64e4cadaf038a270275_rle_crop_3646496781_0.png.png imagette201029681738385314/1738305572_1117116_1333227623_9d7998ec9c9419a8a74ed7f513d0fc78_rle_crop_3646496303_0.png.png imagette201029681738385314/1738305892_1120803_1333230017_8fa874b4bd84c7d804162108731feb1b_rle_crop_3646499600_0.png.png imagette201029691738385315/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b417540e678655140017263f6c781ef4_24361194.png imagette201029681738385314 20102969 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=20102969 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201029691738385315 20102959 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=20102959 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333229183: '1738305532_1116502_1333227796_ca775b7a99674ba8b6f816aa4184a1e0_rle_crop_3646495836_0.png', 1333229237: '1738305512_1116254_1333227799_7213fdf7a4b2b584ba5126f8049b1b2c_rle_crop_3646495762_0.png', 1333229242: '1738305512_1116254_1333227741_5fd7fadb0752fedde29f800d451ae789_rle_crop_3646495791_0.png', 1333229294: '1738305553_1116771_1333228073_541a7d29364ace8409883c0d55496456_rle_crop_3646495971_0.png', 1333229513: '1738305572_1117116_1333227631_9c1649af5507b99d6ccfdb03c960e655_rle_crop_3646496290_0.png', 1333229514: '1738305572_1117116_1333227631_9c1649af5507b99d6ccfdb03c960e655_rle_crop_3646496285_0.png', 1333229709: '1738305652_1118577_1333228421_47764c14d81ca94b14e0ee593ae1ca31_rle_crop_3646497167_0.png', 1333230450: '1738305892_1120803_1333230015_983ecd09908563aba17334d8e4b75612_rle_crop_3646499623_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d88e64dabbae8d5300535fa5060527ae_20828157.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8083d2aa33996aab2e479730d0300dcc_56198869.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bb9f6db26def14382f2a12c975176ebf_75847964.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/465febb2d3537e227640ca751b3e92eb_54193805.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8296d84ba1cc8ccfacbcfbbd9d7f90f8_92193645.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0db29ae157dc7cacc0cc6c5b86d99740_53391443.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90856c4e53ac91da045d855f5893136c_80551297.png change filename to text .imagette201029591738385315/ imagette201029591738385315/1738305512_1116254_1333227741_5fd7fadb0752fedde29f800d451ae789_rle_crop_3646495791_0.png.png imagette201029591738385315/1738305512_1116254_1333227799_7213fdf7a4b2b584ba5126f8049b1b2c_rle_crop_3646495762_0.png.png imagette201029591738385315/1738305572_1117116_1333227631_9c1649af5507b99d6ccfdb03c960e655_rle_crop_3646496290_0.png.png imagette201029591738385315/1738305553_1116771_1333228073_541a7d29364ace8409883c0d55496456_rle_crop_3646495971_0.png.png imagette201029591738385315/1738305532_1116502_1333227796_ca775b7a99674ba8b6f816aa4184a1e0_rle_crop_3646495836_0.png.png imagette201029591738385315/1738305652_1118577_1333228421_47764c14d81ca94b14e0ee593ae1ca31_rle_crop_3646497167_0.png.png imagette201029591738385315/1738305892_1120803_1333230015_983ecd09908563aba17334d8e4b75612_rle_crop_3646499623_0.png.png imagette201029591738385315/1738305572_1117116_1333227631_9c1649af5507b99d6ccfdb03c960e655_rle_crop_3646496285_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69cb150bc04c3f886ffae1f68a4c0785_51338622.png imagette201029591738385315 20102961 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=20102961 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333229181: '1738305512_1116254_1333227732_89eb7899f5439f92327fba13de25070a_rle_crop_3646495854_0.png', 1333229671: '1738305615_1117792_1333227104_a25276653cf5aba8425ae31dae0644c9_rle_crop_3646496853_0.png', 1333230442: '1738305892_1120803_1333230017_8fa874b4bd84c7d804162108731feb1b_rle_crop_3646499601_0.png', 1333230443: '1738305892_1120803_1333230017_8fa874b4bd84c7d804162108731feb1b_rle_crop_3646499608_0.png', 1333230444: '1738305892_1120803_1333230015_983ecd09908563aba17334d8e4b75612_rle_crop_3646499633_0.png', 1333230445: '1738305892_1120803_1333230012_10f1c4cceab7a7c0f766a30adf340c5b_rle_crop_3646499639_0.png', 1333230446: '1738305892_1120803_1333230012_10f1c4cceab7a7c0f766a30adf340c5b_rle_crop_3646499646_0.png', 1333230704: '1738306115_1130510_1333230408_982282ab06f975fc983d36bd40dc8159_rle_crop_3646516936_0.png', 1333230707: '1738306103_1122921_1333230393_aedf7fe5999544d54e9072d82ac36ce3_rle_crop_3646516952_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e3d6024e2802235adb6fd893c713a18_71207733.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/41581289750e4635dd5f840e74246985_39003443.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69296171bf61f8e7d59d201082512cbf_89168774.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ee6bc5df2605f8ad7d909cdc35803773_73293108.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/836fcb834fe374b2a7583222ce3158d1_23732343.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/08973c21abecdfc4faaffaf5366aa392_46505864.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f60bc31563144d75d1a37bf83ccb730a_44171696.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c73a73ff2e69856d3fe6026e0c7a3024_43781650.png change filename to text .imagette201029611738385316/ imagette201029611738385316/1738305512_1116254_1333227732_89eb7899f5439f92327fba13de25070a_rle_crop_3646495854_0.png.png imagette201029611738385316/1738305892_1120803_1333230012_10f1c4cceab7a7c0f766a30adf340c5b_rle_crop_3646499639_0.png.png imagette201029611738385316/1738305615_1117792_1333227104_a25276653cf5aba8425ae31dae0644c9_rle_crop_3646496853_0.png.png imagette201029611738385316/1738306103_1122921_1333230393_aedf7fe5999544d54e9072d82ac36ce3_rle_crop_3646516952_0.png.png imagette201029611738385316/1738305892_1120803_1333230017_8fa874b4bd84c7d804162108731feb1b_rle_crop_3646499608_0.png.png imagette201029611738385316/1738305892_1120803_1333230012_10f1c4cceab7a7c0f766a30adf340c5b_rle_crop_3646499646_0.png.png imagette201029611738385316/1738305892_1120803_1333230015_983ecd09908563aba17334d8e4b75612_rle_crop_3646499633_0.png.png imagette201029611738385316/1738306115_1130510_1333230408_982282ab06f975fc983d36bd40dc8159_rle_crop_3646516936_0.png.png imagette201029611738385316/1738305892_1120803_1333230017_8fa874b4bd84c7d804162108731feb1b_rle_crop_3646499601_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c7749e8d9c701a055781202fd68a63d_85735897.png imagette201029611738385316 20102964 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=20102964 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333228872: '1738305493_1116110_1333228067_94589f58b6ecfadea4a0a54152cc6da7_rle_crop_3646495499_0.png', 1333229269: '1738305512_1116254_1333227799_7213fdf7a4b2b584ba5126f8049b1b2c_rle_crop_3646495765_0.png', 1333229270: '1738305512_1116254_1333227741_5fd7fadb0752fedde29f800d451ae789_rle_crop_3646495795_0.png', 1333229271: '1738305512_1116254_1333227737_fc44a80191a7640a4a0d2ef831b74f5b_rle_crop_3646495824_0.png', 1333229272: '1738305512_1116254_1333227732_89eb7899f5439f92327fba13de25070a_rle_crop_3646495849_0.png', 1333229521: '1738305572_1117116_1333227631_9c1649af5507b99d6ccfdb03c960e655_rle_crop_3646496291_0.png', 1333229522: '1738305572_1117116_1333227631_9c1649af5507b99d6ccfdb03c960e655_rle_crop_3646496289_0.png', 1333229523: '1738305572_1117116_1333227623_9d7998ec9c9419a8a74ed7f513d0fc78_rle_crop_3646496309_0.png', 1333229673: '1738305615_1117792_1333227104_a25276653cf5aba8425ae31dae0644c9_rle_crop_3646496854_0.png', 1333230706: '1738306115_1130510_1333230408_982282ab06f975fc983d36bd40dc8159_rle_crop_3646516934_0.png', 1333230708: '1738306103_1122921_1333230493_bdb3e174475aaf083990ab068d213423_rle_crop_3646516921_0.png', 1333230709: '1738306103_1122921_1333230393_aedf7fe5999544d54e9072d82ac36ce3_rle_crop_3646516948_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/750cd27b7895b99028c97aff9fe71c84_28725720.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d8a4ed8e450a130ce117c806e6ac334b_53388662.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea08701541631c9a81cb2c14acdf3b3b_56654976.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4ad6803fb0195dbf83501d1482953144_80237146.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/994941826dab778a2cccb714e46c5cd4_88806591.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/06a0bd7c643983372d7bb1f467c9f621_44726330.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/538deaa0bc31a794390ab116171ffb07_66341128.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/34a677b0cef13d490b94a2b68a9b2abd_33390046.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/febd2e8dc1269cf6674778572fde7845_32600100.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f2e5c8146d6e1b30361e82b847aa239_69184920.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/19583a4ead4a0b8cd69e2108eb6191b4_16440151.png change filename to text .imagette201029641738385317/ imagette201029641738385317/1738306103_1122921_1333230493_bdb3e174475aaf083990ab068d213423_rle_crop_3646516921_0.png.png imagette201029641738385317/1738306103_1122921_1333230393_aedf7fe5999544d54e9072d82ac36ce3_rle_crop_3646516948_0.png.png imagette201029641738385317/1738305493_1116110_1333228067_94589f58b6ecfadea4a0a54152cc6da7_rle_crop_3646495499_0.png.png imagette201029641738385317/1738306115_1130510_1333230408_982282ab06f975fc983d36bd40dc8159_rle_crop_3646516934_0.png.png imagette201029641738385317/1738305572_1117116_1333227623_9d7998ec9c9419a8a74ed7f513d0fc78_rle_crop_3646496309_0.png.png imagette201029641738385317/1738305572_1117116_1333227631_9c1649af5507b99d6ccfdb03c960e655_rle_crop_3646496291_0.png.png imagette201029641738385317/1738305512_1116254_1333227737_fc44a80191a7640a4a0d2ef831b74f5b_rle_crop_3646495824_0.png.png imagette201029641738385317/1738305572_1117116_1333227631_9c1649af5507b99d6ccfdb03c960e655_rle_crop_3646496289_0.png.png imagette201029641738385317/1738305512_1116254_1333227741_5fd7fadb0752fedde29f800d451ae789_rle_crop_3646495795_0.png.png imagette201029641738385317/1738305615_1117792_1333227104_a25276653cf5aba8425ae31dae0644c9_rle_crop_3646496854_0.png.png imagette201029641738385317/1738305512_1116254_1333227799_7213fdf7a4b2b584ba5126f8049b1b2c_rle_crop_3646495765_0.png.png imagette201029641738385317/1738305512_1116254_1333227732_89eb7899f5439f92327fba13de25070a_rle_crop_3646495849_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a7d1ce59437cd2ed6bd5e50af0eef989_56269480.png imagette201029641738385317 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20102932 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20102970,20102971,20102972,20102973,20102974,20102975,20102976,20102977,20102978,20102979,20102980,20102981?tags=plastique,Carton_gris,mal_croppe,Teint_Dans_La_Masse,papier,autre_refus,Carton_brun,kraft,environnement,flou,cartonnette,metal your option no_mail is active, we will not send the real mail to your client args[1333230493] : ('0.051051027276654976',) no score found for photo 1333230493 We are sending mail with results at report@fotonower.com args[1333230408] : ('0.051051027276654976',) no score found for photo 1333230408 We are sending mail with results at report@fotonower.com args[1333230393] : ('0.051051027276654976',) no score found for photo 1333230393 We are sending mail with results at report@fotonower.com args[1333230018] : ('0.051051027276654976',) no score found for photo 1333230018 We are sending mail with results at report@fotonower.com args[1333230017] : ('0.051051027276654976',) no score found for photo 1333230017 We are sending mail with results at report@fotonower.com args[1333230015] : ('0.051051027276654976',) no score found for photo 1333230015 We are sending mail with results at report@fotonower.com args[1333230012] : ('0.051051027276654976',) no score found for photo 1333230012 We are sending mail with results at report@fotonower.com args[1333229935] : ('0.051051027276654976',) no score found for photo 1333229935 We are sending mail with results at report@fotonower.com args[1333229749] : ('0.051051027276654976',) no score found for photo 1333229749 We are sending mail with results at report@fotonower.com args[1333229695] : ('0.051051027276654976',) no score found for photo 1333229695 We are sending mail with results at report@fotonower.com args[1333228421] : ('0.051051027276654976',) no score found for photo 1333228421 We are sending mail with results at report@fotonower.com args[1333228073] : ('0.051051027276654976',) no score found for photo 1333228073 We are sending mail with results at report@fotonower.com args[1333228067] : ('0.051051027276654976',) no score found for photo 1333228067 We are sending mail with results at report@fotonower.com args[1333228064] : ('0.051051027276654976',) no score found for photo 1333228064 We are sending mail with results at report@fotonower.com args[1333227991] : ('0.051051027276654976',) no score found for photo 1333227991 We are sending mail with results at report@fotonower.com args[1333227968] : ('0.051051027276654976',) no score found for photo 1333227968 We are sending mail with results at report@fotonower.com args[1333227934] : ('0.051051027276654976',) no score found for photo 1333227934 We are sending mail with results at report@fotonower.com args[1333227929] : ('0.051051027276654976',) no score found for photo 1333227929 We are sending mail with results at report@fotonower.com args[1333227911] : ('0.051051027276654976',) no score found for photo 1333227911 We are sending mail with results at report@fotonower.com args[1333227799] : ('0.051051027276654976',) no score found for photo 1333227799 We are sending mail with results at report@fotonower.com args[1333227796] : ('0.051051027276654976',) no score found for photo 1333227796 We are sending mail with results at report@fotonower.com args[1333227749] : ('0.051051027276654976',) no score found for photo 1333227749 We are sending mail with results at report@fotonower.com args[1333227745] : ('0.051051027276654976',) no score found for photo 1333227745 We are sending mail with results at report@fotonower.com args[1333227741] : ('0.051051027276654976',) no score found for photo 1333227741 We are sending mail with results at report@fotonower.com args[1333227737] : ('0.051051027276654976',) no score found for photo 1333227737 We are sending mail with results at report@fotonower.com args[1333227732] : ('0.051051027276654976',) no score found for photo 1333227732 We are sending mail with results at report@fotonower.com args[1333227634] : ('0.051051027276654976',) no score found for photo 1333227634 We are sending mail with results at report@fotonower.com args[1333227631] : ('0.051051027276654976',) no score found for photo 1333227631 We are sending mail with results at report@fotonower.com args[1333227623] : ('0.051051027276654976',) no score found for photo 1333227623 We are sending mail with results at report@fotonower.com args[1333227448] : ('0.051051027276654976',) no score found for photo 1333227448 We are sending mail with results at report@fotonower.com args[1333227429] : ('0.051051027276654976',) no score found for photo 1333227429 We are sending mail with results at report@fotonower.com args[1333227409] : ('0.051051027276654976',) no score found for photo 1333227409 We are sending mail with results at report@fotonower.com args[1333227384] : ('0.051051027276654976',) no score found for photo 1333227384 We are sending mail with results at report@fotonower.com args[1333227366] : ('0.051051027276654976',) no score found for photo 1333227366 We are sending mail with results at report@fotonower.com args[1333227325] : ('0.051051027276654976',) no score found for photo 1333227325 We are sending mail with results at report@fotonower.com args[1333227104] : ('0.051051027276654976',) no score found for photo 1333227104 We are sending mail with results at report@fotonower.com refus_total : 0.051051027276654976 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=20102932 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_P20102932_01-02-2025_05_48_33.pdf results_Auto_P20102932_01-02-2025_05_48_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.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','20102932','results_Auto_P20102932_01-02-2025_05_48_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf','pdf','','0.45','0.051051027276654976') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20102932]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104] map_info['map_portfolio_photo'] : {20102932: [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104]} final : False mtd_id 4302 list_pids : [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104] 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, '2536660') ('4302', '20102932', '1333230493', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230408', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230393', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230018', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230017', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230015', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230012', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229935', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229749', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229695', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228421', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228073', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228067', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228064', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227991', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227968', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227934', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227929', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227911', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227799', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227796', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227749', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227745', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227741', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227737', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227732', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227634', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227631', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227623', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227448', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227429', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227409', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227384', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227366', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227325', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227104', None, None, None, None, None, '2536660') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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', '20102932', '1333230493', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230408', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230393', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230018', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230017', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230015', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230012', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333229935', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333229749', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333229695', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228421', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228073', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228067', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228064', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227991', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227968', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227934', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227929', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227911', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227799', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227796', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227749', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227745', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227741', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227737', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227732', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227634', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227631', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227623', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227448', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227429', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227409', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227384', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227366', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227325', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227104', None, None, None, None, None, '2536660')] time used for this insertion : 0.019437313079833984 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.765945196151733 time spend to save output : 0.019707202911376953 total time spend for step 4 : 8.78565239906311 step5:split_time_score Sat Feb 1 05:48:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['20102932'] 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 : [('20102932',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20102932) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1333230018: {'path': 'temp/1738385311_3385754_1333230018_c495a9281ed5f7ac24e952d0cc8f10e2.jpg', 'extension': 'jpg'}, 1333230393: {'path': 'temp/1738385311_3385754_1333230393_aedf7fe5999544d54e9072d82ac36ce3.jpg', 'extension': 'jpg'}, 1333230408: {'path': 'temp/1738385311_3385754_1333230408_982282ab06f975fc983d36bd40dc8159.jpg', 'extension': 'jpg'}, 1333230493: {'path': 'temp/1738385311_3385754_1333230493_bdb3e174475aaf083990ab068d213423.jpg', 'extension': 'jpg'}, 1333227631: {'path': 'temp/1738385311_3385754_1333227631_9c1649af5507b99d6ccfdb03c960e655.jpg', 'extension': 'jpg'}, 1333227634: {'path': 'temp/1738385311_3385754_1333227634_e4974c3fe578f81b9ed3797146a70709.jpg', 'extension': 'jpg'}, 1333227732: {'path': 'temp/1738385311_3385754_1333227732_89eb7899f5439f92327fba13de25070a.jpg', 'extension': 'jpg'}, 1333227737: {'path': 'temp/1738385311_3385754_1333227737_fc44a80191a7640a4a0d2ef831b74f5b.jpg', 'extension': 'jpg'}, 1333227741: {'path': 'temp/1738385311_3385754_1333227741_5fd7fadb0752fedde29f800d451ae789.jpg', 'extension': 'jpg'}, 1333227745: {'path': 'temp/1738385311_3385754_1333227745_eee6fca0bdc758997addc321bffc4b61.jpg', 'extension': 'jpg'}, 1333227749: {'path': 'temp/1738385311_3385754_1333227749_c44472caf27166064371501a698b64c2.jpg', 'extension': 'jpg'}, 1333227796: {'path': 'temp/1738385311_3385754_1333227796_ca775b7a99674ba8b6f816aa4184a1e0.jpg', 'extension': 'jpg'}, 1333227799: {'path': 'temp/1738385311_3385754_1333227799_7213fdf7a4b2b584ba5126f8049b1b2c.jpg', 'extension': 'jpg'}, 1333227911: {'path': 'temp/1738385311_3385754_1333227911_7c595b66c42707bc4c0176842df7ea20.jpg', 'extension': 'jpg'}, 1333227929: {'path': 'temp/1738385311_3385754_1333227929_0de9f82d553226900e8888c85307680f.jpg', 'extension': 'jpg'}, 1333227934: {'path': 'temp/1738385311_3385754_1333227934_95fc86551d5f47873b52ce1d19be9cf5.jpg', 'extension': 'jpg'}, 1333227968: {'path': 'temp/1738385311_3385754_1333227968_d611bc578bbb1c0b9c616ad2c2cbecd7.jpg', 'extension': 'jpg'}, 1333227991: {'path': 'temp/1738385311_3385754_1333227991_f287ed5e83b9af7c431eb5803d8a1ad7.jpg', 'extension': 'jpg'}, 1333228064: {'path': 'temp/1738385311_3385754_1333228064_98fb0fd99c54813d0f6ba65edb941e99.jpg', 'extension': 'jpg'}, 1333228067: {'path': 'temp/1738385311_3385754_1333228067_94589f58b6ecfadea4a0a54152cc6da7.jpg', 'extension': 'jpg'}, 1333227104: {'path': 'temp/1738385311_3385754_1333227104_a25276653cf5aba8425ae31dae0644c9.jpg', 'extension': 'jpg'}, 1333227325: {'path': 'temp/1738385311_3385754_1333227325_adc7f53f94d7b64e4cadaf038a270275.jpg', 'extension': 'jpg'}, 1333227366: {'path': 'temp/1738385311_3385754_1333227366_bd0ec6df44ea52eb11bbbd8c47f7abea.jpg', 'extension': 'jpg'}, 1333227384: {'path': 'temp/1738385311_3385754_1333227384_6453bcb0648cdebfd4219c436f1790c2.jpg', 'extension': 'jpg'}, 1333227409: {'path': 'temp/1738385311_3385754_1333227409_613b1107b79e2e9d5488ba6bd83ba764.jpg', 'extension': 'jpg'}, 1333227429: {'path': 'temp/1738385311_3385754_1333227429_71b504523cc51ee3ef4a7a8b43b8a0ac.jpg', 'extension': 'jpg'}, 1333227448: {'path': 'temp/1738385311_3385754_1333227448_732a93d28f52c67dfe7dbd025efc775f.jpg', 'extension': 'jpg'}, 1333227623: {'path': 'temp/1738385311_3385754_1333227623_9d7998ec9c9419a8a74ed7f513d0fc78.jpg', 'extension': 'jpg'}, 1333228073: {'path': 'temp/1738385311_3385754_1333228073_541a7d29364ace8409883c0d55496456.jpg', 'extension': 'jpg'}, 1333228421: {'path': 'temp/1738385311_3385754_1333228421_47764c14d81ca94b14e0ee593ae1ca31.jpg', 'extension': 'jpg'}, 1333229695: {'path': 'temp/1738385311_3385754_1333229695_b669edc71c4be552658a8fafd00a342c.jpg', 'extension': 'jpg'}, 1333229749: {'path': 'temp/1738385311_3385754_1333229749_64ddcb943760e037a4a5fc26a049f615.jpg', 'extension': 'jpg'}, 1333229935: {'path': 'temp/1738385311_3385754_1333229935_3e3e2ae90b2e091228bd9ac7adc7c3fa.jpg', 'extension': 'jpg'}, 1333230012: {'path': 'temp/1738385311_3385754_1333230012_10f1c4cceab7a7c0f766a30adf340c5b.jpg', 'extension': 'jpg'}, 1333230015: {'path': 'temp/1738385311_3385754_1333230015_983ecd09908563aba17334d8e4b75612.jpg', 'extension': 'jpg'}, 1333230017: {'path': 'temp/1738385311_3385754_1333230017_8fa874b4bd84c7d804162108731feb1b.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 = 20102932; (('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 = 20102932 group by h (('07', 36),) 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=20102932 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 (20102932) 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 (20102932) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31012025 20102932 Nombre de photos uploadées : 36 / 23040 (0%) 31012025 20102932 Nombre de photos taguées (types de déchets): 0 / 36 (0%) 31012025 20102932 Nombre de photos taguées (volume) : 0 / 36 (0%) [{'photo_id': 1333227104, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a25276653cf5aba8425ae31dae0644c9.jpg', 'username': None, 'uploaded_at': 1738305068, 'text': 'image_31012025_07_30_14_010140m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1333227448, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/732a93d28f52c67dfe7dbd025efc775f.jpg', 'username': None, 'uploaded_at': 1738305127, 'text': 'image_31012025_07_30_24_010133m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1333227429, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/71b504523cc51ee3ef4a7a8b43b8a0ac.jpg', 'username': None, 'uploaded_at': 1738305127, 'text': 'image_31012025_07_31_04_010151m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1333227409, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/613b1107b79e2e9d5488ba6bd83ba764.jpg', 'username': None, 'uploaded_at': 1738305127, 'text': 'image_31012025_07_31_14_009130m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ???????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019745826721191406 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20102932, '2025-01-31' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1567726,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.026857614517211914 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= 1567726 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127938, 'dashboard_result_id': 8643261, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127938_01-02-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127977, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127978, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127939, 'dashboard_result_id': 8643262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127939_01-02-2025_05_35_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20127991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128002, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127940, 'dashboard_result_id': 8643263, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127940_01-02-2025_05_36_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20128015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20128017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20128018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20128019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20128020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20128022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20128023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20128025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20128026, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127941, 'dashboard_result_id': 8643264, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127941_01-02-2025_05_37_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127953, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20090835, 'dashboard_result_id': 8643265, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20090957, 'dashboard_result_id': 8643266, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20090959, 'dashboard_result_id': 8643267, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20090974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090976, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20091190, 'dashboard_result_id': 8643268, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20091230, 'dashboard_result_id': 8643269, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20091819, 'dashboard_result_id': 8643270, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20092585, 'dashboard_result_id': 8643271, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20093325, 'dashboard_result_id': 8643272, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20093996, 'dashboard_result_id': 8643273, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20094429, 'dashboard_result_id': 8643274, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20095035, 'dashboard_result_id': 8643275, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20095545, 'dashboard_result_id': 8643276, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20095959, 'dashboard_result_id': 8643277, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20097156, 'dashboard_result_id': 8643278, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20097481, 'dashboard_result_id': 8643279, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20098077, 'dashboard_result_id': 8643280, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20098681, 'dashboard_result_id': 8643281, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20099158, 'dashboard_result_id': 8643282, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20100088, 'dashboard_result_id': 8643283, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20100892, 'dashboard_result_id': 8643284, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20101316, 'dashboard_result_id': 8643285, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20102361, 'dashboard_result_id': 8643286, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20102932, 'dashboard_result_id': 8643287, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_31-01-2025_07_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20103345, 'dashboard_result_id': 8643288, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_31-01-2025_08_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20103727, 'dashboard_result_id': 8643289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20104620, 'dashboard_result_id': 8643290, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20104890, 'dashboard_result_id': 8643291, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20105217, 'dashboard_result_id': 8643292, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20106746, 'dashboard_result_id': 8643293, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20107484, 'dashboard_result_id': 8643294, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20108354, 'dashboard_result_id': 8643295, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20108777, 'dashboard_result_id': 8643296, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20109367, 'dashboard_result_id': 8643297, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20109995, 'dashboard_result_id': 8643298, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20110720, 'dashboard_result_id': 8643299, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20111560, 'dashboard_result_id': 8643300, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20112623, 'dashboard_result_id': 8643301, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20113116, 'dashboard_result_id': 8643302, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20113571, 'dashboard_result_id': 8643303, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20121430, 'dashboard_result_id': 8643304, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20121826, 'dashboard_result_id': 8643305, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20122144, 'dashboard_result_id': 8643306, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20122775, 'dashboard_result_id': 8643307, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20123568, 'dashboard_result_id': 8643308, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20124284, 'dashboard_result_id': 8643309, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20124827, 'dashboard_result_id': 8643310, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20125220, 'dashboard_result_id': 8643311, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20135429, 'dashboard_result_id': 8643312, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135429_01-02-2025_05_11_03.pdf'}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20135430, 'dashboard_result_id': 8643313, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135430_01-02-2025_05_11_36.pdf'}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20135431, 'dashboard_result_id': 8643314, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135431_01-02-2025_05_12_00.pdf'}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127938 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127938 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20127938 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127938 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127938 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20127938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127938_01-02-2025_05_34_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127938_01-02-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127977, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127978, 'pht': 3726}}" where mtr_portfolio_id = 20127938 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127939 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127939 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20127939 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127939 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127939 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20127939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127939_01-02-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127939_01-02-2025_05_35_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20127991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128002, 'pht': 3726}}" where mtr_portfolio_id = 20127939 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127940 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127940 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20127940 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127940 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127940 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20127940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127940_01-02-2025_05_36_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127940_01-02-2025_05_36_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20128015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20128017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20128018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20128019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20128020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20128022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20128023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20128025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20128026, 'pht': 3726}}" where mtr_portfolio_id = 20127940 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127941 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127941 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20127941 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127941 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127941 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20127941 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127941_01-02-2025_05_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127941 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127941_01-02-2025_05_37_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127953, 'pht': 3726}}" where mtr_portfolio_id = 20127941 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090835 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536638, 'mtr_portfolio_id': 20090835, 'created_at': datetime.datetime(2025, 2, 1, 5, 37, 28), 'result': '0.04907240156183414', 'result_long': None, 'result_double': None}] Qualite : 0.04907240156183414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090835 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, 'pht': 3726}}" where mtr_portfolio_id = 20090835 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20090835 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643265, 0.04907240156183414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090957 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536639, 'mtr_portfolio_id': 20090957, 'created_at': datetime.datetime(2025, 2, 1, 5, 37, 58), 'result': '0.04848081861930445', 'result_long': None, 'result_double': None}] Qualite : 0.04848081861930445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, 'pht': 3726}}" where mtr_portfolio_id = 20090957 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20090957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643266, 0.04848081861930445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536640, 'mtr_portfolio_id': 20090959, 'created_at': datetime.datetime(2025, 2, 1, 5, 38, 35), 'result': '0.040585206311703974', 'result_long': None, 'result_double': None}] Qualite : 0.040585206311703974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20090974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090976, 'pht': 3726}}" where mtr_portfolio_id = 20090959 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20090959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643267, 0.040585206311703974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20090974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20091190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536641, 'mtr_portfolio_id': 20091190, 'created_at': datetime.datetime(2025, 2, 1, 5, 39, 3), 'result': '0.04194535389228911', 'result_long': None, 'result_double': None}] Qualite : 0.04194535389228911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, 'pht': 3726}}" where mtr_portfolio_id = 20091190 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20091190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643268, 0.04194535389228911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20091230 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536642, 'mtr_portfolio_id': 20091230, 'created_at': datetime.datetime(2025, 2, 1, 5, 39, 29), 'result': '0.048625288149661126', 'result_long': None, 'result_double': None}] Qualite : 0.048625288149661126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, 'pht': 3726}}" where mtr_portfolio_id = 20091230 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20091230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643269, 0.048625288149661126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20091819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536643, 'mtr_portfolio_id': 20091819, 'created_at': datetime.datetime(2025, 2, 1, 5, 39, 58), 'result': '0.05818706516452907', 'result_long': None, 'result_double': None}] Qualite : 0.05818706516452907 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, 'pht': 3726}}" where mtr_portfolio_id = 20091819 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20091819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643270, 0.05818706516452907, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20092585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536644, 'mtr_portfolio_id': 20092585, 'created_at': datetime.datetime(2025, 2, 1, 5, 40, 30), 'result': '0.03524968172107631', 'result_long': None, 'result_double': None}] Qualite : 0.03524968172107631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20092585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20092585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, 'pht': 3726}}" where mtr_portfolio_id = 20092585 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20092585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643271, 0.03524968172107631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20093325 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536645, 'mtr_portfolio_id': 20093325, 'created_at': datetime.datetime(2025, 2, 1, 5, 41, 2), 'result': '0.043027941387607946', 'result_long': None, 'result_double': None}] Qualite : 0.043027941387607946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20093325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20093325 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, 'pht': 3726}}" where mtr_portfolio_id = 20093325 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20093325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643272, 0.043027941387607946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20093996 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536646, 'mtr_portfolio_id': 20093996, 'created_at': datetime.datetime(2025, 2, 1, 5, 41, 34), 'result': '0.040913346841589454', 'result_long': None, 'result_double': None}] Qualite : 0.040913346841589454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20093996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20093996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, 'pht': 3726}}" where mtr_portfolio_id = 20093996 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20093996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643273, 0.040913346841589454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20094429 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536647, 'mtr_portfolio_id': 20094429, 'created_at': datetime.datetime(2025, 2, 1, 5, 42, 5), 'result': '0.025452941454474808', 'result_long': None, 'result_double': None}] Qualite : 0.025452941454474808 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20094429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20094429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, 'pht': 3726}}" where mtr_portfolio_id = 20094429 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20094429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643274, 0.025452941454474808, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20095035 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536648, 'mtr_portfolio_id': 20095035, 'created_at': datetime.datetime(2025, 2, 1, 5, 42, 30), 'result': '0.04530179493833698', 'result_long': None, 'result_double': None}] Qualite : 0.04530179493833698 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, 'pht': 3726}}" where mtr_portfolio_id = 20095035 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20095035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643275, 0.04530179493833698, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20095545 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536649, 'mtr_portfolio_id': 20095545, 'created_at': datetime.datetime(2025, 2, 1, 5, 43, 2), 'result': '0.05095805914591683', 'result_long': None, 'result_double': None}] Qualite : 0.05095805914591683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095545 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095545 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, 'pht': 3726}}" where mtr_portfolio_id = 20095545 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20095545 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643276, 0.05095805914591683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20095959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536650, 'mtr_portfolio_id': 20095959, 'created_at': datetime.datetime(2025, 2, 1, 5, 43, 31), 'result': '0.05538534305510406', 'result_long': None, 'result_double': None}] Qualite : 0.05538534305510406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, 'pht': 3726}}" where mtr_portfolio_id = 20095959 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20095959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643277, 0.05538534305510406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20097156 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536651, 'mtr_portfolio_id': 20097156, 'created_at': datetime.datetime(2025, 2, 1, 5, 43, 59), 'result': '0.04148309277310702', 'result_long': None, 'result_double': None}] Qualite : 0.04148309277310702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20097156 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20097156 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, 'pht': 3726}}" where mtr_portfolio_id = 20097156 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20097156 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643278, 0.04148309277310702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20097481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536652, 'mtr_portfolio_id': 20097481, 'created_at': datetime.datetime(2025, 2, 1, 5, 44, 28), 'result': '0.03628505255714043', 'result_long': None, 'result_double': None}] Qualite : 0.03628505255714043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20097481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20097481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, 'pht': 3726}}" where mtr_portfolio_id = 20097481 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20097481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643279, 0.03628505255714043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20098077 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536653, 'mtr_portfolio_id': 20098077, 'created_at': datetime.datetime(2025, 2, 1, 5, 45, 2), 'result': '0.054668766063283206', 'result_long': None, 'result_double': None}] Qualite : 0.054668766063283206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20098077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20098077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, 'pht': 3726}}" where mtr_portfolio_id = 20098077 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20098077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643280, 0.054668766063283206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20098681 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536654, 'mtr_portfolio_id': 20098681, 'created_at': datetime.datetime(2025, 2, 1, 5, 45, 32), 'result': '0.04175880099459883', 'result_long': None, 'result_double': None}] Qualite : 0.04175880099459883 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20098681 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20098681 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, 'pht': 3726}}" where mtr_portfolio_id = 20098681 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20098681 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643281, 0.04175880099459883, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20099158 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536655, 'mtr_portfolio_id': 20099158, 'created_at': datetime.datetime(2025, 2, 1, 5, 46), 'result': '0.041281318097373974', 'result_long': None, 'result_double': None}] Qualite : 0.041281318097373974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20099158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20099158 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, 'pht': 3726}}" where mtr_portfolio_id = 20099158 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20099158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643282, 0.041281318097373974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20100088 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536656, 'mtr_portfolio_id': 20100088, 'created_at': datetime.datetime(2025, 2, 1, 5, 46, 28), 'result': '0.04568032891211431', 'result_long': None, 'result_double': None}] Qualite : 0.04568032891211431 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20100088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20100088 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, 'pht': 3726}}" where mtr_portfolio_id = 20100088 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20100088 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643283, 0.04568032891211431, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20100892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536657, 'mtr_portfolio_id': 20100892, 'created_at': datetime.datetime(2025, 2, 1, 5, 46, 58), 'result': '0.04660509101459956', 'result_long': None, 'result_double': None}] Qualite : 0.04660509101459956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20100892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20100892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, 'pht': 3726}}" where mtr_portfolio_id = 20100892 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20100892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643284, 0.04660509101459956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20101316 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536658, 'mtr_portfolio_id': 20101316, 'created_at': datetime.datetime(2025, 2, 1, 5, 47, 31), 'result': '0.04729556343520526', 'result_long': None, 'result_double': None}] Qualite : 0.04729556343520526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20101316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20101316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, 'pht': 3726}}" where mtr_portfolio_id = 20101316 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20101316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643285, 0.04729556343520526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20102361 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536659, 'mtr_portfolio_id': 20102361, 'created_at': datetime.datetime(2025, 2, 1, 5, 48, 1), 'result': '0.058284879664812474', 'result_long': None, 'result_double': None}] Qualite : 0.058284879664812474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20102361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20102361 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, 'pht': 3726}}" where mtr_portfolio_id = 20102361 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20102361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643286, 0.058284879664812474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20102932 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536660, 'mtr_portfolio_id': 20102932, 'created_at': datetime.datetime(2025, 2, 1, 5, 48, 31), 'result': '0.051051027276654976', 'result_long': None, 'result_double': None}] Qualite : 0.051051027276654976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20102932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20102932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, 'pht': 3726}}" where mtr_portfolio_id = 20102932 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20102932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643287, 0.051051027276654976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20103345 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533075, 'mtr_portfolio_id': 20103345, 'created_at': datetime.datetime(2025, 1, 31, 8, 2, 57), 'result': '0.05255529161344713', 'result_long': None, 'result_double': None}] Qualite : 0.05255529161344713 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20103345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_31-01-2025_08_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20103345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_31-01-2025_08_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, 'pht': 3726}}" where mtr_portfolio_id = 20103345 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20103345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643288, 0.05255529161344713, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_31-01-2025_08_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20103727 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533108, 'mtr_portfolio_id': 20103727, 'created_at': datetime.datetime(2025, 1, 31, 8, 19, 1), 'result': '0.038773707457147866', 'result_long': None, 'result_double': None}] Qualite : 0.038773707457147866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20103727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20103727 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, 'pht': 3726}}" where mtr_portfolio_id = 20103727 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20103727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643289, 0.038773707457147866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20104620 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533159, 'mtr_portfolio_id': 20104620, 'created_at': datetime.datetime(2025, 1, 31, 8, 37), 'result': '0.040804842250134435', 'result_long': None, 'result_double': None}] Qualite : 0.040804842250134435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20104620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20104620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, 'pht': 3726}}" where mtr_portfolio_id = 20104620 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20104620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643290, 0.040804842250134435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20104890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533193, 'mtr_portfolio_id': 20104890, 'created_at': datetime.datetime(2025, 1, 31, 8, 46, 57), 'result': '0.05139320245324304', 'result_long': None, 'result_double': None}] Qualite : 0.05139320245324304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20104890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20104890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, 'pht': 3726}}" where mtr_portfolio_id = 20104890 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20104890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643291, 0.05139320245324304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20105217 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533219, 'mtr_portfolio_id': 20105217, 'created_at': datetime.datetime(2025, 1, 31, 9, 32, 58), 'result': '0.04588294967341436', 'result_long': None, 'result_double': None}] Qualite : 0.04588294967341436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20105217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20105217 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, 'pht': 3726}}" where mtr_portfolio_id = 20105217 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20105217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643292, 0.04588294967341436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20106746 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533366, 'mtr_portfolio_id': 20106746, 'created_at': datetime.datetime(2025, 1, 31, 9, 49, 28), 'result': '0.03770325285483314', 'result_long': None, 'result_double': None}] Qualite : 0.03770325285483314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20106746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20106746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, 'pht': 3726}}" where mtr_portfolio_id = 20106746 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20106746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643293, 0.03770325285483314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20107484 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533416, 'mtr_portfolio_id': 20107484, 'created_at': datetime.datetime(2025, 1, 31, 10, 3), 'result': '0.03254347503969908', 'result_long': None, 'result_double': None}] Qualite : 0.03254347503969908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20107484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20107484 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, 'pht': 3726}}" where mtr_portfolio_id = 20107484 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20107484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643294, 0.03254347503969908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20108354 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533488, 'mtr_portfolio_id': 20108354, 'created_at': datetime.datetime(2025, 1, 31, 10, 16, 56), 'result': '0.03393909744323637', 'result_long': None, 'result_double': None}] Qualite : 0.03393909744323637 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20108354 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108354 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, 'pht': 3726}}" where mtr_portfolio_id = 20108354 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108354 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643295, 0.03393909744323637, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20108777 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533565, 'mtr_portfolio_id': 20108777, 'created_at': datetime.datetime(2025, 1, 31, 10, 33), 'result': '0.022693658238996262', 'result_long': None, 'result_double': None}] Qualite : 0.022693658238996262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20108777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108777 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, 'pht': 3726}}" where mtr_portfolio_id = 20108777 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643296, 0.022693658238996262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20109367 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533650, 'mtr_portfolio_id': 20109367, 'created_at': datetime.datetime(2025, 1, 31, 10, 46, 59), 'result': '0.0436727874908148', 'result_long': None, 'result_double': None}] Qualite : 0.0436727874908148 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20109367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20109367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, 'pht': 3726}}" where mtr_portfolio_id = 20109367 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20109367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643297, 0.0436727874908148, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20109995 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533748, 'mtr_portfolio_id': 20109995, 'created_at': datetime.datetime(2025, 1, 31, 11, 2, 59), 'result': '0.040425433787416976', 'result_long': None, 'result_double': None}] Qualite : 0.040425433787416976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20109995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20109995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, 'pht': 3726}}" where mtr_portfolio_id = 20109995 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20109995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643298, 0.040425433787416976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20110720 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533886, 'mtr_portfolio_id': 20110720, 'created_at': datetime.datetime(2025, 1, 31, 11, 19), 'result': '0.0381700843080114', 'result_long': None, 'result_double': None}] Qualite : 0.0381700843080114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20110720 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20110720 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, 'pht': 3726}}" where mtr_portfolio_id = 20110720 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20110720 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643299, 0.0381700843080114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20111560 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533991, 'mtr_portfolio_id': 20111560, 'created_at': datetime.datetime(2025, 1, 31, 11, 32, 57), 'result': '0.04375539871282768', 'result_long': None, 'result_double': None}] Qualite : 0.04375539871282768 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20111560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20111560 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, 'pht': 3726}}" where mtr_portfolio_id = 20111560 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20111560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643300, 0.04375539871282768, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20112623 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2534065, 'mtr_portfolio_id': 20112623, 'created_at': datetime.datetime(2025, 1, 31, 11, 48, 58), 'result': '0.0654430677462188', 'result_long': None, 'result_double': None}] Qualite : 0.0654430677462188 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20112623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20112623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, 'pht': 3726}}" where mtr_portfolio_id = 20112623 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20112623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643301, 0.0654430677462188, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20113116 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2534102, 'mtr_portfolio_id': 20113116, 'created_at': datetime.datetime(2025, 1, 31, 12, 2, 59), 'result': '0.04026519605661039', 'result_long': None, 'result_double': None}] Qualite : 0.04026519605661039 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20113116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20113116 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, 'pht': 3726}}" where mtr_portfolio_id = 20113116 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20113116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643302, 0.04026519605661039, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20113571 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2534163, 'mtr_portfolio_id': 20113571, 'created_at': datetime.datetime(2025, 1, 31, 12, 18, 59), 'result': '0.05604052565025554', 'result_long': None, 'result_double': None}] Qualite : 0.05604052565025554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20113571 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20113571 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, 'pht': 3726}}" where mtr_portfolio_id = 20113571 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20113571 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643303, 0.05604052565025554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20121430 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535297, 'mtr_portfolio_id': 20121430, 'created_at': datetime.datetime(2025, 1, 31, 21, 19, 2), 'result': '0.0817407283353113', 'result_long': None, 'result_double': None}] Qualite : 0.0817407283353113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20121430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20121430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, 'pht': 3726}}" where mtr_portfolio_id = 20121430 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20121430 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643304, 0.0817407283353113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20121826 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535320, 'mtr_portfolio_id': 20121826, 'created_at': datetime.datetime(2025, 1, 31, 21, 37), 'result': '0.05138945010416425', 'result_long': None, 'result_double': None}] Qualite : 0.05138945010416425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20121826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20121826 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, 'pht': 3726}}" where mtr_portfolio_id = 20121826 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20121826 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643305, 0.05138945010416425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20122144 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535341, 'mtr_portfolio_id': 20122144, 'created_at': datetime.datetime(2025, 1, 31, 21, 46, 58), 'result': '0.03770210148331466', 'result_long': None, 'result_double': None}] Qualite : 0.03770210148331466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20122144 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20122144 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, 'pht': 3726}}" where mtr_portfolio_id = 20122144 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20122144 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643306, 0.03770210148331466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20122775 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535400, 'mtr_portfolio_id': 20122775, 'created_at': datetime.datetime(2025, 1, 31, 22, 2, 58), 'result': '0.031556960468318095', 'result_long': None, 'result_double': None}] Qualite : 0.031556960468318095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20122775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20122775 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, 'pht': 3726}}" where mtr_portfolio_id = 20122775 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20122775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643307, 0.031556960468318095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20123568 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535503, 'mtr_portfolio_id': 20123568, 'created_at': datetime.datetime(2025, 1, 31, 22, 16, 57), 'result': '0.04016188114633454', 'result_long': None, 'result_double': None}] Qualite : 0.04016188114633454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20123568 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20123568 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, 'pht': 3726}}" where mtr_portfolio_id = 20123568 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20123568 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643308, 0.04016188114633454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20124284 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535564, 'mtr_portfolio_id': 20124284, 'created_at': datetime.datetime(2025, 1, 31, 22, 37, 1), 'result': '0.03119054991574652', 'result_long': None, 'result_double': None}] Qualite : 0.03119054991574652 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20124284 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20124284 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, 'pht': 3726}}" where mtr_portfolio_id = 20124284 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20124284 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643309, 0.03119054991574652, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20124827 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535599, 'mtr_portfolio_id': 20124827, 'created_at': datetime.datetime(2025, 1, 31, 22, 49), 'result': '0.03904325953720691', 'result_long': None, 'result_double': None}] Qualite : 0.03904325953720691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20124827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20124827 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, 'pht': 3726}}" where mtr_portfolio_id = 20124827 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20124827 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643310, 0.03904325953720691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20125220 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535677, 'mtr_portfolio_id': 20125220, 'created_at': datetime.datetime(2025, 2, 1, 5, 10, 31), 'result': '0.04059907305847414', 'result_long': None, 'result_double': None}] Qualite : 0.04059907305847414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20125220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20125220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, 'pht': 3726}}" where mtr_portfolio_id = 20125220 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20125220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643311, 0.04059907305847414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135429 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135429 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20135429 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135429 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135429 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20135429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135429_01-02-2025_05_11_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135429_01-02-2025_05_11_03.pdf'}" where mtr_portfolio_id = 20135429 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135430 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135430 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20135430 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135430 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135430 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20135430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135430_01-02-2025_05_11_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135430_01-02-2025_05_11_36.pdf'}" where mtr_portfolio_id = 20135430 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135431 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135431 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20135431 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135431 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135431 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20135431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135431_01-02-2025_05_12_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135431_01-02-2025_05_12_00.pdf'}" where mtr_portfolio_id = 20135431 and dashboard_run_id = 1578330 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20127938,20127939,20127940,20127941,20090835,20090957,20090959,20091190,20091230,20091819,20092585,20093325,20093996,20094429,20095035,20095545,20095959,20097156,20097481,20098077,20098681,20099158,20100088,20100892,20101316,20102361,20102932,20103345,20103727,20104620,20104890,20105217,20106746,20107484,20108354,20108777,20109367,20109995,20110720,20111560,20112623,20113116,20113571,20121430,20121826,20122144,20122775,20123568,20124284,20124827,20125220,20135429,20135430,20135431) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,), (1333164240,), (1333170730,), (1333171085,), (1333171113,), (1333171115,), (1333171118,), (1333171119,), (1333171122,), (1333171135,), (1333171142,), (1333171149,), (1333171153,), (1333171157,), (1333171161,), (1333171179,), (1333171181,), (1333171185,), (1333171189,), (1333171193,), (1333171196,), (1333176762,), (1333176767,), (1333176770,), (1333176773,), (1333176776,), (1333176778,), (1333176937,), (1333176942,), (1333176946,), (1333176959,), (1333177005,), (1333177008,), (1333177073,), (1333177075,), (1333177077,), (1333177079,), (1333177081,), (1333177084,), (1333177100,), (1333177105,), (1333177112,), (1333177114,), (1333177116,), (1333177118,), (1333177122,), (1333177126,), (1333177131,), (1333177136,), (1333177138,), (1333177143,), (1333177155,), (1333177159,), (1333177162,), (1333177165,), (1333177168,), (1333177170,), (1333177175,), (1333177178,), (1333177184,), (1333177188,), (1333177194,), (1333177200,), (1333177213,), (1333177215,), (1333177218,), (1333177221,), (1333177222,), (1333177226,), (1333177285,), (1333177293,), (1333177295,), (1333177298,), (1333177300,), (1333177302,), (1333164507,), (1333168172,), (1333171206,), (1333171209,), (1333171215,), (1333171219,), (1333171224,), (1333171229,), (1333171240,), (1333171242,), (1333171245,), (1333171248,), (1333171252,), (1333171257,), (1333171270,), (1333171274,), (1333171277,), (1333171280,), (1333171283,), (1333171287,), (1333174225,), (1333174226,), (1333174228,), (1333174234,), (1333174238,), (1333174241,), (1333174829,), (1333174831,), (1333174832,), (1333174856,), (1333174857,), (1333174860,), (1333175175,), (1333175178,), (1333175187,), (1333175190,), (1333175194,), (1333175197,), (1333175324,), (1333175331,), (1333175336,), (1333175341,), (1333175343,), (1333175346,), (1333175621,), (1333175681,), (1333175725,), (1333175731,), (1333175736,), (1333175748,), (1333175756,), (1333175758,), (1333175855,), (1333175856,), (1333175860,), (1333175863,), (1333175868,), (1333175874,), (1333175895,), (1333175897,), (1333175899,), (1333175921,), (1333175926,), (1333175934,), (1333175943,), (1333175947,), (1333175950,), (1333175953,), (1333175957,), (1333175961,), (1333176001,), (1333176006,), (1333176014,), (1333176019,), (1333176030,), (1333176093,), (1333176135,), (1333176175,), (1333176233,), (1333176379,), (1333171700,), (1333171788,), (1333171833,), (1333171836,), (1333171840,), (1333171842,), (1333171857,), (1333171862,), (1333171867,), (1333171875,), (1333171880,), (1333171886,), (1333171892,), (1333171896,), (1333171900,), (1333171904,), (1333171910,), (1333171923,), (1333171957,), (1333171958,), (1333171959,), (1333172007,), (1333172019,), (1333172051,), (1333172056,), (1333172064,), (1333172068,), (1333172156,), (1333172176,), (1333172239,), (1333172241,), (1333172243,), (1333172245,), (1333172249,), (1333172251,), (1333172320,), (1333172324,), (1333172328,), (1333172332,), (1333172341,), (1333172345,), (1333172375,), (1333172381,), (1333172448,), (1333172452,), (1333172456,), (1333172494,), (1333172497,), (1333172501,), (1333172543,), (1333172552,), (1333172555,), (1333172556,), (1333172560,), (1333172612,), (1333172614,), (1333172706,), (1333172884,), (1333173009,), (1333173163,), (1333174065,), (1333174082,), (1333174085,), (1333174088,), (1333174092,), (1333174096,), (1333174099,), (1333174205,), (1333171944,), (1333171952,), (1333171955,), (1333171971,), (1333171979,), (1333171980,), (1333171988,), (1333171994,), (1333172000,), (1333172131,), (1333172140,), (1333172145,), (1333172152,), (1333172208,), (1333172210,), (1333172214,), (1333172220,), (1333172226,), (1333172230,), (1333172267,), (1333172272,), (1333172276,), (1333172282,), (1333172286,), (1333172293,), (1333172361,), (1333172366,), (1333172368,), (1333172370,), (1333172395,), (1333172399,), (1333172405,), (1333172409,), (1333172419,), (1333172429,), (1333172525,), (1333172528,), (1333172533,), (1333172537,), (1333172540,), (1333172685,), (1333172688,), (1333173724,), (1333173877,), (1333173942,), (1333173953,), (1333173979,), (1333174120,), (1333174125,), (1333174130,), (1333174134,), (1333174152,), (1333174562,), (1333174585,), (1333174719,), (1333174739,), (1333174796,), (1333174826,), (1333174918,), (1333174969,), (1333174999,), (1333175034,), (1333175045,), (1333175052,), (1333175207,), (1333175211,), (1333175214,), (1333175221,), (1333175224,), (1333175302,), (1333175523,), (1333175598,), (1333175602,), (1333175613,), (1333175617,), (1333175678,), (1333175640,), (1333175642,), (1333175659,), (1333175675,), (1333175766,), (1333175769,), (1333175779,), (1333175785,), (1333175790,), (1333175803,), (1333175888,), (1333175892,), (1333175893,), (1333175909,), (1333175913,), (1333175918,), (1333175987,), (1333175996,), (1333177248,), (1333177264,), (1333177270,), (1333177279,), (1333177281,), (1333177567,), (1333177572,), (1333177580,), (1333177583,), (1333177632,), (1333177633,), (1333177639,), (1333177640,), (1333177642,), (1333177644,), (1333177694,), (1333177703,), (1333177715,), (1333177747,), (1333177752,), (1333178101,), (1333178107,), (1333178111,), (1333178116,), (1333178121,), (1333178142,), (1333178161,), (1333178169,), (1333178252,), (1333178277,), (1333178312,), (1333178295,), (1333178303,), (1333178400,), (1333178411,), (1333178417,), (1333178422,), (1333178427,), (1333178430,), (1333178518,), (1333178525,), (1333178539,), (1333178542,), (1333178583,), (1333178584,), (1333178632,), (1333178633,), (1333178640,), (1333178641,), (1333178643,), (1333178645,), (1333178649,), (1333178651,), (1333178715,), (1333178718,), (1333178723,), (1333178728,), (1333178732,), (1333178838,), (1333178843,), (1333178847,), (1333178852,), (1333178880,), (1333179102,), (1333179233,), (1333179348,), (1333179496,), (1333179577,), (1333179982,), (1333179983,), (1333179989,), (1333179992,), (1333179997,), (1333180025,), (1333180069,), (1333180192,), (1333180406,), (1333180453,), (1333180471,), (1333180479,), (1333180487,), (1333180531,), (1333180791,), (1333180796,), (1333180811,), (1333180823,), (1333180875,), (1333180881,), (1333180886,), (1333180911,), (1333180916,), (1333181046,), (1333181048,), (1333181055,), (1333181061,), (1333181065,), (1333181127,), (1333181133,), (1333181136,), (1333182330,), (1333181285,), (1333182193,), (1333182232,), (1333182237,), (1333182263,), (1333182551,), (1333182552,), (1333182562,), (1333182564,), (1333182570,), (1333182571,), (1333182623,), (1333182636,), (1333182675,), (1333182685,), (1333183000,), (1333183035,), (1333183046,), (1333183119,), (1333184094,), (1333184099,), (1333184104,), (1333184108,), (1333184114,), (1333184117,), (1333184648,), (1333184653,), (1333184657,), (1333184707,), (1333184719,), (1333184722,), (1333184736,), (1333184740,), (1333184755,), (1333184813,), (1333185256,), (1333185267,), (1333185273,), (1333185294,), (1333185300,), (1333185410,), (1333185411,), (1333185416,), (1333185417,), (1333185429,), (1333185430,), (1333185436,), (1333185437,), (1333185440,), (1333185441,), (1333185445,), (1333185446,), (1333185455,), (1333185458,), (1333185464,), (1333185632,), (1333185650,), (1333185669,), (1333185672,), (1333185958,), (1333185960,), (1333185963,), (1333185966,), (1333185969,), (1333185972,), (1333185978,), (1333185980,), (1333185983,), (1333185987,), (1333186100,), (1333186122,), (1333186141,), (1333186145,), (1333186150,), (1333186192,), (1333186180,), (1333186182,), (1333186185,), (1333186189,), (1333186225,), (1333186227,), (1333186229,), (1333186231,), (1333186237,), (1333186281,), (1333186300,), (1333186307,), (1333186314,), (1333186317,), (1333186318,), (1333186321,), (1333186325,), (1333186354,), (1333186356,), (1333186358,), (1333186388,), (1333186391,), (1333186395,), (1333186398,), (1333186404,), (1333186407,), (1333186431,), (1333186435,), (1333186440,), (1333186507,), (1333186516,), (1333186521,), (1333186611,), (1333186617,), (1333186622,), (1333186626,), (1333186630,), (1333186632,), (1333186640,), (1333186643,), (1333186648,), (1333186652,), (1333186681,), (1333186684,), (1333186687,), (1333186691,), (1333186694,), (1333186723,), (1333186726,), (1333186731,), (1333186748,), (1333186791,), (1333186794,), (1333186797,), (1333186800,), (1333186808,), (1333186811,), (1333186815,), (1333186818,), (1333186823,), (1333186861,), (1333186864,), (1333186869,), (1333186883,), (1333187285,), (1333186999,), (1333187003,), (1333187007,), (1333187010,), (1333187015,), (1333187018,), (1333187158,), (1333187408,), (1333187412,), (1333187454,), (1333187459,), (1333187462,), (1333187581,), (1333187683,), (1333187689,), (1333187853,), (1333187855,), (1333187856,), (1333187873,), (1333187911,), (1333188104,), (1333188229,), (1333188342,), (1333188393,), (1333188431,), (1333188507,), (1333188528,), (1333188575,), (1333188911,), (1333188945,), (1333188947,), (1333188952,), (1333188955,), (1333188980,), (1333188982,), (1333188985,), (1333188988,), (1333188991,), (1333189380,), (1333189381,), (1333189409,), (1333189410,), (1333189414,), (1333189417,), (1333189553,), (1333189554,), (1333189557,), (1333189558,), (1333189567,), (1333189568,), (1333189570,), (1333189572,), (1333189574,), (1333189576,), (1333189578,), (1333189579,), (1333189586,), (1333189588,), (1333189590,), (1333189675,), (1333189678,), (1333189777,), (1333189778,), (1333189779,), (1333189782,), (1333189784,), (1333190141,), (1333190210,), (1333190276,), (1333190318,), (1333190353,), (1333190580,), (1333190661,), (1333190738,), (1333190812,), (1333191020,), (1333191009,), (1333191012,), (1333191018,), (1333191046,), (1333191049,), (1333191060,), (1333191907,), (1333191910,), (1333191945,), (1333191948,), (1333191951,), (1333191955,), (1333191958,), (1333191985,), (1333191987,), (1333192014,), (1333192017,), (1333192020,), (1333192026,), (1333192331,), (1333192334,), (1333192338,), (1333192342,), (1333192346,), (1333192540,), (1333192550,), (1333192555,), (1333192586,), (1333192606,), (1333192608,), (1333192610,), (1333192611,), (1333192831,), (1333192844,), (1333192879,), (1333192882,), (1333192885,), (1333192908,), (1333192931,), (1333192933,), (1333192935,), (1333192977,), (1333193195,), (1333193193,), (1333193194,), (1333193243,), (1333193244,), (1333193246,), (1333193249,), (1333193251,), (1333193283,), (1333193285,), (1333193286,), (1333193287,), (1333193290,), (1333193327,), (1333193334,), (1333193368,), (1333193369,), (1333193371,), (1333193373,), (1333193374,), (1333193376,), (1333193433,), (1333193436,), (1333193439,), (1333193443,), (1333193486,), (1333193489,), (1333193512,), (1333193515,), (1333193519,), (1333193534,), (1333193598,), (1333193602,), (1333193606,), (1333193607,), (1333193749,), (1333193862,), (1333194437,), (1333194439,), (1333194441,), (1333194443,), (1333194709,), (1333194747,), (1333194759,), (1333194766,), (1333194769,), (1333194797,), (1333194798,), (1333194801,), (1333194804,), (1333194808,), (1333194810,), (1333194832,), (1333194835,), (1333194839,), (1333194972,), (1333194996,), (1333194998,), (1333195196,), (1333195205,), (1333195225,), (1333195244,), (1333195274,), (1333195277,), (1333195278,), (1333195280,), (1333195283,), (1333195318,), (1333195306,), (1333195308,), (1333195311,), (1333195316,), (1333195372,), (1333195374,), (1333195376,), (1333195378,), (1333195473,), (1333195475,), (1333195507,), (1333195508,), (1333195510,), (1333195513,), (1333195544,), (1333195546,), (1333195548,), (1333195552,), (1333195619,), (1333195645,), (1333195647,), (1333195649,), (1333195651,), (1333195688,), (1333195690,), (1333195691,), (1333195693,), (1333195697,), (1333195736,), (1333195737,), (1333195740,), (1333195746,), (1333195936,), (1333195938,), (1333195942,), (1333195988,), (1333195993,), (1333196080,), (1333196082,), (1333196083,), (1333196085,), (1333196118,), (1333196500,), (1333196502,), (1333196504,), (1333196520,), (1333196527,), (1333196554,), (1333196557,), (1333196559,), (1333200458,), (1333201884,), (1333201930,), (1333201932,), (1333201935,), (1333202030,), (1333202035,), (1333202233,), (1333202255,), (1333202258,), (1333202346,), (1333202353,), (1333202408,), (1333202426,), (1333202429,), (1333202432,), (1333202628,), (1333202649,), (1333202703,), (1333202706,), (1333202708,), (1333202710,), (1333202791,), (1333202793,), (1333202796,), (1333202798,), (1333203476,), (1333204840,), (1333204862,), (1333204867,), (1333204868,), (1333204869,), (1333204872,), (1333204900,), (1333204894,), (1333204896,), (1333204897,), (1333204898,), (1333204925,), (1333204927,), (1333204929,), (1333204931,), (1333204970,), (1333205035,), (1333205553,), (1333205576,), (1333205582,), (1333205586,), (1333205743,), (1333205752,), (1333205757,), (1333205759,), (1333205765,), (1333205812,), (1333205814,), (1333205816,), (1333205818,), (1333206670,), (1333206672,), (1333207085,), (1333207088,), (1333207112,), (1333207116,), (1333207139,), (1333207184,), (1333207215,), (1333207216,), (1333207217,), (1333207218,), (1333207294,), (1333207297,), (1333207299,), (1333207302,), (1333207304,), (1333207387,), (1333207427,), (1333207436,), (1333207437,), (1333207464,), (1333207468,), (1333207573,), (1333207598,), (1333207618,), (1333207656,), (1333207855,), (1333207857,), (1333207859,), (1333207907,), (1333207942,), (1333207945,), (1333208003,), (1333208008,), (1333208010,), (1333208011,), (1333208059,), (1333208047,), (1333208049,), (1333208051,), (1333208055,), (1333208086,), (1333208095,), (1333208099,), (1333208110,), (1333208142,), (1333208165,), (1333208483,), (1333208507,), (1333208510,), (1333208525,), (1333208587,), (1333208589,), (1333208592,), (1333208595,), (1333208597,), (1333208602,), (1333208619,), (1333208620,), (1333208621,), (1333208623,), (1333208625,), (1333208728,), (1333208736,), (1333208785,), (1333208788,), (1333208831,), (1333208833,), (1333208835,), (1333208839,), (1333208842,), (1333208847,), (1333208865,), (1333209010,), (1333209018,), (1333209094,), (1333209147,), (1333209320,), (1333209327,), (1333209329,), (1333209330,), (1333209484,), (1333210172,), (1333210174,), (1333210175,), (1333210296,), (1333210456,), (1333210460,), (1333210463,), (1333210466,), (1333210587,), (1333210588,), (1333210589,), (1333210643,), (1333210645,), (1333210648,), (1333210651,), (1333210655,), (1333210658,), (1333210689,), (1333210695,), (1333210698,), (1333210704,), (1333210732,), (1333210734,), (1333210737,), (1333210740,), (1333210745,), (1333210748,), (1333211120,), (1333210952,), (1333210956,), (1333210959,), (1333211005,), (1333211017,), (1333211020,), (1333211054,), (1333211114,), (1333211142,), (1333211155,), (1333211204,), (1333211214,), (1333211220,), (1333211224,), (1333211456,), (1333211460,), (1333211462,), (1333211465,), (1333211550,), (1333211552,), (1333211558,), (1333211564,), (1333211568,), (1333211572,), (1333211606,), (1333211609,), (1333211611,), (1333211764,), (1333211765,), (1333211766,), (1333211767,), (1333211768,), (1333211770,), (1333211794,), (1333211796,), (1333211798,), (1333211800,), (1333211877,), (1333211879,), (1333211881,), (1333211895,), (1333211904,), (1333211908,), (1333211928,), (1333211929,), (1333211932,), (1333211936,), (1333211975,), (1333211977,), (1333211978,), (1333211982,), (1333211984,), (1333211987,), (1333212007,), (1333212009,), (1333212010,), (1333212011,), (1333212060,), (1333212123,), (1333212184,), (1333212212,), (1333212215,), (1333212217,), (1333212404,), (1333212409,), (1333212414,), (1333212418,), (1333212501,), (1333212459,), (1333212464,), (1333212468,), (1333212494,), (1333212594,), (1333212597,), (1333212601,), (1333212602,), (1333212631,), (1333212633,), (1333212634,), (1333212636,), (1333212639,), (1333212667,), (1333212671,), (1333212674,), (1333212676,), (1333212680,), (1333212704,), (1333212723,), (1333212725,), (1333212727,), (1333212733,), (1333212735,), (1333212770,), (1333212773,), (1333212776,), (1333212778,), (1333212782,), (1333212790,), (1333212834,), (1333212837,), (1333212840,), (1333212880,), (1333212953,), (1333213036,), (1333213037,), (1333213059,), (1333213100,), (1333213402,), (1333213417,), (1333213642,), (1333213695,), (1333213709,), (1333213713,), (1333213716,), (1333213720,), (1333213723,), (1333213735,), (1333213738,), (1333213741,), (1333213833,), (1333213851,), (1333213858,), (1333213874,), (1333213876,), (1333213877,), (1333214104,), (1333214296,), (1333214426,), (1333214512,), (1333214949,), (1333214951,), (1333214959,), (1333214965,), (1333215107,), (1333215062,), (1333215099,), (1333215100,), (1333215103,), (1333215602,), (1333215653,), (1333215665,), (1333215678,), (1333215707,), (1333215779,), (1333216108,), (1333216134,), (1333216256,), (1333216366,), (1333216691,), (1333216696,), (1333216712,), (1333216719,), (1333216943,), (1333216966,), (1333216994,), (1333216996,), (1333217022,), (1333217031,), (1333217038,), (1333217040,), (1333217042,), (1333217043,), (1333217074,), (1333217076,), (1333217173,), (1333217176,), (1333217178,), (1333217181,), (1333217211,), (1333217212,), (1333217213,), (1333217215,), (1333217217,), (1333217243,), (1333217245,), (1333217247,), (1333217249,), (1333217324,), (1333217495,), (1333217604,), (1333217787,), (1333217793,), (1333217840,), (1333217842,), (1333217854,), (1333217984,), (1333217987,), (1333217989,), (1333217990,), (1333218037,), (1333218344,), (1333218346,), (1333218392,), (1333218394,), (1333218549,), (1333218581,), (1333218589,), (1333218748,), (1333218695,), (1333218742,), (1333218745,), (1333218783,), (1333218787,), (1333218794,), (1333218803,), (1333218826,), (1333218828,), (1333218829,), (1333218830,), (1333218867,), (1333218869,), (1333218871,), (1333218929,), (1333218933,), (1333218935,), (1333219176,), (1333219195,), (1333219198,), (1333219224,), (1333219227,), (1333219244,), (1333219246,), (1333219249,), (1333219256,), (1333219292,), (1333219293,), (1333219294,), (1333219352,), (1333219470,), (1333220191,), (1333220193,), (1333220214,), (1333220222,), (1333220225,), (1333220540,), (1333220543,), (1333220547,), (1333220550,), (1333220571,), (1333220574,), (1333220577,), (1333220609,), (1333220612,), (1333220616,), (1333220619,), (1333220626,), (1333220638,), (1333220643,), (1333220645,), (1333220653,), (1333220659,), (1333220716,), (1333220718,), (1333220722,), (1333220731,), (1333220737,), (1333220751,), (1333220925,), (1333220966,), (1333221021,), (1333221025,), (1333221031,), (1333221037,), (1333221038,), (1333221214,), (1333221216,), (1333221218,), (1333221221,), (1333221223,), (1333221225,), (1333221249,), (1333221251,), (1333221255,), (1333221256,), (1333220924,), (1333220962,), (1333221022,), (1333221026,), (1333221032,), (1333221042,), (1333221136,), (1333221138,), (1333221155,), (1333221159,), (1333221180,), (1333221232,), (1333221233,), (1333221237,), (1333221238,), (1333221241,), (1333221243,), (1333221245,), (1333221246,), (1333221265,), (1333221267,), (1333221268,), (1333221269,), (1333221270,), (1333221322,), (1333222114,), (1333222116,), (1333222119,), (1333222121,), (1333222123,), (1333222412,), (1333222415,), (1333222416,), (1333222477,), (1333222479,), (1333222489,), (1333222795,), (1333222797,), (1333222799,), (1333222811,), (1333222813,), (1333222815,), (1333222886,), (1333222897,), (1333222899,), (1333222911,), (1333222955,), (1333223139,), (1333223142,), (1333223145,), (1333223154,), (1333223207,), (1333223208,), (1333223209,), (1333223210,), (1333223235,), (1333223237,), (1333223294,), (1333223296,), (1333223322,), (1333223494,), (1333223533,), (1333223557,), (1333223571,), (1333223619,), (1333223847,), (1333223872,), (1333223924,), (1333223959,), (1333223970,), (1333224581,), (1333225628,), (1333225632,), (1333225635,), (1333225638,), (1333225680,), (1333225682,), (1333225683,), (1333225771,), (1333225852,), (1333226237,), (1333226241,), (1333226245,), (1333226285,), (1333226289,), (1333226292,), (1333226294,), (1333226321,), (1333226626,), (1333226639,), (1333226643,), (1333226684,), (1333226689,), (1333226692,), (1333226707,), (1333226718,), (1333226726,), (1333226853,), (1333226858,), (1333226864,), (1333226868,), (1333226872,), (1333226899,), (1333226901,), (1333226904,), (1333226907,), (1333226983,), (1333226997,), (1333227001,), (1333227004,), (1333227007,), (1333227047,), (1333227052,), (1333227058,), (1333227061,), (1333227069,), (1333227106,), (1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,), (1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,), (1333234147,), (1333234150,), (1333234153,), (1333234210,), (1333234211,), (1333234215,), (1333234228,), (1333234232,), (1333234391,), (1333234401,), (1333234403,), (1333234407,), (1333234448,), (1333234451,), (1333234454,), (1333234456,), (1333234458,), (1333234494,), (1333234554,), (1333234555,), (1333234557,), (1333234559,), (1333234562,), (1333234608,), (1333234611,), (1333234616,), (1333234755,), (1333234777,), (1333235085,), (1333235087,), (1333235090,), (1333235093,), (1333235096,), (1333235299,), (1333235552,), (1333235792,), (1333236085,), (1333236335,), (1333236338,), (1333236473,), (1333236476,), (1333236478,), (1333236683,), (1333236692,), (1333236726,), (1333236968,), (1333237210,), (1333237411,), (1333237430,), (1333237446,), (1333237460,), (1333237467,), (1333237490,), (1333237580,), (1333237591,), (1333237670,), (1333237672,), (1333237675,), (1333237679,), (1333237726,), (1333237863,), (1333237858,), (1333237860,), (1333237905,), (1333237907,), (1333237953,), (1333238082,), (1333238101,), (1333238194,), (1333238202,), (1333238295,), (1333238296,), (1333238349,), (1333238448,), (1333238585,), (1333240284,), (1333242324,), (1333242306,), (1333242415,), (1333242417,), (1333242531,), (1333242642,), (1333242647,), (1333242892,), (1333242896,), (1333242936,), (1333242937,), (1333243003,), (1333243086,), (1333243095,), (1333243096,), (1333243114,), (1333243226,), (1333243229,), (1333243232,), (1333243239,), (1333243242,), (1333243247,), (1333243400,), (1333243423,), (1333243447,), (1333243557,), (1333243561,), (1333243563,), (1333243566,), (1333243849,), (1333243883,), (1333243896,), (1333243901,), (1333243949,), (1333243941,), (1333243944,), (1333243947,), (1333244006,), (1333244010,), (1333244013,), (1333244095,), (1333244097,), (1333244100,), (1333244101,), (1333244117,), (1333244206,), (1333244210,), (1333244212,), (1333244244,), (1333244270,), (1333244327,), (1333244977,), (1333245110,), (1333245209,), (1333246099,), (1333246170,), (1333247727,), (1333247879,), (1333248027,), (1333248202,), (1333248336,), (1333248447,), (1333248958,), (1333249041,), (1333249123,), (1333249193,), (1333249282,), (1333249367,), (1333249964,), (1333250038,), (1333250090,), (1333250157,), (1333250201,), (1333250470,), (1333250472,), (1333250540,), (1333250574,), (1333250687,), (1333250758,), (1333250823,), (1333250888,), (1333250941,), (1333251271,), (1333251343,), (1333251383,), (1333251439,), (1333251831,), (1333251835,), (1333251838,), (1333251846,), (1333251851,), (1333252196,), (1333252206,), (1333252216,), (1333252220,), (1333252225,), (1333261309,), (1333261505,), (1333261536,), (1333261540,), (1333261545,), (1333261550,), (1333261923,), (1333261935,), (1333261939,), (1333261947,), (1333261994,), (1333262076,), (1333262080,), (1333262192,), (1333262230,), (1333262237,), (1333262302,), (1333262306,), (1333262311,), (1333262323,), (1333262335,), (1333262344,), (1333262707,), (1333262809,), (1333262947,), (1333263031,), (1333263226,), (1333263382,), (1333263626,), (1333263630,), (1333263633,), (1333264062,), (1333264067,), (1333264080,), (1333264083,), (1333264141,), (1333264146,), (1333264147,), (1333264153,), (1333264161,), (1333264166,), (1333264226,), (1333264247,), (1333264252,), (1333264258,), (1333264261,), (1333264295,), (1333264299,), (1333264303,), (1333264330,), (1333264424,), (1333264529,), (1333264707,), (1333264742,), (1333264788,), (1333264791,), (1333264839,), (1333264840,), (1333264841,), (1333264842,), (1333264857,), (1333264862,), (1333264930,), (1333264934,), (1333264938,), (1333265802,), (1333265195,), (1333265257,), (1333265431,), (1333265486,), (1333265496,), (1333265533,), (1333265715,), (1333265726,), (1333265730,), (1333265786,), (1333265813,), (1333265815,), (1333265818,), (1333265821,), (1333265826,), (1333265860,), (1333265862,), (1333265864,), (1333265877,), (1333265884,), (1333265889,), (1333266159,), (1333266248,), (1333266250,), (1333266253,), (1333266257,), (1333266341,), (1333266377,), (1333266386,), (1333266395,), (1333266401,), (1333266414,), (1333266616,), (1333266620,), (1333266623,), (1333266627,), (1333266634,), (1333266755,), (1333266769,), (1333266771,), (1333266773,), (1333267177,), (1333267197,), (1333267201,), (1333267205,), (1333267209,), (1333267212,), (1333267247,), (1333267250,), (1333267251,), (1333267255,), (1333267317,), (1333267323,), (1333267389,), (1333267405,), (1333267409,), (1333267444,), (1333267486,), (1333267489,), (1333267498,), (1333267586,), (1333267897,), (1333267938,), (1333267947,), (1333267997,), (1333268010,), (1333268029,), (1333268122,), (1333268128,), (1333268133,), (1333268139,), (1333268154,), (1333268386,), (1333268345,), (1333268582,), (1333268585,), (1333268589,), (1333268594,), (1333268600,), (1333268608,), (1333268628,), (1333268631,), (1333268635,), (1333268673,), (1333268829,), (1333268839,), (1333268842,), (1333268848,), (1333268851,), (1333268941,), (1333268945,), (1333268947,), (1333268949,), (1333268952,), (1333268954,), (1333269044,), (1333269047,), (1333269051,), (1333269391,), (1333269395,), (1333269396,), (1333269400,), (1333269458,), (1333269525,), (1333269622,), (1333269697,), (1333269716,), (1333269720,), (1333269765,), (1333270370,), (1333270360,), (1333270362,), (1333270364,), (1333270420,), (1333270425,), (1333270429,), (1333270431,), (1333270438,), (1333270446,), (1333271001,), (1333271032,), (1333271148,), (1333271391,), (1333271395,), (1333271399,), (1333271401,), (1333271407,), (1333271413,), (1333271572,), (1333271575,), (1333271577,), (1333271580,), (1333271644,), (1333271648,), (1333271652,), (1333271693,), (1333271738,), (1333271783,), (1333272022,), (1333272278,), (1333272465,), (1333272510,), (1333272513,), (1333272517,), (1333272569,), (1333272636,), (1333272827,), (1333272994,), (1333272999,), (1333273002,), (1333273003,), (1333273008,), (1333273013,), (1333273131,), (1333273135,), (1333273137,), (1333273141,), (1333273276,), (1333273280,), (1333273282,), (1333273285,), (1333273289,), (1333273294,), (1333273581,), (1333273584,), (1333273586,), (1333273632,), (1333273915,), (1333273917,), (1333273921,), (1333273924,), (1333273927,), (1333273967,), (1333273970,), (1333273972,), (1333273975,), (1333274036,), (1333274038,), (1333274041,), (1333274044,), (1333274051,), (1333274054,), (1333274125,), (1333274104,), (1333274108,), (1333274110,), (1333274112,), (1333274161,), (1333274164,), (1333274167,), (1333274171,), (1333274175,), (1333274181,), (1333274452,), (1333274455,), (1333274456,), (1333274557,), (1333274581,), (1333274777,), (1333274781,), (1333274783,), (1333274786,), (1333274790,), (1333274794,), (1333274878,), (1333274887,), (1333274897,), (1333275000,), (1333275055,), (1333275144,), (1333275216,), (1333275279,), (1333275347,), (1333275552,), (1333275555,), (1333275557,), (1333275558,), (1333275772,), (1333275843,), (1333275934,), (1333276022,), (1333276095,), (1333276099,), (1333276277,), (1333276278,), (1333276501,), (1333276757,), (1333277010,), (1333277443,), (1333277552,), (1333277656,), (1333277658,), (1333277662,), (1333277970,), (1333277973,), (1333277977,), (1333277983,), (1333277988,), (1333277993,), (1333278212,), (1333278255,), (1333278259,), (1333278648,), (1333278649,), (1333278650,), (1333278651,), (1333278655,), (1333278659,), (1333278698,), (1333278701,), (1333278704,), (1333278707,), (1333278710,), (1333278749,), (1333278752,), (1333278820,), (1333278823,), (1333278827,), (1333278832,), (1333278931,), (1333278918,), (1333278922,), (1333278927,), (1333279029,), (1333279032,), (1333279035,), (1333279094,), (1333279187,), (1333279502,), (1333279505,), (1333279572,), (1333279610,), (1333279614,), (1333279620,), (1333279764,), (1333279767,), (1333279770,), (1333279775,), (1333279913,), (1333279916,), (1333279919,), (1333279925,), (1333279936,), (1333279941,), (1333279988,), (1333279990,), (1333279992,), (1333279993,), (1333280062,), (1333280076,), (1333280191,), (1333280194,), (1333280198,), (1333280503,), (1333280507,), (1333280514,), (1333280520,), (1333280525,), (1333280535,), (1333280637,), (1333280641,), (1333280644,), (1333280646,), (1333280691,), (1333280694,), (1333280696,), (1333280770,), (1333281709,), (1333281712,), (1333281716,), (1333281719,), (1333281721,), (1333281725,), (1333282208,), (1333282256,), (1333282287,), (1333282298,), (1333282816,), (1333282871,), (1333282872,), (1333282874,), (1333282877,), (1333282965,), (1333283489,), (1333283495,), (1333283500,), (1333283556,), (1333283560,), (1333283565,), (1333283569,), (1333283573,), (1333283623,), (1333283604,), (1333283609,), (1333283614,), (1333283619,), (1333283813,), (1333283819,), (1333283828,), (1333283830,), (1333284163,), (1333284177,), (1333284196,), (1333284199,), (1333284250,), (1333284264,), (1333284560,), (1333284562,), (1333284563,), (1333284613,), (1333284619,), (1333284623,), (1333284673,), (1333284676,), (1333284680,), (1333284682,), (1333284823,), (1333284831,), (1333284834,), (1333284835,), (1333284840,), (1333284889,), (1333285145,), (1333285164,), (1333285167,), (1333285171,), (1333285176,), (1333285323,), (1333285326,), (1333285327,), (1333285474,), (1333285476,), (1333285478,), (1333285481,), (1333285483,), (1333285662,), (1333285664,), (1333285667,), (1333285670,), (1333285678,), (1333285685,), (1333285718,), (1333285721,), (1333285724,), (1333285849,), (1333285854,), (1333285858,), (1333285859,), (1333285863,), (1333285867,), (1333285947,), (1333285980,), (1333285983,), (1333285987,), (1333286024,), (1333286028,), (1333286165,), (1333286150,), (1333286154,), (1333286157,), (1333286161,), (1333286659,), (1333286770,), (1333287001,), (1333287014,), (1333287017,), (1333287063,), (1333287357,), (1333287442,), (1333287484,), (1333287487,), (1333287555,), (1333287743,), (1333287839,), (1333287843,), (1333287846,), (1333287880,), (1333287993,), (1333287996,), (1333288043,), (1333288047,), (1333288099,), (1333288217,), (1333288221,), (1333288294,), (1333288300,), (1333288321,), (1333288466,), (1333288473,), (1333288481,), (1333288585,), (1333288587,), (1333288648,), (1333288682,), (1333288824,), (1333288828,), (1333288829,), (1333288879,), (1333288884,), (1333288912,), (1333289091,), (1333289118,), (1333289167,), (1333289173,), (1333289432,), (1333289434,), (1333289437,), (1333289439,), (1333289530,), (1333289582,), (1333289585,), (1333289589,), (1333289638,), (1333289641,), (1333289643,), (1333289646,), (1333289649,), (1333289690,), (1333289684,), (1333289688,), (1333289836,), (1333289899,), (1333289973,), (1333290046,), (1333290207,), (1333290248,), (1333290261,), (1333290264,), (1333290288,), (1333290293,), (1333290458,), (1333290511,), (1333290529,), (1333290533,), (1333290542,), (1333290650,), (1333290666,), (1333290708,), (1333291279,), (1333291339,), (1333291342,), (1333291345,), (1333291400,), (1333291567,), (1333291610,), (1333291615,), (1333291621,), (1333291626,), (1333291629,), (1333291926,), (1333291944,), (1333291998,), (1333292053,), (1333292279,), (1333292281,), (1333292282,), (1333292284,), (1333292286,), (1333292499,), (1333292502,), (1333292505,), (1333292508,), (1333292511,), (1333292580,), (1333292595,), (1333292753,), (1333292825,), (1333292844,), (1333292851,), (1333292860,), (1333292932,), (1333293050,), (1333293052,), (1333293056,), (1333293059,), (1333293061,), (1333293065,), (1333293093,), (1333293095,), (1333293097,), (1333293138,), (1333293142,), (1333293145,), (1333293147,), (1333293273,), (1333293229,), (1333293231,), (1333293233,), (1333293258,), (1333293650,), (1333293654,), (1333293658,), (1333293723,), (1333293873,), (1333294037,), (1333294215,), (1333294220,), (1333294223,), (1333294224,), (1333294226,), (1333294229,), (1333294261,), (1333294263,), (1333294265,), (1333295665,), (1333295668,), (1333295745,), (1333295817,), (1333296441,), (1333296470,), (1333297208,), (1333297213,), (1333297280,), (1333297284,), (1333297289,), (1333297303,), (1333297304,), (1333297355,), (1333297369,), (1333297390,), (1333297391,), (1333297606,), (1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,), (1333454403,), (1333454882,), (1333454927,), (1333454931,), (1333454935,), (1333455108,), (1333455111,), (1333455391,), (1333455879,), (1333456948,), (1333456951,), (1333456980,), (1333457019,), (1333457231,), (1333457738,), (1333457739,), (1333457773,), (1333457845,), (1333457925,), (1333458887,), (1333459073,), (1333460202,), (1333460216,), (1333460218,), (1333460221,), (1333460657,), (1333460746,), (1333460752,), (1333460777,), (1333461116,), (1333460988,), (1333461063,), (1333461097,), (1333461108,), (1333461555,), (1333461596,), (1333461695,), (1333462374,), (1333462378,), (1333462381,), (1333462386,), (1333462391,), (1333462617,), (1333462620,), (1333462624,), (1333462628,), (1333462632,), (1333462638,), (1333462668,), (1333462671,), (1333462672,), (1333462674,), (1333462817,), (1333463154,), (1333463157,), (1333463159,), (1333463570,), (1333463603,), (1333463710,), (1333463733,), (1333463738,), (1333463743,), (1333463763,), (1333464094,), (1333464171,), (1333464175,), (1333464177,), (1333464180,), (1333464185,), (1333464189,), (1333464219,), (1333464212,), (1333464215,), (1333464386,), (1333464389,), (1333464392,), (1333464394,), (1333464397,), (1333464402,), (1333465203,), (1333465291,), (1333465460,), (1333465530,), (1333465922,), (1333465926,), (1333465930,), (1333465933,), (1333465939,), (1333466354,), (1333466375,), (1333466381,), (1333466385,), (1333466437,), (1333466564,), (1333466565,), (1333466618,), (1333466621,), (1333466624,), (1333466831,), (1333466835,), (1333466842,), (1333466851,), (1333466862,), (1333466921,), (1333466925,), (1333466933,), (1333467065,), (1333467068,), (1333467070,), (1333467178,), (1333467230,), (1333467234,), (1333467238,), (1333467241,), (1333467335,), (1333467347,), (1333467385,), (1333467387,), (1333467399,), (1333467424,), (1333467462,), (1333467466,), (1333467469,), (1333467480,), (1333467514,), (1333467534,), (1333467700,), (1333467739,), (1333467741,), (1333467745,), (1333467794,), (1333467798,), (1333467825,), (1333467828,), (1333467833,), (1333467837,), (1333467847,), (1333467854,), (1333467890,), (1333467879,), (1333467884,), (1333467992,), (1333468042,), (1333468149,), (1333468207,), (1333468218,), (1333468224,), (1333468398,), (1333468401,), (1333468402,), (1333468404,), (1333468407,), (1333468411,), (1333468463,), (1333468466,), (1333468469,), (1333468643,), (1333468646,), (1333468647,), (1333468650,), (1333468653,), (1333468760,), (1333468763,), (1333468818,), (1333468827,), (1333468833,), (1333469051,), (1333469055,), (1333469058,), (1333469062,), (1333469067,), (1333469075,), (1333469100,), (1333469103,), (1333469149,), (1333469152,), (1333469177,), (1333469181,), (1333469784,), (1333469851,), (1333469895,), (1333469946,), (1333470016,), (1333470054,), (1333470543,), (1333470629,), (1333471588,), (1333471657,), (1333471934,), (1333471937,), (1333471942,), (1333471951,), (1333472157,), (1333472247,), (1333472371,), (1333472456,), (1333472462,), (1333472467,), (1333472477,), (1333472518,), (1333472523,), (1333472529,), (1333472535,), (1333472555,), (1333472548,), (1333472551,), (1333472872,), (1333472874,), (1333472901,), (1333472925,), (1333472927,), (1333472968,), (1333472998,), (1333473023,), (1333473033,), (1333473045,), (1333473049,), (1333473052,), (1333473222,), (1333473224,), (1333473226,), (1333473308,), (1333473310,), (1333473317,), (1333473320,), (1333473325,), (1333473337,), (1333473432,), (1333473437,), (1333473480,), (1333473485,), (1333473859,), (1333473861,), (1333473866,), (1333473872,), (1333473875,), (1333474007,), (1333474089,), (1333474190,), (1333474309,), (1333474347,), (1333474400,), (1333474966,), (1333474984,), (1333475146,), (1333475148,), (1333475150,), (1333475151,), (1333475155,), (1333475208,), (1333475666,), (1333475679,), (1333475717,), (1333475736,), (1333475738,), (1333475741,), (1333475898,), (1333475921,), (1333476121,), (1333476179,), (1333476183,), (1333476186,), (1333476217,), (1333476224,), (1333476276,), (1333476279,), (1333476282,), (1333476286,), (1333476432,), (1333476378,), (1333476425,), (1333476428,), (1333476742,), (1333476766,), (1333476768,), (1333476804,), (1333476808,), (1333476841,), (1333476849,), (1333476850,), (1333476982,), (1333476987,), (1333476993,), (1333477073,), (1333477158,), (1333477161,), (1333477166,), (1333477172,), (1333477181,), (1333477220,), (1333477229,), (1333477238,), (1333477243,), (1333477256,), (1333477261,), (1333477459,), (1333477461,), (1333477483,), (1333477503,), (1333477552,), (1333477555,), (1333477557,), (1333477558,), (1333477560,), (1333477585,), (1333477588,), (1333477590,), (1333477592,), (1333477594,), (1333477597,), (1333477633,), (1333477637,), (1333477640,), (1333477644,), (1333477647,), (1333477749,), (1333477753,), (1333477757,), (1333477783,), (1333477788,), (1333477792,), (1333477795,), (1333477799,), (1333477821,), (1333477823,), (1333477828,), (1333477834,), (1333477839,), (1333477884,), (1333477874,), (1333477878,), (1333477879,), (1333478087,), (1333478091,), (1333478093,), (1333478096,), (1333478150,), (1333478155,), (1333478158,), (1333478161,), (1333478163,), (1333478198,), (1333478202,), (1333478207,), (1333478212,), (1333478214,), (1333478218,), (1333478249,), (1333478253,), (1333478256,), (1333478258,), (1333478285,), (1333478291,), (1333478297,), (1333478301,), (1333478303,), (1333478470,), (1333478472,), (1333478474,), (1333478478,), (1333478481,), (1333478562,), (1333478569,), (1333478572,), (1333478595,), (1333478637,), (1333478701,), (1333478703,), (1333478704,), (1333478709,), (1333478715,), (1333478873,), (1333478905,), (1333478907,), (1333478910,), (1333478949,), (1333478951,), (1333478953,), (1333478955,), (1333479011,), (1333479016,), (1333479018,), (1333479020,), (1333479093,), (1333479116,), (1333479119,), (1333479121,), (1333479124,), (1333479130,), (1333479157,), (1333479160,), (1333479164,), (1333479193,), (1333479194,), (1333479199,), (1333479202,), (1333479215,), (1333479324,), (1333479311,), (1333479313,), (1333479315,), (1333479317,), (1333479321,), (1333479408,), (1333479460,), (1333479462,), (1333479591,), (1333479712,), (1333479845,), (1333479926,), (1333479968,), (1333479977,), (1333480248,), (1333480250,), (1333480253,), (1333480255,), (1333480346,), (1333480347,), (1333480349,), (1333480351,), (1333480783,), (1333480851,), (1333480924,), (1333481030,), (1333481210,), (1333482040,), (1333482113,), (1333482193,), (1333482266,), (1333482340,), (1333482483,), (1333482548,), (1333482719,), (1333482769,), (1333482779,), (1333482797,), (1333482882,), (1333482887,), (1333482891,), (1333482956,), (1333483490,), (1333483492,), (1333483496,), (1333483499,), (1333483508,), (1333483575,), (1333483668,), (1333483670,), (1333483672,), (1333483693,), (1333483705,), (1333483799,), (1333483805,), (1333483814,), (1333484006,), (1333484038,), (1333484069,), (1333484122,), (1333484124,), (1333484130,), (1333567220,), (1333164289,), (1333167335,), (1333167339,), (1333167343,), (1333167348,), (1333167352,), (1333167367,), (1333167446,), (1333167449,), (1333167527,), (1333167596,), (1333167664,), (1333167675,), (1333167695,), (1333167699,), (1333167750,), (1333167813,), (1333167820,), (1333167824,), (1333167830,), (1333167849,), (1333167850,), (1333167857,), (1333167858,), (1333167862,), (1333168030,), (1333168088,), (1333168104,), (1333168111,), (1333168116,), (1333168127,), (1333168137,), (1333183289,), (1333183417,), (1333183568,), (1333183762,), (1333183920,), (1333184342,), (1333184408,), (1333184499,), (1333184569,), (1333184574,), (1333184628,), (1333184821,), (1333184826,), (1333184837,), (1333184849,), (1333184861,), (1333184931,), (1333184973,), (1333184978,), (1333185306,), (1333185313,), (1333185314,), (1333185315,), (1333185319,), (1333185373,), (1333185380,), (1333185476,), (1333185489,), (1333185494,), (1333185536,), (1333185547,), (1333185558,), (1333185574,), (1333185578,), (1333185581,), (1333185695,), (1333164286,), (1333167923,), (1333167956,), (1333168022,), (1333168027,), (1333168029,), (1333168149,), (1333168154,), (1333168157,), (1333168160,), (1333168163,), (1333168165,), (1333168211,), (1333168214,), (1333168216,), (1333168220,), (1333168221,), (1333168225,), (1333181146,), (1333181179,), (1333181181,), (1333181183,), (1333181188,), (1333181190,), (1333181192,), (1333181225,), (1333181230,), (1333181234,), (1333181237,), (1333181242,), (1333181243,), (1333181289,), (1333181293,), (1333181309,), (1333181317,), (1333181344,), (1333181354,), (1333181382,), (1333181437,), (1333181486,), (1333181552,), (1333181628,), (1333181860,), (1333181867,), (1333181910,), (1333181949,), (1333181968,), (1333182026,), (1333182387,), (1333182447,), (1333182455,), (1333182457,), (1333182459,), (1333182460,), (1333182461,), (1333182717,), (1333182725,), (1333183189,), (1333183227,), (1333183237,), (1333164281,), (1333164284,), (1333168176,), (1333168178,), (1333168184,), (1333168190,), (1333168197,), (1333168246,), (1333168248,), (1333168253,), (1333168256,), (1333168278,), (1333168281,), (1333168284,), (1333168301,), (1333168324,), (1333168331,), (1333168332,), (1333168344,), (1333168365,), (1333168392,), (1333168412,), (1333168415,), (1333168420,), (1333168439,), (1333168462,), (1333168467,), (1333168470,), (1333168473,), (1333168476,), (1333168479,), (1333178781,), (1333178784,), (1333178936,), (1333179699,), (1333179908,), (1333179916,), (1333179930,), (1333179938,), (1333179957,), (1333179973,), (1333180200,), (1333180298,), (1333180338,), (1333180350,), (1333180657,), (1333180686,), (1333180722,), (1333180726,), (1333180730,), (1333180734,), (1333180826,), (1333180829,), (1333180838,), (1333180841,), (1333180849,), (1333180861,), (1333180863,), (1333180865,), (1333180920,), (1333180957,), (1333180976,), (1333180983,), (1333180988,), (1333180995,), (1333180999,), (1333181015,), (1333181019,), (1333181023,), (1333181024,), (1333181028,), (1333181033,), (1333181069,), (1333181076,), (1333181079,), (1333181080,), (1333181083,), (1333181086,), (1333181110,), (1333181140,), (1333181142,), (1333164272,), (1333164279,), (1333168489,), (1333168496,), (1333168539,), (1333168544,), (1333168546,), (1333168548,), (1333168619,), (1333168623,), (1333168629,), (1333168634,), (1333168641,), (1333168643,), (1333168713,), (1333168717,), (1333168720,), (1333168724,), (1333168727,), (1333168731,), (1333168739,), (1333168740,), (1333168839,), (1333168844,), (1333168849,), (1333168871,), (1333168879,), (1333168921,), (1333168922,), (1333168924,), (1333168951,), (1333168956,), (1333168984,), (1333168989,), (1333168992,), (1333168994,), (1333169143,), (1333169282,), (1333169741,), (1333169746,), (1333169750,), (1333169755,), (1333169758,), (1333169847,), (1333170008,), (1333170128,), (1333170213,), (1333170221,), (1333170224,), (1333170262,), (1333170315,), (1333170320,), (1333170404,), (1333170425,), (1333170432,), (1333170447,), (1333170474,), (1333170477,), (1333170480,), (1333170481,), (1333170526,), (1333170535,), (1333545932,), (1333546046,), (1333546110,), (1333546162,), (1333546164,), (1333546166,), (1333546189,), (1333565702,), (1333565705,), (1333565733,), (1333565805,), (1333565869,), (1333565907,), (1333565910,), (1333565913,), (1333565916,), (1333565920,), (1333565924,), (1333565969,), (1333565977,), (1333565984,), (1333565986,), (1333566014,), (1333566015,), (1333566046,), (1333566050,), (1333566054,), (1333566058,), (1333566063,), (1333566066,), (1333566108,), (1333566112,), (1333566114,), (1333566116,), (1333566121,), (1333566123,), (1333566164,), (1333566166,), (1333566170,), (1333566174,), (1333566177,), (1333566180,), (1333566262,), (1333566266,), (1333566269,), (1333566272,), (1333566274,), (1333566276,), (1333566370,), (1333566378,), (1333566393,), (1333566395,), (1333566398,), (1333566408,), (1333566446,), (1333566448,), (1333566449,), (1333566450,), (1333566451,), (1333566507,), (1333566658,), (1333566663,), (1333566675,), (1333566740,), (1333566750,), (1333566840,), (1333567127,), (1333567146,), (1333567175,), (1333567178,), (1333567180,), (1333567183,), (1333567218,), (1333545928,), (1333546356,), (1333546514,), (1333546518,), (1333546524,), (1333546528,), (1333546530,), (1333546556,), (1333546559,), (1333546560,), (1333546561,), (1333546562,), (1333546565,), (1333546614,), (1333546630,), (1333546635,), (1333546638,), (1333546648,), (1333546654,), (1333546661,), (1333546663,), (1333546664,), (1333546665,), (1333546666,), (1333546668,), (1333549505,), (1333549703,), (1333549929,), (1333550153,), (1333550228,), (1333550231,), (1333564440,), (1333564443,), (1333564451,), (1333564457,), (1333564463,), (1333564464,), (1333564492,), (1333564493,), (1333564495,), (1333564496,), (1333564497,), (1333564499,), (1333564522,), (1333564526,), (1333564529,), (1333564532,), (1333564539,), (1333564549,), (1333564834,), (1333564868,), (1333564871,), (1333564874,), (1333564927,), (1333564952,), (1333565054,), (1333565056,), (1333565057,), (1333565141,), (1333565145,), (1333565198,), (1333565323,), (1333565400,), (1333565472,), (1333565549,), (1333565570,), (1333565572,), (1333565699,), (1333545921,), (1333545924,), (1333546674,), (1333546677,), (1333546680,), (1333546683,), (1333546685,), (1333546793,), (1333547008,), (1333547015,), (1333547016,), (1333547023,), (1333547027,), (1333547031,), (1333547107,), (1333547110,), (1333547147,), (1333547156,), (1333547162,), (1333547165,), (1333547196,), (1333547259,), (1333547282,), (1333547294,), (1333547337,), (1333547339,), (1333547395,), (1333547396,), (1333547397,), (1333547466,), (1333547470,), (1333547482,), (1333547519,), (1333547524,), (1333547529,), (1333547532,), (1333547534,), (1333547537,), (1333547597,), (1333547600,), (1333547605,), (1333547609,), (1333547613,), (1333547685,), (1333547687,), (1333547688,), (1333547708,), (1333547743,), (1333547759,), (1333548604,), (1333548607,), (1333548610,), (1333548612,), (1333548615,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31012025': {'nb_upload': 36, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20102932]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104] map_info['map_portfolio_photo'] : {20102932: [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104]} final : True mtd_id 4302 list_pids : [1333230493, 1333230408, 1333230393, 1333230018, 1333230017, 1333230015, 1333230012, 1333229935, 1333229749, 1333229695, 1333228421, 1333228073, 1333228067, 1333228064, 1333227991, 1333227968, 1333227934, 1333227929, 1333227911, 1333227799, 1333227796, 1333227749, 1333227745, 1333227741, 1333227737, 1333227732, 1333227634, 1333227631, 1333227623, 1333227448, 1333227429, 1333227409, 1333227384, 1333227366, 1333227325, 1333227104] Looping around the photos to save general results len do output : 1 /20102932Didn'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, '2536660') ('4302', '20102932', '1333230493', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230408', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230393', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230018', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230017', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230015', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333230012', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229935', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229749', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333229695', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228421', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228073', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228067', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333228064', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227991', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227968', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227934', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227929', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227911', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227799', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227796', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227749', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227745', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227741', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227737', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227732', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227634', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227631', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227623', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227448', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227429', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227409', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227384', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227366', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227325', None, None, None, None, None, '2536660') ('4302', None, None, None, None, None, None, None, '2536660') ('4302', '20102932', '1333227104', None, None, None, None, None, '2536660') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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, '20102932', 'None', None, None, None, None, '2536660'), ('4302', '20102932', '1333230493', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230408', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230393', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230018', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230017', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230015', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333230012', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333229935', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333229749', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333229695', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228421', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228073', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228067', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333228064', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227991', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227968', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227934', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227929', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227911', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227799', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227796', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227749', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227745', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227741', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227737', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227732', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227634', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227631', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227623', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227448', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227429', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227409', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227384', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227366', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227325', None, None, None, None, None, '2536660'), ('4302', '20102932', '1333227104', None, None, None, None, None, '2536660')] time used for this insertion : 0.019184112548828125 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.0174224376678467 time spend to save output : 0.01959824562072754 total time spend for step 5 : 3.037020683288574 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 (2536660) 3.19user 2.30system 0:18.25elapsed 30%CPU (0avgtext+0avgdata 169868maxresident)k 408inputs+30080outputs (5major+91730minor)pagefaults 0swaps