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 : 3139560 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 (2622180) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2622180) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866040 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2622180'] with mtr_portfolio_ids : ['20866040'] and first list_photo_ids : [] new path : /proc/3139560/ Name: python3 Umask: 0002 State: R (running) Tgid: 3139560 Ngid: 0 Pid: 3139560 PPid: 3139559 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3139560 NSpid: 3139560 NSpgid: 3138080 NSsid: 3138080 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98280 kB VmRSS: 98280 kB RssAnon: 59756 kB RssFile: 38524 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 560 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 42 nonvoluntary_ctxt_switches: 288 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3139560', 'Ngid': '0', 'Pid': '3139560', 'PPid': '3139559', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3139560', 'NSpid': '3139560', 'NSpgid': '3138080', 'NSsid': '3138080', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98280 kB', 'VmRSS': '98280 kB', 'RssAnon': '59756 kB', 'RssFile': '38524 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '560 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '42', 'nonvoluntary_ctxt_switches': '288'} ('datou_batch_current', '3139560', '1106844', '0', '1106844', '865592', '98280', b'', 'marlene', '2622180') 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 (20866040) 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 (2622180 ) ) 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 (20866040) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339842371, 'portfolio_id': 20866040}, {'photo_id': 1339841133, 'portfolio_id': 20866040}, {'photo_id': 1339841077, 'portfolio_id': 20866040}, {'photo_id': 1339841072, 'portfolio_id': 20866040}, {'photo_id': 1339841070, 'portfolio_id': 20866040}, {'photo_id': 1339841066, 'portfolio_id': 20866040}, {'photo_id': 1339841063, 'portfolio_id': 20866040}, {'photo_id': 1339841041, 'portfolio_id': 20866040}, {'photo_id': 1339841040, 'portfolio_id': 20866040}, {'photo_id': 1339841039, 'portfolio_id': 20866040}, {'photo_id': 1339841038, 'portfolio_id': 20866040}, {'photo_id': 1339841003, 'portfolio_id': 20866040}, {'photo_id': 1339840987, 'portfolio_id': 20866040}, {'photo_id': 1339840762, 'portfolio_id': 20866040}, {'photo_id': 1339840759, 'portfolio_id': 20866040}, {'photo_id': 1339840756, 'portfolio_id': 20866040}, {'photo_id': 1339840500, 'portfolio_id': 20866040}, {'photo_id': 1339840493, 'portfolio_id': 20866040}, {'photo_id': 1339840487, 'portfolio_id': 20866040}, {'photo_id': 1339840484, 'portfolio_id': 20866040}, {'photo_id': 1339840481, 'portfolio_id': 20866040}, {'photo_id': 1339840478, 'portfolio_id': 20866040}, {'photo_id': 1339839670, 'portfolio_id': 20866040}, {'photo_id': 1339839669, 'portfolio_id': 20866040}, {'photo_id': 1339839666, 'portfolio_id': 20866040}, {'photo_id': 1339839647, 'portfolio_id': 20866040}, {'photo_id': 1339839646, 'portfolio_id': 20866040}, {'photo_id': 1339839644, 'portfolio_id': 20866040}, {'photo_id': 1339839638, 'portfolio_id': 20866040}, {'photo_id': 1339839634, 'portfolio_id': 20866040}, {'photo_id': 1339839626, 'portfolio_id': 20866040}, {'photo_id': 1339839614, 'portfolio_id': 20866040}, {'photo_id': 1339839607, 'portfolio_id': 20866040}, {'photo_id': 1339839552, 'portfolio_id': 20866040}, {'photo_id': 1339839550, 'portfolio_id': 20866040}, {'photo_id': 1339839125, 'portfolio_id': 20866040}, {'photo_id': 1339839119, 'portfolio_id': 20866040}, {'photo_id': 1339839117, 'portfolio_id': 20866040}, {'photo_id': 1339839114, 'portfolio_id': 20866040}, {'photo_id': 1339839111, 'portfolio_id': 20866040}] map_portfolio_id_photo_id: {20866040: [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111]} ##### 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.2856712341308594 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Feb 28 05:40:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20866040) 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 : 20866040 get user id for portfolio 20866040 get sub ptf for main ptf 20866040, type 3726 and hashtags ['mal_croppe', 'plastique', 'metal', 'cartonnette', 'environnement', 'Carton_brun', 'papier', 'Carton_gris', 'kraft', 'autre_refus', 'flou', 'Teint_Dans_La_Masse'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20866040 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','plastique','metal','cartonnette','environnement','Carton_brun','papier','Carton_gris','kraft','autre_refus','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20866040 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','plastique','metal','cartonnette','environnement','Carton_brun','papier','Carton_gris','kraft','autre_refus','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 20866040, 'sub_port_id': 20866053, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497897, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}, 'plastique': {'main_port_id': 20866040, 'sub_port_id': 20866054, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497898, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}, 'flou': {'main_port_id': 20866040, 'sub_port_id': 20866055, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497899, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}, 'cartonnette': {'main_port_id': 20866040, 'sub_port_id': 20866056, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497900, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}, 'Carton_brun': {'main_port_id': 20866040, 'sub_port_id': 20866060, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497901, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}, 'autre_refus': {'main_port_id': 20866040, 'sub_port_id': 20866064, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497902, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}, 'kraft': {'main_port_id': 20866040, 'sub_port_id': 20866070, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497903, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}, 'mal_croppe': {'main_port_id': 20866040, 'sub_port_id': 20866072, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497904, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}, 'environnement': {'main_port_id': 20866040, 'sub_port_id': 20866073, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497905, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}, 'Carton_gris': {'main_port_id': 20866040, 'sub_port_id': 20866074, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497906, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}, 'metal': {'main_port_id': 20866040, 'sub_port_id': 20866075, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497907, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}, 'Teint_Dans_La_Masse': {'main_port_id': 20866040, 'sub_port_id': 20866076, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497908, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 55)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866053 , 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=20866040 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 (20866053) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866054 , 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=20866040 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 (20866054) result : ((1339840567,), (1339840569,), (1339841101,), (1339841102,), (1339841127,), (1339846876,), (1339846877,), (1339846878,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866055 , 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=20866040 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 (20866055) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866056 , 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=20866040 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 (20866056) result : ((1339840476,), (1339840504,), (1339840505,), (1339841047,), (1339841100,), (1339841123,), (1339846853,), (1339847012,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866060 , 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=20866040 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 (20866060) result : ((1339840477,), (1339840517,), (1339840519,), (1339840521,), (1339840523,), (1339841048,), (1339841049,), (1339841050,), (1339841051,), (1339841052,), (1339841057,), (1339841085,), (1339841086,), (1339841124,), (1339841125,), (1339841126,), (1339846874,), (1339847016,), (1339847017,), (1339847018,), (1339847019,), (1339847020,), (1339847021,), (1339847030,), (1339847031,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866064 , 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=20866040 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 (20866064) result : ((1339840469,), (1339840470,), (1339841084,), (1339841092,), (1339841093,), (1339841122,), (1339846795,), (1339846796,), (1339847022,), (1339847023,), (1339847024,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866070 , 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=20866040 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 (20866070) result : ((1339847033,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866072 , 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=20866040 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 (20866072) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866073 , 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=20866040 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 (20866073) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866074 , 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=20866040 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 (20866074) result : ((1339840472,), (1339840473,), (1339840474,), (1339840475,), (1339840502,), (1339840503,), (1339841046,), (1339841055,), (1339841056,), (1339841095,), (1339841096,), (1339841097,), (1339841098,), (1339841099,), (1339846800,), (1339846802,), (1339846804,), (1339846806,), (1339846808,), (1339847008,), (1339847009,), (1339847010,), (1339847025,), (1339847026,), (1339847027,), (1339847028,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866075 , 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=20866040 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 (20866075) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20866076 , 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=20866040 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 (20866076) result : ((1339840466,), (1339840467,), (1339840501,), (1339841042,), (1339841043,), (1339841044,), (1339841045,), (1339841053,), (1339841054,), (1339841083,), (1339841089,), (1339841090,), (1339841091,), (1339841118,), (1339841119,), (1339841120,), (1339841121,), (1339846790,), (1339846791,), (1339846792,), (1339847002,), (1339847003,), (1339847004,), (1339847005,), (1339847006,), (1339847013,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20866040) result : ((1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,)) 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 (1339840500) and cspi.crop_hashtag_id = chi.id; 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`=20866040 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','plastique','metal','cartonnette','environnement','Carton_brun','papier','Carton_gris','kraft','autre_refus','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20866040 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','plastique','metal','cartonnette','environnement','Carton_brun','papier','Carton_gris','kraft','autre_refus','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 20866040, 'sub_port_id': 20866077, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497909, 'last_updated_at': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}, 'plastique': {'main_port_id': 20866040, 'sub_port_id': 20866078, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497910, 'last_updated_at': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}, 'flou': {'main_port_id': 20866040, 'sub_port_id': 20866079, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497911, 'last_updated_at': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}, 'cartonnette': {'main_port_id': 20866040, 'sub_port_id': 20866080, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497912, 'last_updated_at': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}, 'Carton_brun': {'main_port_id': 20866040, 'sub_port_id': 20866081, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497913, 'last_updated_at': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}, 'autre_refus': {'main_port_id': 20866040, 'sub_port_id': 20866082, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497914, 'last_updated_at': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}, 'kraft': {'main_port_id': 20866040, 'sub_port_id': 20866083, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497915, 'last_updated_at': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}, 'mal_croppe': {'main_port_id': 20866040, 'sub_port_id': 20866084, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497916, 'last_updated_at': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}, 'environnement': {'main_port_id': 20866040, 'sub_port_id': 20866085, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497917, 'last_updated_at': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}, 'Carton_gris': {'main_port_id': 20866040, 'sub_port_id': 20866086, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497918, 'last_updated_at': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}, 'metal': {'main_port_id': 20866040, 'sub_port_id': 20866087, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497919, 'last_updated_at': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 2, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 20866040, 'sub_port_id': 20866088, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13497920, 'last_updated_at': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 3, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 2, 48, 57)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866077,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866053 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866078,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866054 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866079,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866055 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866080,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866056 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866081,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866060 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866082,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866064 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866083,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866070 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866084,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866072 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866085,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866073 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866086,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866074 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866087,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866075 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20866088,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20866076 lien utilise dans velours : https://www.fotonower.com/velours/20866077,20866078,20866079,20866080,20866081,20866082,20866083,20866084,20866085,20866086,20866087,20866088?tags=papier,plastique,flou,cartonnette,Carton_brun,autre_refus,kraft,mal_croppe,environnement,Carton_gris,metal,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20866040]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111] map_info['map_portfolio_photo'] : {20866040: [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111]} final : False mtd_id 4302 list_pids : [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111] Looping around the photos to save general results len do output : 1 /20866040. 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, '2622180') ('4302', '20866040', '1339842371', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841133', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841077', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841072', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841070', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841066', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841063', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841041', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841040', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841039', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841038', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841003', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840987', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840762', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840759', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840756', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840500', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840493', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840487', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840484', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840481', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840478', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839670', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839669', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839666', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839647', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839646', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839644', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839638', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839634', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839626', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839614', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839607', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839552', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839550', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839125', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839119', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839117', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839114', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839111', None, None, None, None, None, '2622180') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20866040', "{'papier': 20866053, 'plastique': 20866054, 'flou': 20866055, 'cartonnette': 20866056, 'Carton_brun': 20866060, 'autre_refus': 20866064, 'kraft': 20866070, 'mal_croppe': 20866072, 'environnement': 20866073, 'Carton_gris': 20866074, 'metal': 20866075, 'Teint_Dans_La_Masse': 20866076}", None, None, None, None, '2622180'), ('4302', '20866040', '1339842371', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841133', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841077', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841072', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841070', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841066', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841063', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841041', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841040', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841039', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841038', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841003', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840987', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840762', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840759', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840756', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840500', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840493', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840487', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840484', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840481', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840478', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839670', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839669', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839666', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839647', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839646', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839644', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839638', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839634', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839626', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839614', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839607', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839552', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839550', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839125', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839119', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839117', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839114', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839111', None, None, None, None, None, '2622180')] time used for this insertion : 0.3414621353149414 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0922002792358398 time spend to save output : 0.3421952724456787 total time spend for step 1 : 1.4343955516815186 step2:final Fri Feb 28 05:40: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 (20866040) 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 20866040 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339839125,1339839119,1339839117,1339839114,1339839111,1339839614,1339839607,1339839552,1339839550,1339839647,1339839646,1339839644,1339839638,1339839634,1339839626,1339839670,1339839669,1339839666,1339840500,1339840493,1339840487,1339840484,1339840481,1339840478,1339840762,1339840759,1339840756,1339841041,1339841040,1339841039,1339841038,1339841003,1339840987,1339841072,1339841070,1339841066,1339841063,1339841077,1339842371,1339841133); 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([20866040]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} new output for save of step final : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111] map_info['map_portfolio_photo'] : {20866040: [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111]} final : False mtd_id 4302 list_pids : [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111] Looping around the photos to save general results len do output : 40 /1339842371.Didn't retrieve data . /1339841133.Didn't retrieve data . /1339841077.Didn't retrieve data . /1339841072.Didn't retrieve data . /1339841070.Didn't retrieve data . /1339841066.Didn't retrieve data . /1339841063.Didn't retrieve data . /1339841041.Didn't retrieve data . /1339841040.Didn't retrieve data . /1339841039.Didn't retrieve data . /1339841038.Didn't retrieve data . /1339841003.Didn't retrieve data . /1339840987.Didn't retrieve data . /1339840762.Didn't retrieve data . /1339840759.Didn't retrieve data . /1339840756.Didn't retrieve data . /1339840500.Didn't retrieve data . /1339840493.Didn't retrieve data . /1339840487.Didn't retrieve data . /1339840484.Didn't retrieve data . /1339840481.Didn't retrieve data . /1339840478.Didn't retrieve data . /1339839670.Didn't retrieve data . /1339839669.Didn't retrieve data . /1339839666.Didn't retrieve data . /1339839647.Didn't retrieve data . /1339839646.Didn't retrieve data . /1339839644.Didn't retrieve data . /1339839638.Didn't retrieve data . /1339839634.Didn't retrieve data . /1339839626.Didn't retrieve data . /1339839614.Didn't retrieve data . /1339839607.Didn't retrieve data . /1339839552.Didn't retrieve data . /1339839550.Didn't retrieve data . /1339839125.Didn't retrieve data . /1339839119.Didn't retrieve data . /1339839117.Didn't retrieve data . /1339839114.Didn't retrieve data . /1339839111.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, '2622180') ('4302', '20866040', '1339842371', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841133', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841077', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841072', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841070', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841066', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841063', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841041', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841040', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841039', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841038', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841003', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840987', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840762', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840759', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840756', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840500', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840493', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840487', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840484', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840481', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840478', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839670', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839669', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839666', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839647', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839646', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839644', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839638', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839634', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839626', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839614', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839607', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839552', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839550', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839125', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839119', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839117', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839114', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839111', None, None, None, None, None, '2622180') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20866040', '1339842371', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339841133', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339841077', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339841072', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339841070', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339841066', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339841063', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339841041', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339841040', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339841039', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339841038', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339841003', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339840987', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339840762', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339840759', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339840756', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339840500', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339840493', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339840487', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339840484', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339840481', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339840478', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839670', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839669', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839666', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839647', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839646', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839644', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839638', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839634', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839626', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839614', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839607', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839552', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839550', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839125', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839119', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839117', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839114', '0.10100114423755262', None, None, None, None, '2622180'), ('4302', '20866040', '1339839111', '0.10100114423755262', None, None, None, None, '2622180')] time used for this insertion : 0.03699851036071777 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07407474517822266 time spend to save output : 0.03887820243835449 total time spend for step 2 : 0.11295294761657715 step3:velours_tree Fri Feb 28 05:40: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 : {20866040: [{'papier': 20866053, 'plastique': 20866054, 'flou': 20866055, 'cartonnette': 20866056, 'Carton_brun': 20866060, 'autre_refus': 20866064, 'kraft': 20866070, 'mal_croppe': 20866072, 'environnement': 20866073, 'Carton_gris': 20866074, 'metal': 20866075, 'Teint_Dans_La_Masse': 20866076}]} input_args_next_step : {20866040: ()} output_args : {20866040: [{'papier': 20866053, 'plastique': 20866054, 'flou': 20866055, 'cartonnette': 20866056, 'Carton_brun': 20866060, 'autre_refus': 20866064, 'kraft': 20866070, 'mal_croppe': 20866072, 'environnement': 20866073, 'Carton_gris': 20866074, 'metal': 20866075, 'Teint_Dans_La_Masse': 20866076}]} args : 20866040 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 : ({'papier': 20866053, 'plastique': 20866054, 'flou': 20866055, 'cartonnette': 20866056, 'Carton_brun': 20866060, 'autre_refus': 20866064, 'kraft': 20866070, 'mal_croppe': 20866072, 'environnement': 20866073, 'Carton_gris': 20866074, 'metal': 20866075, 'Teint_Dans_La_Masse': 20866076},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20866040) 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([20866040]) 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.33616161346435547 time spend to save output : 8.511543273925781e-05 total time spend for step 3 : 0.3362467288970947 step4:send_mail_cod Fri Feb 28 05:40:32 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 : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} input_args_next_step : {1339842371: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339842371 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339841133 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339841077 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339841072 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339841070 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339841066 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339841063 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339841041 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339841040 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339841039 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339841038 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339841003 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339840987 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339840762 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339840759 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339840756 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339840500 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339840493 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339840487 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339840484 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339840481 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339840478 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839670 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839669 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839666 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839647 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839646 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839644 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839638 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839634 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839626 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839614 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839607 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839552 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839550 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839125 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839119 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839117 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839114 depend.output_id : 0 input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ()} output_args : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',)} args : 1339839111 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 : {20866040: [{'papier': 20866053, 'plastique': 20866054, 'flou': 20866055, 'cartonnette': 20866056, 'Carton_brun': 20866060, 'autre_refus': 20866064, 'kraft': 20866070, 'mal_croppe': 20866072, 'environnement': 20866073, 'Carton_gris': 20866074, 'metal': 20866075, 'Teint_Dans_La_Masse': 20866076}]} input_args_next_step : {1339842371: ('0.10100114423755262',), 1339841133: ('0.10100114423755262',), 1339841077: ('0.10100114423755262',), 1339841072: ('0.10100114423755262',), 1339841070: ('0.10100114423755262',), 1339841066: ('0.10100114423755262',), 1339841063: ('0.10100114423755262',), 1339841041: ('0.10100114423755262',), 1339841040: ('0.10100114423755262',), 1339841039: ('0.10100114423755262',), 1339841038: ('0.10100114423755262',), 1339841003: ('0.10100114423755262',), 1339840987: ('0.10100114423755262',), 1339840762: ('0.10100114423755262',), 1339840759: ('0.10100114423755262',), 1339840756: ('0.10100114423755262',), 1339840500: ('0.10100114423755262',), 1339840493: ('0.10100114423755262',), 1339840487: ('0.10100114423755262',), 1339840484: ('0.10100114423755262',), 1339840481: ('0.10100114423755262',), 1339840478: ('0.10100114423755262',), 1339839670: ('0.10100114423755262',), 1339839669: ('0.10100114423755262',), 1339839666: ('0.10100114423755262',), 1339839647: ('0.10100114423755262',), 1339839646: ('0.10100114423755262',), 1339839644: ('0.10100114423755262',), 1339839638: ('0.10100114423755262',), 1339839634: ('0.10100114423755262',), 1339839626: ('0.10100114423755262',), 1339839614: ('0.10100114423755262',), 1339839607: ('0.10100114423755262',), 1339839552: ('0.10100114423755262',), 1339839550: ('0.10100114423755262',), 1339839125: ('0.10100114423755262',), 1339839119: ('0.10100114423755262',), 1339839117: ('0.10100114423755262',), 1339839114: ('0.10100114423755262',), 1339839111: ('0.10100114423755262',), 20866040: ()} output_args : {20866040: [{'papier': 20866053, 'plastique': 20866054, 'flou': 20866055, 'cartonnette': 20866056, 'Carton_brun': 20866060, 'autre_refus': 20866064, 'kraft': 20866070, 'mal_croppe': 20866072, 'environnement': 20866073, 'Carton_gris': 20866074, 'metal': 20866075, 'Teint_Dans_La_Masse': 20866076}]} args : 20866040 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :41, first value : ('0.10100114423755262',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20866040) 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 (1339842371,1339841133,1339841077,1339841072,1339841070,1339841066,1339841063,1339841041,1339841040,1339841039,1339841038,1339841003,1339840987,1339840762,1339840759,1339840756,1339840500,1339840493,1339840487,1339840484,1339840481,1339840478,1339839670,1339839669,1339839666,1339839647,1339839646,1339839644,1339839638,1339839634,1339839626,1339839614,1339839607,1339839552,1339839550,1339839125,1339839119,1339839117,1339839114,1339839111) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339839111 begin to download photo : 1339839626 begin to download photo : 1339840478 begin to download photo : 1339840987 begin to download photo : 1339841072 download finish for photo 1339839111 begin to download photo : 1339839114 download finish for photo 1339839626 begin to download photo : 1339839634 download finish for photo 1339840478 begin to download photo : 1339840481 download finish for photo 1339841072 begin to download photo : 1339841077 download finish for photo 1339840987 begin to download photo : 1339841003 download finish for photo 1339841003 begin to download photo : 1339841038 download finish for photo 1339840481 begin to download photo : 1339840484 download finish for photo 1339839634 begin to download photo : 1339839638 download finish for photo 1339841077 begin to download photo : 1339841133 download finish for photo 1339839114 begin to download photo : 1339839117 download finish for photo 1339841038 begin to download photo : 1339841039 download finish for photo 1339839117 begin to download photo : 1339839119 download finish for photo 1339841133 begin to download photo : 1339842371 download finish for photo 1339839638 begin to download photo : 1339839644 download finish for photo 1339840484 begin to download photo : 1339840487 download finish for photo 1339839119 begin to download photo : 1339839125 download finish for photo 1339841039 begin to download photo : 1339841040 download finish for photo 1339842371 download finish for photo 1339840487 begin to download photo : 1339840493 download finish for photo 1339839125 begin to download photo : 1339839550 download finish for photo 1339841040 begin to download photo : 1339841041 download finish for photo 1339839644 begin to download photo : 1339839646 download finish for photo 1339840493 begin to download photo : 1339840500 download finish for photo 1339839646 begin to download photo : 1339839647 download finish for photo 1339841041 begin to download photo : 1339841063 download finish for photo 1339839550 begin to download photo : 1339839552 download finish for photo 1339840500 begin to download photo : 1339840756 download finish for photo 1339841063 begin to download photo : 1339841066 download finish for photo 1339839552 begin to download photo : 1339839607 download finish for photo 1339839647 begin to download photo : 1339839666 download finish for photo 1339840756 begin to download photo : 1339840759 download finish for photo 1339841066 begin to download photo : 1339841070 download finish for photo 1339839607 begin to download photo : 1339839614 download finish for photo 1339839666 begin to download photo : 1339839669 download finish for photo 1339840759 begin to download photo : 1339840762 download finish for photo 1339841070 download finish for photo 1339839614 download finish for photo 1339839669 begin to download photo : 1339839670 download finish for photo 1339840762 download finish for photo 1339839670 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 : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P20866040_28-02-2025_05_40_33.pdf 20866054 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=20866054 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339840567: '1740621011_415875_1339839647_634edd68810649388f71f227e294f9b2_rle_crop_3688204872_0.png', 1339840569: '1740621011_415875_1339839550_1b9e8e1591f2ad9d2513a040bc847593_rle_crop_3688204906_0.png', 1339841101: '1740621270_418782_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688207072_0.png', 1339841102: '1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207098_0.png', 1339841127: '1740621374_419717_1339841066_a2d581782381e055a4134cf3beb2e2da_rle_crop_3688209423_0.png', 1339846876: '1740623451_442317_1339841039_75a09211f36e683dac79b19becad6f66_bib_crop_3688207072_0.jpg', 1339846877: '1740623451_442317_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688243453_0.png', 1339846878: '1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207098_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/19ad8bd2c74ade4ff6e5e82a07f7611e_63839100.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/96054c59549c7fb1aa2b1761c7d14ef4_92072330.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/7a5db99f50967caf9cb3c1367de76ea8_63031144.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/60629f19cf903e73503eceac9610b79e_19616607.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/1cfeb0e048f8dfb5315805a4da4b416b_43270308.png change filename to text .wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d691170c593fb8c7111c99facaffa475_99449269.jpg change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/35bde6831de53ef1821fcd643276ba92_39556276.png change filename to text .imagette208660541740717633/ imagette208660541740717633/1740623451_442317_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688243453_0.png.png imagette208660541740717633/1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207098_0.png.png imagette208660541740717633/1740623451_442317_1339841039_75a09211f36e683dac79b19becad6f66_bib_crop_3688207072_0.jpg.jpg imagette208660541740717633/1740621374_419717_1339841066_a2d581782381e055a4134cf3beb2e2da_rle_crop_3688209423_0.png.png imagette208660541740717633/1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207098_0.png.png imagette208660541740717633/1740621270_418782_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688207072_0.png.png imagette208660541740717633/1740621011_415875_1339839647_634edd68810649388f71f227e294f9b2_rle_crop_3688204872_0.png.png imagette208660541740717633/1740621011_415875_1339839550_1b9e8e1591f2ad9d2513a040bc847593_rle_crop_3688204906_0.png.png imagette208660551740717634/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/60629f19cf903e73503eceac9610b79e_18049027.png imagette208660541740717633 20866055 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=20866055 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208660551740717634 20866056 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=20866056 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339840476: '1740620973_415268_1339839646_67f85d73feccd29fa2481b27f96d32c8_rle_crop_3688204602_0.png', 1339840504: '1740621011_415875_1339839647_634edd68810649388f71f227e294f9b2_rle_crop_3688204864_0.png', 1339840505: '1740621011_415875_1339839552_d55637e1151341f44d04e6257ddc0a39_rle_crop_3688204892_0.png', 1339841047: '1740621131_417181_1339840481_81b02d77c41f7a9814061ecbf9176dd4_rle_crop_3688206661_0.png', 1339841100: '1740621270_418782_1339841040_426222355c962e96bab2abaad0901dea_rle_crop_3688207052_0.png', 1339841123: '1740621374_419717_1339841066_a2d581782381e055a4134cf3beb2e2da_rle_crop_3688209422_0.png', 1339846853: '1740623451_442317_1339841040_426222355c962e96bab2abaad0901dea_rle_crop_3688207052_0.png', 1339847012: '1740623595_444574_1339840481_81b02d77c41f7a9814061ecbf9176dd4_rle_crop_3688206661_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/28921e8181f4b95383bd0a022cfe82bb_14983717.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8b34c405c7a5c59fdd9b898b52e5e0bc_48504824.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0c7ae0ea64fc016801a3f869e392022a_49880977.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/7c305c5876101a6d27f8abbc4326e947_78854658.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/1884076f90ee05939c01d14ef36352a6_27369007.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/e241d6602c6498b0b17080870d04d173_53862912.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/1884076f90ee05939c01d14ef36352a6_74417952.png change filename to text .imagette208660561740717634/ imagette208660561740717634/1740623595_444574_1339840481_81b02d77c41f7a9814061ecbf9176dd4_rle_crop_3688206661_0.png.png imagette208660561740717634/1740621131_417181_1339840481_81b02d77c41f7a9814061ecbf9176dd4_rle_crop_3688206661_0.png.png imagette208660561740717634/1740621374_419717_1339841066_a2d581782381e055a4134cf3beb2e2da_rle_crop_3688209422_0.png.png imagette208660561740717634/1740623451_442317_1339841040_426222355c962e96bab2abaad0901dea_rle_crop_3688207052_0.png.png imagette208660561740717634/1740621270_418782_1339841040_426222355c962e96bab2abaad0901dea_rle_crop_3688207052_0.png.png imagette208660561740717634/1740621011_415875_1339839552_d55637e1151341f44d04e6257ddc0a39_rle_crop_3688204892_0.png.png imagette208660561740717634/1740621011_415875_1339839647_634edd68810649388f71f227e294f9b2_rle_crop_3688204864_0.png.png imagette208660561740717634/1740620973_415268_1339839646_67f85d73feccd29fa2481b27f96d32c8_rle_crop_3688204602_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/7c305c5876101a6d27f8abbc4326e947_36778065.png imagette208660561740717634 20866064 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=20866064 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339840469: '1740620973_415268_1339839646_67f85d73feccd29fa2481b27f96d32c8_rle_crop_3688204600_0.png', 1339840470: '1740620973_415268_1339839638_b163ed03863bc6d62406c69e9c613cef_rle_crop_3688204630_0.png', 1339841084: '1740621253_418524_1339840759_c648c1c9ad6a7dfc09c4a382ed8c6517_rle_crop_3688206842_0.png', 1339841092: '1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207090_0.png', 1339841093: '1740621270_418782_1339841003_646fb9bb75809dd183f227c26accbcd6_rle_crop_3688207113_0.png', 1339841122: '1740621374_419717_1339841063_4167d6b07ba7e041f3d63f668d0b877f_rle_crop_3688209440_0.png', 1339846795: '1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207090_0.png', 1339846796: '1740623451_442317_1339841003_646fb9bb75809dd183f227c26accbcd6_rle_crop_3688207113_0.png', 1339847022: '1740623612_444921_1339839125_201579561e6ad59d7b23a49ef689b9d6_rle_crop_3688203876_0.png', 1339847023: '1740623612_444921_1339839125_201579561e6ad59d7b23a49ef689b9d6_rle_crop_3688203878_0.png', 1339847024: '1740623612_444921_1339839119_0a30d9fc96095545112d910f3e85bde1_rle_crop_3688203904_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/87e1aeaa0ace331cef6f00060a2b5d4c_69466008.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/959783f2e1851ad3e88f0b7d62c4e98e_17353565.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/aa43ffab3794e2180f3b3c2892d63460_82463106.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/a87d35a5d49f7f3b005aa674c0dfcd84_75758659.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/080319c052be8b81fd636b2f2baee7bb_76662484.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/17d90089ce28e4461eed166049773999_48060260.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/a87d35a5d49f7f3b005aa674c0dfcd84_70664688.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/080319c052be8b81fd636b2f2baee7bb_14394640.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/7bc7099a335a05b146f37d5c0142820e_39623068.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/be005cf3b92ba50c4e90628cef8f5b15_3370109.png change filename to text .imagette208660641740717635/ imagette208660641740717635/1740620973_415268_1339839646_67f85d73feccd29fa2481b27f96d32c8_rle_crop_3688204600_0.png.png imagette208660641740717635/1740623451_442317_1339841003_646fb9bb75809dd183f227c26accbcd6_rle_crop_3688207113_0.png.png imagette208660641740717635/1740620973_415268_1339839638_b163ed03863bc6d62406c69e9c613cef_rle_crop_3688204630_0.png.png imagette208660641740717635/1740623612_444921_1339839119_0a30d9fc96095545112d910f3e85bde1_rle_crop_3688203904_0.png.png imagette208660641740717635/1740623612_444921_1339839125_201579561e6ad59d7b23a49ef689b9d6_rle_crop_3688203878_0.png.png imagette208660641740717635/1740621374_419717_1339841063_4167d6b07ba7e041f3d63f668d0b877f_rle_crop_3688209440_0.png.png imagette208660641740717635/1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207090_0.png.png imagette208660641740717635/1740621253_418524_1339840759_c648c1c9ad6a7dfc09c4a382ed8c6517_rle_crop_3688206842_0.png.png imagette208660641740717635/1740623612_444921_1339839125_201579561e6ad59d7b23a49ef689b9d6_rle_crop_3688203876_0.png.png imagette208660641740717635/1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207090_0.png.png imagette208660641740717635/1740621270_418782_1339841003_646fb9bb75809dd183f227c26accbcd6_rle_crop_3688207113_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/2593a031533a818eaee8d13f31d5dc21_7482418.png imagette208660641740717635 20866070 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=20866070 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339847033: '1740623612_444921_1339839125_201579561e6ad59d7b23a49ef689b9d6_rle_crop_3688203883_0.png'} change filename to text .imagette208660701740717637/ imagette208660701740717637/1740623612_444921_1339839125_201579561e6ad59d7b23a49ef689b9d6_rle_crop_3688203883_0.png.png imagette208660721740717637/ imagette208660751740717637/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/54d86c8a5fd0fcbe95a3b05a0dedc7e1_37354774.png imagette208660701740717637 20866072 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=20866072 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208660721740717637 20866075 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=20866075 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208660751740717637 20866060 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=20866060 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339841086: '1740621253_418524_1339840759_c648c1c9ad6a7dfc09c4a382ed8c6517_rle_crop_3688206846_0.png', 1339847031: '1740623612_444921_1339839125_201579561e6ad59d7b23a49ef689b9d6_rle_crop_3688203887_0.png', 1339847030: '1740623612_444921_1339839125_201579561e6ad59d7b23a49ef689b9d6_rle_crop_3688203893_0.png', 1339847021: '1740623595_444574_1339840481_81b02d77c41f7a9814061ecbf9176dd4_rle_crop_3688206665_0.png', 1339847020: '1740623595_444574_1339840484_c1a9aea02798554b2205e11d879ec0ba_rle_crop_3688206651_0.png', 1339847019: '1740623595_444574_1339840487_ec125c38f5c689a21d7b28bb2ceeda4e_rle_crop_3688206630_0.png', 1339847018: '1740623595_444574_1339840487_ec125c38f5c689a21d7b28bb2ceeda4e_rle_crop_3688206631_0.png', 1339847017: '1740623595_444574_1339840493_f0caac9d770f9deae7834d351abd7d08_rle_crop_3688206616_0.png', 1339847016: '1740623595_444574_1339840762_125e5ada077c3474e0e39d5d8ef80cc3_rle_crop_3688243719_0.png', 1339846874: '1740623451_442317_1339841072_e1fb7abd690d01ff6d1346a425d75c92_rle_crop_3688243402_0.png', 1339841126: '1740621374_419717_1339841070_8f5a9c907c843f08476f2c30e048993c_rle_crop_3688209320_0.png', 1339841125: '1740621374_419717_1339841070_8f5a9c907c843f08476f2c30e048993c_rle_crop_3688209322_0.png', 1339841124: '1740621374_419717_1339841077_c5afa7c9b47a004ace7a54791998d7b6_rle_crop_3688209104_0.png', 1339840477: '1740620973_415268_1339839646_67f85d73feccd29fa2481b27f96d32c8_rle_crop_3688204606_0.png', 1339841085: '1740621253_418524_1339841041_6afc23a813bbd1386d76f2a20a7c7ccc_rle_crop_3688206832_0.png', 1339841057: '1740621152_417398_1339840500_a6f9494bb162b4a404eb23827a41ba69_rle_crop_3688206699_0.png', 1339841052: '1740621131_417181_1339840481_81b02d77c41f7a9814061ecbf9176dd4_rle_crop_3688206665_0.png', 1339841051: '1740621131_417181_1339840484_c1a9aea02798554b2205e11d879ec0ba_rle_crop_3688206651_0.png', 1339841050: '1740621131_417181_1339840487_ec125c38f5c689a21d7b28bb2ceeda4e_rle_crop_3688206630_0.png', 1339841049: '1740621131_417181_1339840487_ec125c38f5c689a21d7b28bb2ceeda4e_rle_crop_3688206631_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d3e965e942def4e477b4f6586cbefce1_18100816.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ee33f34fb642263f5bde08efe2d954b3_79193444.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/a1f050a2347e7aafe143da2116764a5e_39901427.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/e398957d33be17d4b3404e28a1ec03c1_19939338.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8803c1aabfab10569472c9985788156a_33210479.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/659f9e5d723c99128f36507b2a94665b_37344218.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/c787139917b8779a9f4e0fbb503bc59b_54261953.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/1ef4db923c41a84cc4728813851041ed_8416144.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/01f2e8ee5f3ac9c07838ed928563f008_50862333.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/da28956270a4dd371fc9660117329771_55938130.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/a3bed010ee5d26c842d77f337803df92_13176269.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4b024dafffa3d2b976bf1309a01a2646_35033336.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/07a69a48aadeda09158a8a511ad92d6f_61273662.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/56badc3d937cd01279e42302e879436b_30432969.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d8623b03758c22a5271b7ef9576329c6_68950271.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/f0615432e5c75ad101dee29c739b9822_83592450.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/e398957d33be17d4b3404e28a1ec03c1_51163933.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8803c1aabfab10569472c9985788156a_6318908.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/659f9e5d723c99128f36507b2a94665b_96363783.png change filename to text .imagette208660601740717637/ imagette208660601740717637/1740623595_444574_1339840487_ec125c38f5c689a21d7b28bb2ceeda4e_rle_crop_3688206631_0.png.png imagette208660601740717637/1740623612_444921_1339839125_201579561e6ad59d7b23a49ef689b9d6_rle_crop_3688203887_0.png.png imagette208660601740717637/1740621131_417181_1339840481_81b02d77c41f7a9814061ecbf9176dd4_rle_crop_3688206665_0.png.png imagette208660601740717637/1740623451_442317_1339841072_e1fb7abd690d01ff6d1346a425d75c92_rle_crop_3688243402_0.png.png imagette208660601740717637/1740621253_418524_1339841041_6afc23a813bbd1386d76f2a20a7c7ccc_rle_crop_3688206832_0.png.png imagette208660601740717637/1740623595_444574_1339840487_ec125c38f5c689a21d7b28bb2ceeda4e_rle_crop_3688206630_0.png.png imagette208660601740717637/1740623612_444921_1339839125_201579561e6ad59d7b23a49ef689b9d6_rle_crop_3688203893_0.png.png imagette208660601740717637/1740621131_417181_1339840487_ec125c38f5c689a21d7b28bb2ceeda4e_rle_crop_3688206630_0.png.png imagette208660601740717637/1740621253_418524_1339840759_c648c1c9ad6a7dfc09c4a382ed8c6517_rle_crop_3688206846_0.png.png imagette208660601740717637/1740623595_444574_1339840762_125e5ada077c3474e0e39d5d8ef80cc3_rle_crop_3688243719_0.png.png imagette208660601740717637/1740623595_444574_1339840481_81b02d77c41f7a9814061ecbf9176dd4_rle_crop_3688206665_0.png.png imagette208660601740717637/1740621374_419717_1339841070_8f5a9c907c843f08476f2c30e048993c_rle_crop_3688209320_0.png.png imagette208660601740717637/1740621374_419717_1339841070_8f5a9c907c843f08476f2c30e048993c_rle_crop_3688209322_0.png.png imagette208660601740717637/1740621131_417181_1339840487_ec125c38f5c689a21d7b28bb2ceeda4e_rle_crop_3688206631_0.png.png imagette208660601740717637/1740623595_444574_1339840484_c1a9aea02798554b2205e11d879ec0ba_rle_crop_3688206651_0.png.png imagette208660601740717637/1740621131_417181_1339840484_c1a9aea02798554b2205e11d879ec0ba_rle_crop_3688206651_0.png.png imagette208660601740717637/1740621152_417398_1339840500_a6f9494bb162b4a404eb23827a41ba69_rle_crop_3688206699_0.png.png imagette208660601740717637/1740623595_444574_1339840493_f0caac9d770f9deae7834d351abd7d08_rle_crop_3688206616_0.png.png imagette208660601740717637/1740620973_415268_1339839646_67f85d73feccd29fa2481b27f96d32c8_rle_crop_3688204606_0.png.png imagette208660601740717637/1740621374_419717_1339841077_c5afa7c9b47a004ace7a54791998d7b6_rle_crop_3688209104_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/c787139917b8779a9f4e0fbb503bc59b_33362706.png imagette208660601740717637 20866074 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=20866074 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339841099: '1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207097_0.png', 1339847028: '1740623612_444921_1339839111_97b753d2d99dae4eecf260c04a853e07_rle_crop_3688203944_0.png', 1339847027: '1740623612_444921_1339839119_0a30d9fc96095545112d910f3e85bde1_bib_crop_3688203897_0.jpg', 1339847026: '1740623612_444921_1339839119_0a30d9fc96095545112d910f3e85bde1_rle_crop_3688243942_0.png', 1339847025: '1740623612_444921_1339839614_ceed27b436e12b440f7c8e71fd374256_rle_crop_3688243741_0.png', 1339847010: '1740623595_444574_1339840493_f0caac9d770f9deae7834d351abd7d08_rle_crop_3688206614_0.png', 1339847009: '1740623595_444574_1339840762_125e5ada077c3474e0e39d5d8ef80cc3_rle_crop_3688243713_0.png', 1339847008: '1740623595_444574_1339840762_125e5ada077c3474e0e39d5d8ef80cc3_rle_crop_3688243706_0.png', 1339846808: '1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207097_0.png', 1339846806: '1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207092_0.png', 1339846804: '1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207087_0.png', 1339846802: '1740623451_442317_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688207069_0.png', 1339846800: '1740623451_442317_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688207071_0.png', 1339840472: '1740620973_415268_1339839646_67f85d73feccd29fa2481b27f96d32c8_rle_crop_3688204603_0.png', 1339841098: '1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207092_0.png', 1339841097: '1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207087_0.png', 1339841096: '1740621270_418782_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688207069_0.png', 1339841095: '1740621270_418782_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688207071_0.png', 1339841056: '1740621152_417398_1339839666_295f05b6116851b32b9db6a859deea00_rle_crop_3688206722_0.png', 1339841055: '1740621152_417398_1339839669_3edde3e9fdd96917f3ad19f8069d39b5_rle_crop_3688206707_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/831bfd3ec1a95b44316ca8b078b94211_44136737.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/e7b1542fa1c0c7e440c27afac5e23254_62740687.png change filename to text .wget -O 3.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d5a310fed830390ee010a9b87e3832a3_4139740.jpg change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d712b3694d86ccecb591c04d908b00ae_64975507.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d73bed279e4564bdfb4cf34bca7eaabe_83524065.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/da0b397a69478e5accc04194e2c91063_26576571.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/239f5797a584c8d7822390d2bb60267d_11916728.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6cd1e20951cf52dcf959c513d91fb62a_41322747.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/831bfd3ec1a95b44316ca8b078b94211_40022391.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/51a10de746f75f3e7d3b5dc3d11275f0_46421932.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0db4973443625035a7b3f6bb6de1b4bc_95754106.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/09682de5865dd58908e6c1e5ba81df0b_37916988.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/045cc1de643cabdcf3e66b553ad8eb48_21591251.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/07c35099a5adc9c693ccf25cd80666c8_16134409.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/51a10de746f75f3e7d3b5dc3d11275f0_73070236.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0db4973443625035a7b3f6bb6de1b4bc_46199281.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/09682de5865dd58908e6c1e5ba81df0b_22513296.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/045cc1de643cabdcf3e66b553ad8eb48_77827438.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/5a260e32be65a9b2742efbf0e4c4438c_89594706.png change filename to text .imagette208660741740717639/ imagette208660741740717639/1740623595_444574_1339840493_f0caac9d770f9deae7834d351abd7d08_rle_crop_3688206614_0.png.png imagette208660741740717639/1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207097_0.png.png imagette208660741740717639/1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207087_0.png.png imagette208660741740717639/1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207087_0.png.png imagette208660741740717639/1740621270_418782_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688207071_0.png.png imagette208660741740717639/1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207092_0.png.png imagette208660741740717639/1740623451_442317_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688207069_0.png.png imagette208660741740717639/1740623595_444574_1339840762_125e5ada077c3474e0e39d5d8ef80cc3_rle_crop_3688243706_0.png.png imagette208660741740717639/1740621152_417398_1339839666_295f05b6116851b32b9db6a859deea00_rle_crop_3688206722_0.png.png imagette208660741740717639/1740620973_415268_1339839646_67f85d73feccd29fa2481b27f96d32c8_rle_crop_3688204603_0.png.png imagette208660741740717639/1740623612_444921_1339839119_0a30d9fc96095545112d910f3e85bde1_rle_crop_3688243942_0.png.png imagette208660741740717639/1740621152_417398_1339839669_3edde3e9fdd96917f3ad19f8069d39b5_rle_crop_3688206707_0.png.png imagette208660741740717639/1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207097_0.png.png imagette208660741740717639/1740623612_444921_1339839119_0a30d9fc96095545112d910f3e85bde1_bib_crop_3688203897_0.jpg.jpg imagette208660741740717639/1740623451_442317_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688207071_0.png.png imagette208660741740717639/1740623595_444574_1339840762_125e5ada077c3474e0e39d5d8ef80cc3_rle_crop_3688243713_0.png.png imagette208660741740717639/1740623612_444921_1339839614_ceed27b436e12b440f7c8e71fd374256_rle_crop_3688243741_0.png.png imagette208660741740717639/1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207092_0.png.png imagette208660741740717639/1740621270_418782_1339841039_75a09211f36e683dac79b19becad6f66_rle_crop_3688207069_0.png.png imagette208660741740717639/1740623612_444921_1339839111_97b753d2d99dae4eecf260c04a853e07_rle_crop_3688203944_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/fb06958f066905c66b3f717f82854fd3_58707726.png imagette208660741740717639 20866076 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=20866076 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339841118: '1740621374_419717_1339841070_8f5a9c907c843f08476f2c30e048993c_rle_crop_3688209324_0.png', 1339847013: '1740623612_444921_1339839117_acab6cc21d63ebbf96cc4e04b0565d3f_rle_crop_3688203916_0.png', 1339847006: '1740623595_444574_1339840478_43589ee851c0cba3186f770643b4e955_rle_crop_3688206682_0.png', 1339847005: '1740623595_444574_1339840484_c1a9aea02798554b2205e11d879ec0ba_rle_crop_3688206646_0.png', 1339847004: '1740623595_444574_1339840493_f0caac9d770f9deae7834d351abd7d08_rle_crop_3688206615_0.png', 1339847003: '1740623595_444574_1339840493_f0caac9d770f9deae7834d351abd7d08_rle_crop_3688206613_0.png', 1339847002: '1740623595_444574_1339840762_125e5ada077c3474e0e39d5d8ef80cc3_rle_crop_3688243714_0.png', 1339846792: '1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207099_0.png', 1339846791: '1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207091_0.png', 1339846790: '1740623451_442317_1339841040_426222355c962e96bab2abaad0901dea_rle_crop_3688207053_0.png', 1339841121: '1740621374_419717_1339841063_4167d6b07ba7e041f3d63f668d0b877f_rle_crop_3688209446_0.png', 1339841120: '1740621374_419717_1339841066_a2d581782381e055a4134cf3beb2e2da_rle_crop_3688209427_0.png', 1339841119: '1740621374_419717_1339841066_a2d581782381e055a4134cf3beb2e2da_rle_crop_3688209429_0.png', 1339840466: '1740620973_415268_1339839638_b163ed03863bc6d62406c69e9c613cef_rle_crop_3688204635_0.png', 1339841091: '1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207099_0.png', 1339841090: '1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207091_0.png', 1339841089: '1740621270_418782_1339841040_426222355c962e96bab2abaad0901dea_rle_crop_3688207053_0.png', 1339841083: '1740621253_418524_1339840759_c648c1c9ad6a7dfc09c4a382ed8c6517_rle_crop_3688206845_0.png', 1339841054: '1740621152_417398_1339839669_3edde3e9fdd96917f3ad19f8069d39b5_rle_crop_3688206718_0.png', 1339841053: '1740621152_417398_1339840500_a6f9494bb162b4a404eb23827a41ba69_rle_crop_3688206698_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4833066f5bb1f3b6b747f1e42ddab61f_54338977.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/7995931e290cd36c889ab8db0550056e_27091848.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/eb714e55ba2c276e00893e2275726e86_17297541.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0922f740595157ad162f995a506d8eee_63562658.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8e3e357b46f5b54f87ec015ae6068bfd_9760767.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/eb0b3558a9ac15def5d49961da0ed209_17873396.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/71ff8744d3862a725a6fccc138a94711_86721069.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4b38de39dcd6a3def844aa0d054ed3bb_6090650.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6b6bf58030fdda89f8108380f3b3f5a8_76523187.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/90a9f909bea8fff2ad0ea142a44e49e4_16628712.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/08f719c0bda8f4ab63109db1d4416e4d_45427571.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/945aa04d2d0d104922cc136fba461e05_79460690.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0f88a52a21f26b57fe858b832ff723cb_86411853.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6efa4c7fb23f1e93c8ccdeb18efe2715_62859700.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4b38de39dcd6a3def844aa0d054ed3bb_85564523.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6b6bf58030fdda89f8108380f3b3f5a8_48016641.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/90a9f909bea8fff2ad0ea142a44e49e4_61223303.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/7e22c2db94e805a23fa5aec53028ccde_18935526.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/5cb78e79d95eb88941fe88137a5f781d_45810340.png change filename to text .imagette208660761740717641/ imagette208660761740717641/1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207091_0.png.png imagette208660761740717641/1740623612_444921_1339839117_acab6cc21d63ebbf96cc4e04b0565d3f_rle_crop_3688203916_0.png.png imagette208660761740717641/1740623595_444574_1339840478_43589ee851c0cba3186f770643b4e955_rle_crop_3688206682_0.png.png imagette208660761740717641/1740621152_417398_1339839669_3edde3e9fdd96917f3ad19f8069d39b5_rle_crop_3688206718_0.png.png imagette208660761740717641/1740623451_442317_1339841040_426222355c962e96bab2abaad0901dea_rle_crop_3688207053_0.png.png imagette208660761740717641/1740623595_444574_1339840493_f0caac9d770f9deae7834d351abd7d08_rle_crop_3688206613_0.png.png imagette208660761740717641/1740621270_418782_1339841040_426222355c962e96bab2abaad0901dea_rle_crop_3688207053_0.png.png imagette208660761740717641/1740621374_419717_1339841066_a2d581782381e055a4134cf3beb2e2da_rle_crop_3688209427_0.png.png imagette208660761740717641/1740621270_418782_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207099_0.png.png imagette208660761740717641/1740621374_419717_1339841066_a2d581782381e055a4134cf3beb2e2da_rle_crop_3688209429_0.png.png imagette208660761740717641/1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207091_0.png.png imagette208660761740717641/1740621374_419717_1339841063_4167d6b07ba7e041f3d63f668d0b877f_rle_crop_3688209446_0.png.png imagette208660761740717641/1740621374_419717_1339841070_8f5a9c907c843f08476f2c30e048993c_rle_crop_3688209324_0.png.png imagette208660761740717641/1740623595_444574_1339840484_c1a9aea02798554b2205e11d879ec0ba_rle_crop_3688206646_0.png.png imagette208660761740717641/1740621152_417398_1339840500_a6f9494bb162b4a404eb23827a41ba69_rle_crop_3688206698_0.png.png imagette208660761740717641/1740623451_442317_1339841038_d56186fff64561dd666a5219aecdae35_rle_crop_3688207099_0.png.png imagette208660761740717641/1740621253_418524_1339840759_c648c1c9ad6a7dfc09c4a382ed8c6517_rle_crop_3688206845_0.png.png imagette208660761740717641/1740623595_444574_1339840762_125e5ada077c3474e0e39d5d8ef80cc3_rle_crop_3688243714_0.png.png imagette208660761740717641/1740620973_415268_1339839638_b163ed03863bc6d62406c69e9c613cef_rle_crop_3688204635_0.png.png imagette208660761740717641/1740623595_444574_1339840493_f0caac9d770f9deae7834d351abd7d08_rle_crop_3688206615_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d5e0f0509aceebf5079a1f529eab71f3_46020245.png imagette208660761740717641 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20866040 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20866077,20866078,20866079,20866080,20866081,20866082,20866083,20866084,20866085,20866086,20866087,20866088?tags=papier,plastique,flou,cartonnette,Carton_brun,autre_refus,kraft,mal_croppe,environnement,Carton_gris,metal,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1339842371] : ('0.10100114423755262',) no score found for photo 1339842371 We are sending mail with results at report@fotonower.com args[1339841133] : ('0.10100114423755262',) no score found for photo 1339841133 We are sending mail with results at report@fotonower.com args[1339841077] : ('0.10100114423755262',) no score found for photo 1339841077 We are sending mail with results at report@fotonower.com args[1339841072] : ('0.10100114423755262',) no score found for photo 1339841072 We are sending mail with results at report@fotonower.com args[1339841070] : ('0.10100114423755262',) no score found for photo 1339841070 We are sending mail with results at report@fotonower.com args[1339841066] : ('0.10100114423755262',) no score found for photo 1339841066 We are sending mail with results at report@fotonower.com args[1339841063] : ('0.10100114423755262',) no score found for photo 1339841063 We are sending mail with results at report@fotonower.com args[1339841041] : ('0.10100114423755262',) no score found for photo 1339841041 We are sending mail with results at report@fotonower.com args[1339841040] : ('0.10100114423755262',) no score found for photo 1339841040 We are sending mail with results at report@fotonower.com args[1339841039] : ('0.10100114423755262',) no score found for photo 1339841039 We are sending mail with results at report@fotonower.com args[1339841038] : ('0.10100114423755262',) no score found for photo 1339841038 We are sending mail with results at report@fotonower.com args[1339841003] : ('0.10100114423755262',) no score found for photo 1339841003 We are sending mail with results at report@fotonower.com args[1339840987] : ('0.10100114423755262',) no score found for photo 1339840987 We are sending mail with results at report@fotonower.com args[1339840762] : ('0.10100114423755262',) no score found for photo 1339840762 We are sending mail with results at report@fotonower.com args[1339840759] : ('0.10100114423755262',) no score found for photo 1339840759 We are sending mail with results at report@fotonower.com args[1339840756] : ('0.10100114423755262',) no score found for photo 1339840756 We are sending mail with results at report@fotonower.com args[1339840500] : ('0.10100114423755262',) no score found for photo 1339840500 We are sending mail with results at report@fotonower.com args[1339840493] : ('0.10100114423755262',) no score found for photo 1339840493 We are sending mail with results at report@fotonower.com args[1339840487] : ('0.10100114423755262',) no score found for photo 1339840487 We are sending mail with results at report@fotonower.com args[1339840484] : ('0.10100114423755262',) no score found for photo 1339840484 We are sending mail with results at report@fotonower.com args[1339840481] : ('0.10100114423755262',) no score found for photo 1339840481 We are sending mail with results at report@fotonower.com args[1339840478] : ('0.10100114423755262',) no score found for photo 1339840478 We are sending mail with results at report@fotonower.com args[1339839670] : ('0.10100114423755262',) no score found for photo 1339839670 We are sending mail with results at report@fotonower.com args[1339839669] : ('0.10100114423755262',) no score found for photo 1339839669 We are sending mail with results at report@fotonower.com args[1339839666] : ('0.10100114423755262',) no score found for photo 1339839666 We are sending mail with results at report@fotonower.com args[1339839647] : ('0.10100114423755262',) no score found for photo 1339839647 We are sending mail with results at report@fotonower.com args[1339839646] : ('0.10100114423755262',) no score found for photo 1339839646 We are sending mail with results at report@fotonower.com args[1339839644] : ('0.10100114423755262',) no score found for photo 1339839644 We are sending mail with results at report@fotonower.com args[1339839638] : ('0.10100114423755262',) no score found for photo 1339839638 We are sending mail with results at report@fotonower.com args[1339839634] : ('0.10100114423755262',) no score found for photo 1339839634 We are sending mail with results at report@fotonower.com args[1339839626] : ('0.10100114423755262',) no score found for photo 1339839626 We are sending mail with results at report@fotonower.com args[1339839614] : ('0.10100114423755262',) no score found for photo 1339839614 We are sending mail with results at report@fotonower.com args[1339839607] : ('0.10100114423755262',) no score found for photo 1339839607 We are sending mail with results at report@fotonower.com args[1339839552] : ('0.10100114423755262',) no score found for photo 1339839552 We are sending mail with results at report@fotonower.com args[1339839550] : ('0.10100114423755262',) no score found for photo 1339839550 We are sending mail with results at report@fotonower.com args[1339839125] : ('0.10100114423755262',) no score found for photo 1339839125 We are sending mail with results at report@fotonower.com args[1339839119] : ('0.10100114423755262',) no score found for photo 1339839119 We are sending mail with results at report@fotonower.com args[1339839117] : ('0.10100114423755262',) no score found for photo 1339839117 We are sending mail with results at report@fotonower.com args[1339839114] : ('0.10100114423755262',) no score found for photo 1339839114 We are sending mail with results at report@fotonower.com args[1339839111] : ('0.10100114423755262',) no score found for photo 1339839111 We are sending mail with results at report@fotonower.com refus_total : 0.10100114423755262 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=20866040 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_P20866040_28-02-2025_05_40_33.pdf results_Auto_P20866040_28-02-2025_05_40_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866040_28-02-2025_05_40_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','20866040','results_Auto_P20866040_28-02-2025_05_40_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866040_28-02-2025_05_40_33.pdf','pdf','','0.53','0.10100114423755262') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20866040]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111] map_info['map_portfolio_photo'] : {20866040: [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111]} final : False mtd_id 4302 list_pids : [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111] 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, '2622180') ('4302', '20866040', '1339842371', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841133', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841077', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841072', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841070', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841066', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841063', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841041', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841040', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841039', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841038', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841003', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840987', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840762', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840759', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840756', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840500', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840493', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840487', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840484', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840481', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840478', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839670', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839669', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839666', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839647', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839646', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839644', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839638', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839634', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839626', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839614', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839607', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839552', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839550', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839125', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839119', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839117', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839114', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839111', None, None, None, None, None, '2622180') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20866040', '1339842371', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841133', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841077', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841072', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841070', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841066', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841063', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841041', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841040', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841039', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841038', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841003', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840987', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840762', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840759', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840756', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840500', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840493', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840487', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840484', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840481', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840478', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839670', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839669', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839666', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839647', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839646', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839644', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839638', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839634', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839626', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839614', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839607', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839552', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839550', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839125', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839119', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839117', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839114', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839111', None, None, None, None, None, '2622180')] time used for this insertion : 0.026665210723876953 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.520427942276001 time spend to save output : 0.0270535945892334 total time spend for step 4 : 14.547481536865234 step5:split_time_score Fri Feb 28 05:40:46 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 : ['20866040'] 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 : [('20866040',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20866040) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1339841072: {'path': 'temp/1740717632_3139560_1339841072_e1fb7abd690d01ff6d1346a425d75c92.jpg', 'extension': 'jpg'}, 1339841077: {'path': 'temp/1740717632_3139560_1339841077_c5afa7c9b47a004ace7a54791998d7b6.jpg', 'extension': 'jpg'}, 1339841133: {'path': 'temp/1740717632_3139560_1339841133_e8b5416632a5c09fc18722923c482571.jpg', 'extension': 'jpg'}, 1339842371: {'path': 'temp/1740717632_3139560_1339842371_e88f819d21028742929a74a5ac429d56.jpg', 'extension': 'jpg'}, 1339840987: {'path': 'temp/1740717632_3139560_1339840987_3275f8a45d5dd96f1003ea31e824dae4.jpg', 'extension': 'jpg'}, 1339841003: {'path': 'temp/1740717632_3139560_1339841003_646fb9bb75809dd183f227c26accbcd6.jpg', 'extension': 'jpg'}, 1339841038: {'path': 'temp/1740717632_3139560_1339841038_d56186fff64561dd666a5219aecdae35.jpg', 'extension': 'jpg'}, 1339841039: {'path': 'temp/1740717632_3139560_1339841039_75a09211f36e683dac79b19becad6f66.jpg', 'extension': 'jpg'}, 1339841040: {'path': 'temp/1740717632_3139560_1339841040_426222355c962e96bab2abaad0901dea.jpg', 'extension': 'jpg'}, 1339841041: {'path': 'temp/1740717632_3139560_1339841041_6afc23a813bbd1386d76f2a20a7c7ccc.jpg', 'extension': 'jpg'}, 1339841063: {'path': 'temp/1740717632_3139560_1339841063_4167d6b07ba7e041f3d63f668d0b877f.jpg', 'extension': 'jpg'}, 1339841066: {'path': 'temp/1740717632_3139560_1339841066_a2d581782381e055a4134cf3beb2e2da.jpg', 'extension': 'jpg'}, 1339841070: {'path': 'temp/1740717632_3139560_1339841070_8f5a9c907c843f08476f2c30e048993c.jpg', 'extension': 'jpg'}, 1339839111: {'path': 'temp/1740717632_3139560_1339839111_97b753d2d99dae4eecf260c04a853e07.jpg', 'extension': 'jpg'}, 1339839114: {'path': 'temp/1740717632_3139560_1339839114_4a62aaa5f90558a502e040f4f2e6a90f.jpg', 'extension': 'jpg'}, 1339839117: {'path': 'temp/1740717632_3139560_1339839117_acab6cc21d63ebbf96cc4e04b0565d3f.jpg', 'extension': 'jpg'}, 1339839119: {'path': 'temp/1740717632_3139560_1339839119_0a30d9fc96095545112d910f3e85bde1.jpg', 'extension': 'jpg'}, 1339839125: {'path': 'temp/1740717632_3139560_1339839125_201579561e6ad59d7b23a49ef689b9d6.jpg', 'extension': 'jpg'}, 1339839550: {'path': 'temp/1740717632_3139560_1339839550_1b9e8e1591f2ad9d2513a040bc847593.jpg', 'extension': 'jpg'}, 1339839552: {'path': 'temp/1740717632_3139560_1339839552_d55637e1151341f44d04e6257ddc0a39.jpg', 'extension': 'jpg'}, 1339839607: {'path': 'temp/1740717632_3139560_1339839607_8189d5206ad3fc74e934731d82ea4d08.jpg', 'extension': 'jpg'}, 1339839614: {'path': 'temp/1740717632_3139560_1339839614_ceed27b436e12b440f7c8e71fd374256.jpg', 'extension': 'jpg'}, 1339840478: {'path': 'temp/1740717632_3139560_1339840478_43589ee851c0cba3186f770643b4e955.jpg', 'extension': 'jpg'}, 1339840481: {'path': 'temp/1740717632_3139560_1339840481_81b02d77c41f7a9814061ecbf9176dd4.jpg', 'extension': 'jpg'}, 1339840484: {'path': 'temp/1740717632_3139560_1339840484_c1a9aea02798554b2205e11d879ec0ba.jpg', 'extension': 'jpg'}, 1339840487: {'path': 'temp/1740717632_3139560_1339840487_ec125c38f5c689a21d7b28bb2ceeda4e.jpg', 'extension': 'jpg'}, 1339840493: {'path': 'temp/1740717632_3139560_1339840493_f0caac9d770f9deae7834d351abd7d08.jpg', 'extension': 'jpg'}, 1339840500: {'path': 'temp/1740717632_3139560_1339840500_a6f9494bb162b4a404eb23827a41ba69.jpg', 'extension': 'jpg'}, 1339840756: {'path': 'temp/1740717632_3139560_1339840756_e5a5e5f2e4b4914d472bdeacbd45bdf3.jpg', 'extension': 'jpg'}, 1339840759: {'path': 'temp/1740717632_3139560_1339840759_c648c1c9ad6a7dfc09c4a382ed8c6517.jpg', 'extension': 'jpg'}, 1339840762: {'path': 'temp/1740717632_3139560_1339840762_125e5ada077c3474e0e39d5d8ef80cc3.jpg', 'extension': 'jpg'}, 1339839626: {'path': 'temp/1740717632_3139560_1339839626_ffc4e5c8ebf3d7832f95024ec9a4f4e4.jpg', 'extension': 'jpg'}, 1339839634: {'path': 'temp/1740717632_3139560_1339839634_3c66ae6e5f927f628aa64eb1bedff5f0.jpg', 'extension': 'jpg'}, 1339839638: {'path': 'temp/1740717632_3139560_1339839638_b163ed03863bc6d62406c69e9c613cef.jpg', 'extension': 'jpg'}, 1339839644: {'path': 'temp/1740717632_3139560_1339839644_7e35abf647db3898caff1df329019030.jpg', 'extension': 'jpg'}, 1339839646: {'path': 'temp/1740717632_3139560_1339839646_67f85d73feccd29fa2481b27f96d32c8.jpg', 'extension': 'jpg'}, 1339839647: {'path': 'temp/1740717632_3139560_1339839647_634edd68810649388f71f227e294f9b2.jpg', 'extension': 'jpg'}, 1339839666: {'path': 'temp/1740717632_3139560_1339839666_295f05b6116851b32b9db6a859deea00.jpg', 'extension': 'jpg'}, 1339839669: {'path': 'temp/1740717632_3139560_1339839669_3edde3e9fdd96917f3ad19f8069d39b5.jpg', 'extension': 'jpg'}, 1339839670: {'path': 'temp/1740717632_3139560_1339839670_9936c1d9e7bad72e6e04872fbc4e1986.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 = 20866040; (('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 = 20866040 group by h (('02', 40),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20866040 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 (20866040) 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 (20866040) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27022025 20866040 Nombre de photos uploadées : 40 / 23040 (0%) 27022025 20866040 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 27022025 20866040 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1339839125, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/201579561e6ad59d7b23a49ef689b9d6.jpg', 'username': None, 'uploaded_at': 1740620797, 'text': 'image_27022025_02_45_04_010153m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339839119, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0a30d9fc96095545112d910f3e85bde1.jpg', 'username': None, 'uploaded_at': 1740620797, 'text': 'image_27022025_02_45_14_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339839117, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/acab6cc21d63ebbf96cc4e04b0565d3f.jpg', 'username': None, 'uploaded_at': 1740620797, 'text': 'image_27022025_02_45_25_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1339839114, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4a62aaa5f90558a502e040f4f2e6a90f.jpg', 'username': None, 'uploaded_at': 1740620797, 'text': 'image_27022025_02_45_35_010141m0.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.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011990070343017578 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20866040, '2025-02-27' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1627066,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023754119873046875 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1627066 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20860721, 'dashboard_result_id': 9122040, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860721_28-02-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860757, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20861260, 'dashboard_result_id': 9122041, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861260_28-02-2025_05_35_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20861269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861272, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20861699, 'dashboard_result_id': 9122042, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861699_28-02-2025_05_36_11.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20861724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861735, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20862140, 'dashboard_result_id': 9122043, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20862140_28-02-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20862165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20862166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20862167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20862168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20862169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20862170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20862171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20862172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20862173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20862174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20862175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20862176, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20863329, 'dashboard_result_id': 9122044, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20863329_28-02-2025_05_37_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20863355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20863356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20863357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20863358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20863359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20863360, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20863361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20863362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20863363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20863364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20863365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20863366, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20864042, 'dashboard_result_id': 9122045, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864042_28-02-2025_05_38_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864078, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20864373, 'dashboard_result_id': 9122046, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864373_28-02-2025_05_38_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864445, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20865062, 'dashboard_result_id': 9122047, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865062_28-02-2025_05_39_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20865114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865122, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20865620, 'dashboard_result_id': 9122048, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865620_28-02-2025_05_40_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20865621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865632, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20866040, 'dashboard_result_id': 9122049, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866040_27-02-2025_03_05_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20866053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20866055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866076, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20866770, 'dashboard_result_id': 9122050, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866770_27-02-2025_03_19_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20866771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20866775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866782, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20866940, 'dashboard_result_id': 9122051, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866940_27-02-2025_03_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20867028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867036, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20867850, 'dashboard_result_id': 9122052, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20867850_27-02-2025_03_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20867851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867862, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20868442, 'dashboard_result_id': 9122053, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868442_27-02-2025_04_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20868470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868478, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20868803, 'dashboard_result_id': 9122054, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868803_28-02-2025_00_03_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20868852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868863, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20870132, 'dashboard_result_id': 9122055, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870132_27-02-2025_05_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870168, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20870333, 'dashboard_result_id': 9122056, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870333_27-02-2025_06_12_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870361, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20870893, 'dashboard_result_id': 9122057, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870893_27-02-2025_05_49_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870953, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20871369, 'dashboard_result_id': 9122058, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20871369_27-02-2025_06_00_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20871394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20871395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20871396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20871397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20871398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20871399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20871400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20871401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20871402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20871403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20871404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20871405, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20872052, 'dashboard_result_id': 9122059, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872052_27-02-2025_06_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872064, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20872521, 'dashboard_result_id': 9122060, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872521_27-02-2025_06_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872581, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20872924, 'dashboard_result_id': 9122061, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872924_27-02-2025_06_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20872949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872960, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20873480, 'dashboard_result_id': 9122062, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20873480_27-02-2025_07_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20873521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20873522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20873523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20873524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20873525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20873526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20873527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20873528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20873529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20873530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20873531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20873532, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20874077, 'dashboard_result_id': 9122063, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874077_27-02-2025_07_05_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874113, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20874395, 'dashboard_result_id': 9122064, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874395_27-02-2025_07_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874407, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20875364, 'dashboard_result_id': 9122065, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20875364_27-02-2025_07_51_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20875389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20875390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20875391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20875392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20875393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20875394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20875395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20875396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20875397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20875398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20875399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20875400, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20876110, 'dashboard_result_id': 9122066, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876110_27-02-2025_08_02_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20876138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876147, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20876573, 'dashboard_result_id': 9122067, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876573_27-02-2025_08_21_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20876622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876633, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20877267, 'dashboard_result_id': 9122068, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877267_27-02-2025_08_28_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877327, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20877784, 'dashboard_result_id': 9122069, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877784_27-02-2025_08_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877842, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877845, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20878350, 'dashboard_result_id': 9122070, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20878350_27-02-2025_09_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20878424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20878425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20878426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20878427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20878428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20878429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20878430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20878431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20878432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20878433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20878434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20878435, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20882589, 'dashboard_result_id': 9122071, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882589_27-02-2025_15_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882615, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20882779, 'dashboard_result_id': 9122072, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882779_27-02-2025_15_33_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882818, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20883420, 'dashboard_result_id': 9122073, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20883420_27-02-2025_15_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20883423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20883424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20883425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20883426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20883427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20883428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20883429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20883430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20883431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20883432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20883433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20883434, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20884042, 'dashboard_result_id': 9122074, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884042_27-02-2025_16_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20884050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884057, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20884527, 'dashboard_result_id': 9122075, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884527_27-02-2025_16_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20884535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884546, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20885270, 'dashboard_result_id': 9122076, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20885270_28-02-2025_00_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20885277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20885278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20885279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20885280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20885281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20885282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20885283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20885284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20885285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20885286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20885287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20885288, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20887333, 'dashboard_result_id': 9122077, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20887333_28-02-2025_00_02_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20887341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20887342, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20887343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20887344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20887345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20887346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20887347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20887348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20887349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20887350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20887351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20887352, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20886751, 'dashboard_result_id': 9122078, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886751_27-02-2025_17_35_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886795, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20886797, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20886275, 'dashboard_result_id': 9122079, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886275_27-02-2025_17_28_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20886306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886316, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20886276, 'dashboard_result_id': 9122080, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886276_28-02-2025_00_02_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20886281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886292, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20888563, 'dashboard_result_id': 9122081, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888563_27-02-2025_19_02_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888576, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20888803, 'dashboard_result_id': 9122082, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888803_27-02-2025_19_16_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888816, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20889286, 'dashboard_result_id': 9122083, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20889286_27-02-2025_19_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20889290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20889291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20889292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20889293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20889294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20889295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20889296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20889297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20889298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20889299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20889300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20889301, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20890003, 'dashboard_result_id': 9122084, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890003_27-02-2025_19_49_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20890015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890018, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20890554, 'dashboard_result_id': 9122085, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890554_27-02-2025_20_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20890595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890618, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20891069, 'dashboard_result_id': 9122086, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891069_27-02-2025_20_18_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20891076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891087, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20891687, 'dashboard_result_id': 9122087, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891687_27-02-2025_20_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20891704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891708, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20892388, 'dashboard_result_id': 9122088, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20892388_27-02-2025_21_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20892411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20892412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20892413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20892414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20892415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20892416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20892417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20892418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20892419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20892420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20892421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20892422, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20893370, 'dashboard_result_id': 9122089, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893370_27-02-2025_21_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20893382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893385, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20893610, 'dashboard_result_id': 9122090, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893610_27-02-2025_21_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20893645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893656, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20894367, 'dashboard_result_id': 9122091, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20894367_27-02-2025_21_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20894372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20894373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20894374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20894375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20894376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20894377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20894378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20894379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20894380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20894381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20894382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20894383, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20895071, 'dashboard_result_id': 9122092, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895071_27-02-2025_22_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20895103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895109, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20895563, 'dashboard_result_id': 9122093, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895563_27-02-2025_22_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20895572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895583, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20896126, 'dashboard_result_id': 9122094, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896126_27-02-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20896140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896151, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20896823, 'dashboard_result_id': 9122095, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896823_27-02-2025_22_48_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20896843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896844, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20897801, 'dashboard_result_id': 9122096, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20897801_27-02-2025_23_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20897803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20897804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20897805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20897806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20897807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20897808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20897809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20897810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20897811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20897812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20897813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20897814, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20898262, 'dashboard_result_id': 9122097, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898262_27-02-2025_23_19_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898288, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20898773, 'dashboard_result_id': 9122098, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898773_27-02-2025_23_42_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898788, 'pht': 3726}}"}, {'dashboat_entry_day': 1627066, 'dashboard_run_id': 1637512, 'mtr_portfolio_id': 20899495, 'dashboard_result_id': 9122099, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20899495_28-02-2025_01_09_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20899501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20899502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20899503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20899504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20899505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20899506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20899507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20899508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20899509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20899510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20899511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20899512, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20860721 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622171, 'mtr_portfolio_id': 20860721, 'created_at': datetime.datetime(2025, 2, 28, 5, 34, 29), 'result': '0.1148015052686702', 'result_long': None, 'result_double': None}] Qualite : 0.1148015052686702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20860721 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860721_28-02-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20860721 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860721_28-02-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860757, 'pht': 3726}}" where mtr_portfolio_id = 20860721 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20860721 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122040, 0.1148015052686702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860721_28-02-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860757, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20861260 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622172, 'mtr_portfolio_id': 20861260, 'created_at': datetime.datetime(2025, 2, 28, 5, 35, 30), 'result': '0.11227464800831555', 'result_long': None, 'result_double': None}] Qualite : 0.11227464800831555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20861260 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861260_28-02-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20861260 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861260_28-02-2025_05_35_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20861269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861272, 'pht': 3726}}" where mtr_portfolio_id = 20861260 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20861260 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122041, 0.11227464800831555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861260_28-02-2025_05_35_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20861269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861272, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20861699 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622173, 'mtr_portfolio_id': 20861699, 'created_at': datetime.datetime(2025, 2, 28, 5, 36, 8), 'result': '0.10966776661868934', 'result_long': None, 'result_double': None}] Qualite : 0.10966776661868934 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20861699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861699_28-02-2025_05_36_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20861699 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861699_28-02-2025_05_36_11.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20861724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861735, 'pht': 3726}}" where mtr_portfolio_id = 20861699 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20861699 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122042, 0.10966776661868934, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20861699_28-02-2025_05_36_11.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20861724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20861725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20861726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20861727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20861728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20861729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20861730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20861731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20861732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20861733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20861734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20861735, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20862140 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622174, 'mtr_portfolio_id': 20862140, 'created_at': datetime.datetime(2025, 2, 28, 5, 36, 31), 'result': '0.1116270555139119', 'result_long': None, 'result_double': None}] Qualite : 0.1116270555139119 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20862140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20862140_28-02-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20862140 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20862140_28-02-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20862165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20862166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20862167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20862168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20862169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20862170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20862171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20862172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20862173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20862174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20862175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20862176, 'pht': 3726}}" where mtr_portfolio_id = 20862140 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20862140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122043, 0.1116270555139119, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20862140_28-02-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20862165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20862166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20862167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20862168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20862169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20862170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20862171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20862172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20862173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20862174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20862175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20862176, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20863329 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622175, 'mtr_portfolio_id': 20863329, 'created_at': datetime.datetime(2025, 2, 28, 5, 37, 29), 'result': '0.11119275956160327', 'result_long': None, 'result_double': None}] Qualite : 0.11119275956160327 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20863329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20863329_28-02-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20863329 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20863329_28-02-2025_05_37_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20863355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20863356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20863357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20863358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20863359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20863360, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20863361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20863362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20863363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20863364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20863365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20863366, 'pht': 3726}}" where mtr_portfolio_id = 20863329 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20863329 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122044, 0.11119275956160327, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20863329_28-02-2025_05_37_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20863355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20863356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20863357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20863358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20863359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20863360, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20863361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20863362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20863363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20863364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20863365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20863366, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20864042 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622176, 'mtr_portfolio_id': 20864042, 'created_at': datetime.datetime(2025, 2, 28, 5, 37, 58), 'result': '0.09495077133721073', 'result_long': None, 'result_double': None}] Qualite : 0.09495077133721073 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20864042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864042_28-02-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20864042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864042_28-02-2025_05_38_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864078, 'pht': 3726}}" where mtr_portfolio_id = 20864042 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20864042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122045, 0.09495077133721073, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864042_28-02-2025_05_38_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864078, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20864373 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622177, 'mtr_portfolio_id': 20864373, 'created_at': datetime.datetime(2025, 2, 28, 5, 38, 30), 'result': '0.11324684522716426', 'result_long': None, 'result_double': None}] Qualite : 0.11324684522716426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20864373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864373_28-02-2025_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20864373 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864373_28-02-2025_05_38_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864445, 'pht': 3726}}" where mtr_portfolio_id = 20864373 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20864373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122046, 0.11324684522716426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20864373_28-02-2025_05_38_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20864434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20864435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20864436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20864437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20864438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20864439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20864440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20864441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20864442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20864443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20864444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20864445, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20865062 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622178, 'mtr_portfolio_id': 20865062, 'created_at': datetime.datetime(2025, 2, 28, 5, 39, 29), 'result': '0.11126908859668462', 'result_long': None, 'result_double': None}] Qualite : 0.11126908859668462 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20865062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865062_28-02-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20865062 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865062_28-02-2025_05_39_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20865114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865122, 'pht': 3726}}" where mtr_portfolio_id = 20865062 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20865062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122047, 0.11126908859668462, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865062_28-02-2025_05_39_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20865114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865122, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20865620 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622179, 'mtr_portfolio_id': 20865620, 'created_at': datetime.datetime(2025, 2, 28, 5, 40), 'result': '0.10811464707363155', 'result_long': None, 'result_double': None}] Qualite : 0.10811464707363155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20865620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865620_28-02-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20865620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865620_28-02-2025_05_40_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20865621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865632, 'pht': 3726}}" where mtr_portfolio_id = 20865620 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20865620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122048, 0.10811464707363155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20865620_28-02-2025_05_40_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20865621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20865622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20865623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20865624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20865625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20865626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20865627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20865628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20865629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20865630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20865631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20865632, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20866040 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622180, 'mtr_portfolio_id': 20866040, 'created_at': datetime.datetime(2025, 2, 28, 5, 40, 31), 'result': '0.10100114423755262', 'result_long': None, 'result_double': None}] Qualite : 0.10100114423755262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20866040 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866040_28-02-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20866040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866040_28-02-2025_05_40_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20866053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20866055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866076, 'pht': 3726}}" where mtr_portfolio_id = 20866040 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20866040 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122049, 0.10100114423755262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866040_28-02-2025_05_40_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20866053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20866055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866076, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20866770 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618454, 'mtr_portfolio_id': 20866770, 'created_at': datetime.datetime(2025, 2, 27, 3, 19, 1), 'result': '0.10361349601107049', 'result_long': None, 'result_double': None}] Qualite : 0.10361349601107049 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20866770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866770_27-02-2025_03_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20866770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866770_27-02-2025_03_19_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20866771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20866775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866782, 'pht': 3726}}" where mtr_portfolio_id = 20866770 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20866770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122050, 0.10361349601107049, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866770_27-02-2025_03_19_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20866771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20866772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20866773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20866774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20866775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20866776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20866777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20866778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20866779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20866780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20866781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20866782, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20866940 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618473, 'mtr_portfolio_id': 20866940, 'created_at': datetime.datetime(2025, 2, 27, 3, 32, 59), 'result': '0.11092997506999942', 'result_long': None, 'result_double': None}] Qualite : 0.11092997506999942 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20866940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866940_27-02-2025_03_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20866940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866940_27-02-2025_03_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20867028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867036, 'pht': 3726}}" where mtr_portfolio_id = 20866940 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20866940 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122051, 0.11092997506999942, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20866940_27-02-2025_03_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20867028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867036, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20867850 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618516, 'mtr_portfolio_id': 20867850, 'created_at': datetime.datetime(2025, 2, 27, 3, 48, 59), 'result': '0.11071741124791183', 'result_long': None, 'result_double': None}] Qualite : 0.11071741124791183 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20867850 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20867850_27-02-2025_03_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20867850 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20867850_27-02-2025_03_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20867851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867862, 'pht': 3726}}" where mtr_portfolio_id = 20867850 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20867850 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122052, 0.11071741124791183, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20867850_27-02-2025_03_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20867851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20867852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20867853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20867854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20867855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20867856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20867857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20867858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20867859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20867860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20867861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20867862, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20868442 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618547, 'mtr_portfolio_id': 20868442, 'created_at': datetime.datetime(2025, 2, 27, 4, 2, 57), 'result': '0.09345155181391182', 'result_long': None, 'result_double': None}] Qualite : 0.09345155181391182 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20868442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868442_27-02-2025_04_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20868442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868442_27-02-2025_04_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20868470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868478, 'pht': 3726}}" where mtr_portfolio_id = 20868442 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20868442 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122053, 0.09345155181391182, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868442_27-02-2025_04_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20868470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868478, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20868803 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618587, 'mtr_portfolio_id': 20868803, 'created_at': datetime.datetime(2025, 2, 28, 0, 3, 29), 'result': '0.0994311152597264', 'result_long': None, 'result_double': None}] Qualite : 0.0994311152597264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20868803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868803_28-02-2025_00_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20868803 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868803_28-02-2025_00_03_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20868852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868863, 'pht': 3726}}" where mtr_portfolio_id = 20868803 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20868803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122054, 0.0994311152597264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20868803_28-02-2025_00_03_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20868852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20868853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20868854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20868855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20868856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20868857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20868858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20868859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20868860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20868861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20868862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20868863, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20870132 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618679, 'mtr_portfolio_id': 20870132, 'created_at': datetime.datetime(2025, 2, 27, 5, 19), 'result': '0.11131467076118287', 'result_long': None, 'result_double': None}] Qualite : 0.11131467076118287 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20870132 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870132_27-02-2025_05_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20870132 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870132_27-02-2025_05_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870168, 'pht': 3726}}" where mtr_portfolio_id = 20870132 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20870132 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122055, 0.11131467076118287, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870132_27-02-2025_05_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870168, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20870333 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618788, 'mtr_portfolio_id': 20870333, 'created_at': datetime.datetime(2025, 2, 27, 6, 11, 58), 'result': '0.10557275683167928', 'result_long': None, 'result_double': None}] Qualite : 0.10557275683167928 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20870333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870333_27-02-2025_06_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20870333 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870333_27-02-2025_06_12_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870361, 'pht': 3726}}" where mtr_portfolio_id = 20870333 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20870333 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122056, 0.10557275683167928, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870333_27-02-2025_06_12_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870361, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20870893 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618855, 'mtr_portfolio_id': 20870893, 'created_at': datetime.datetime(2025, 2, 27, 5, 49, 3), 'result': '0.11854108393072525', 'result_long': None, 'result_double': None}] Qualite : 0.11854108393072525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20870893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870893_27-02-2025_05_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20870893 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870893_27-02-2025_05_49_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870953, 'pht': 3726}}" where mtr_portfolio_id = 20870893 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20870893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122057, 0.11854108393072525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20870893_27-02-2025_05_49_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20870942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20870943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20870944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20870946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20870947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20870948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20870949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20870950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20870951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20870952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20870953, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20871369 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618880, 'mtr_portfolio_id': 20871369, 'created_at': datetime.datetime(2025, 2, 27, 6, 0, 58), 'result': '0.1010024022982039', 'result_long': None, 'result_double': None}] Qualite : 0.1010024022982039 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20871369 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20871369_27-02-2025_06_00_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20871369 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20871369_27-02-2025_06_00_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20871394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20871395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20871396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20871397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20871398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20871399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20871400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20871401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20871402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20871403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20871404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20871405, 'pht': 3726}}" where mtr_portfolio_id = 20871369 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20871369 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122058, 0.1010024022982039, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20871369_27-02-2025_06_00_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20871394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20871395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20871396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20871397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20871398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20871399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20871400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20871401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20871402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20871403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20871404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20871405, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20872052 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618923, 'mtr_portfolio_id': 20872052, 'created_at': datetime.datetime(2025, 2, 27, 6, 20, 59), 'result': '0.09926909806053924', 'result_long': None, 'result_double': None}] Qualite : 0.09926909806053924 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20872052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872052_27-02-2025_06_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20872052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872052_27-02-2025_06_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872064, 'pht': 3726}}" where mtr_portfolio_id = 20872052 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20872052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122059, 0.09926909806053924, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872052_27-02-2025_06_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872064, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20872521 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618952, 'mtr_portfolio_id': 20872521, 'created_at': datetime.datetime(2025, 2, 27, 6, 32, 59), 'result': '0.09852777283076722', 'result_long': None, 'result_double': None}] Qualite : 0.09852777283076722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20872521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872521_27-02-2025_06_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20872521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872521_27-02-2025_06_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872581, 'pht': 3726}}" where mtr_portfolio_id = 20872521 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20872521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122060, 0.09852777283076722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872521_27-02-2025_06_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20872571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872581, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20872924 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618983, 'mtr_portfolio_id': 20872924, 'created_at': datetime.datetime(2025, 2, 27, 6, 49, 1), 'result': '0.1023900146996363', 'result_long': None, 'result_double': None}] Qualite : 0.1023900146996363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20872924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872924_27-02-2025_06_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20872924 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872924_27-02-2025_06_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20872949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872960, 'pht': 3726}}" where mtr_portfolio_id = 20872924 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20872924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122061, 0.1023900146996363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20872924_27-02-2025_06_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20872949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20872950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20872951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20872952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20872953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20872954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20872955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20872956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20872957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20872958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20872959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20872960, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20873480 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619022, 'mtr_portfolio_id': 20873480, 'created_at': datetime.datetime(2025, 2, 27, 7, 2, 57), 'result': '0.10023927842459618', 'result_long': None, 'result_double': None}] Qualite : 0.10023927842459618 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20873480 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20873480_27-02-2025_07_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20873480 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20873480_27-02-2025_07_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20873521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20873522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20873523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20873524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20873525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20873526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20873527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20873528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20873529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20873530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20873531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20873532, 'pht': 3726}}" where mtr_portfolio_id = 20873480 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20873480 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122062, 0.10023927842459618, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20873480_27-02-2025_07_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20873521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20873522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20873523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20873524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20873525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20873526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20873527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20873528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20873529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20873530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20873531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20873532, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20874077 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619072, 'mtr_portfolio_id': 20874077, 'created_at': datetime.datetime(2025, 2, 27, 7, 4, 59), 'result': '0.09069099582568817', 'result_long': None, 'result_double': None}] Qualite : 0.09069099582568817 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20874077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874077_27-02-2025_07_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20874077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874077_27-02-2025_07_05_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874113, 'pht': 3726}}" where mtr_portfolio_id = 20874077 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20874077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122063, 0.09069099582568817, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874077_27-02-2025_07_05_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874113, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20874395 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619092, 'mtr_portfolio_id': 20874395, 'created_at': datetime.datetime(2025, 2, 27, 7, 32, 59), 'result': '0.11975329892649954', 'result_long': None, 'result_double': None}] Qualite : 0.11975329892649954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20874395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874395_27-02-2025_07_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20874395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874395_27-02-2025_07_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874407, 'pht': 3726}}" where mtr_portfolio_id = 20874395 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20874395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122064, 0.11975329892649954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20874395_27-02-2025_07_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20874396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20874397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20874398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20874399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20874400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20874401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20874402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20874403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20874404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20874405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20874406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20874407, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20875364 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619153, 'mtr_portfolio_id': 20875364, 'created_at': datetime.datetime(2025, 2, 27, 7, 51), 'result': '0.10110839908340845', 'result_long': None, 'result_double': None}] Qualite : 0.10110839908340845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20875364 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20875364_27-02-2025_07_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20875364 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20875364_27-02-2025_07_51_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20875389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20875390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20875391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20875392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20875393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20875394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20875395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20875396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20875397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20875398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20875399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20875400, 'pht': 3726}}" where mtr_portfolio_id = 20875364 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20875364 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122065, 0.10110839908340845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20875364_27-02-2025_07_51_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20875389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20875390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20875391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20875392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20875393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20875394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20875395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20875396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20875397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20875398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20875399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20875400, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20876110 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619192, 'mtr_portfolio_id': 20876110, 'created_at': datetime.datetime(2025, 2, 27, 8, 2, 30), 'result': '0.1102986305129075', 'result_long': None, 'result_double': None}] Qualite : 0.1102986305129075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20876110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876110_27-02-2025_08_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20876110 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876110_27-02-2025_08_02_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20876138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876147, 'pht': 3726}}" where mtr_portfolio_id = 20876110 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20876110 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122066, 0.1102986305129075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876110_27-02-2025_08_02_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20876138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876147, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20876573 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619245, 'mtr_portfolio_id': 20876573, 'created_at': datetime.datetime(2025, 2, 27, 8, 20, 59), 'result': '0.11002349381329819', 'result_long': None, 'result_double': None}] Qualite : 0.11002349381329819 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20876573 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876573_27-02-2025_08_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20876573 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876573_27-02-2025_08_21_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20876622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876633, 'pht': 3726}}" where mtr_portfolio_id = 20876573 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20876573 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122067, 0.11002349381329819, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876573_27-02-2025_08_21_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20876622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20876623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20876624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20876625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20876626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20876627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20876628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20876629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20876630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20876631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20876632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20876633, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20877267 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619288, 'mtr_portfolio_id': 20877267, 'created_at': datetime.datetime(2025, 2, 27, 8, 28, 58), 'result': '0.12302051875056302', 'result_long': None, 'result_double': None}] Qualite : 0.12302051875056302 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20877267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877267_27-02-2025_08_28_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20877267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877267_27-02-2025_08_28_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877327, 'pht': 3726}}" where mtr_portfolio_id = 20877267 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20877267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122068, 0.12302051875056302, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877267_27-02-2025_08_28_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877327, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20877784 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619335, 'mtr_portfolio_id': 20877784, 'created_at': datetime.datetime(2025, 2, 27, 8, 50, 58), 'result': '0.1105447482674109', 'result_long': None, 'result_double': None}] Qualite : 0.1105447482674109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20877784 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877784_27-02-2025_08_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20877784 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877784_27-02-2025_08_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877842, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877845, 'pht': 3726}}" where mtr_portfolio_id = 20877784 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20877784 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122069, 0.1105447482674109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20877784_27-02-2025_08_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20877834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20877835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20877836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20877837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20877838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20877839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20877840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20877841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20877842, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20877843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20877844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20877845, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20878350 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619420, 'mtr_portfolio_id': 20878350, 'created_at': datetime.datetime(2025, 2, 27, 9, 3), 'result': '0.10428604005050228', 'result_long': None, 'result_double': None}] Qualite : 0.10428604005050228 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20878350 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20878350_27-02-2025_09_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20878350 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20878350_27-02-2025_09_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20878424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20878425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20878426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20878427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20878428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20878429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20878430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20878431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20878432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20878433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20878434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20878435, 'pht': 3726}}" where mtr_portfolio_id = 20878350 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20878350 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122070, 0.10428604005050228, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20878350_27-02-2025_09_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20878424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20878425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20878426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20878427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20878428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20878429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20878430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20878431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20878432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20878433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20878434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20878435, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20882589 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619814, 'mtr_portfolio_id': 20882589, 'created_at': datetime.datetime(2025, 2, 27, 15, 19, 1), 'result': '0.09821296787961896', 'result_long': None, 'result_double': None}] Qualite : 0.09821296787961896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20882589 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882589_27-02-2025_15_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20882589 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882589_27-02-2025_15_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882615, 'pht': 3726}}" where mtr_portfolio_id = 20882589 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20882589 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122071, 0.09821296787961896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882589_27-02-2025_15_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882615, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20882779 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619828, 'mtr_portfolio_id': 20882779, 'created_at': datetime.datetime(2025, 2, 27, 15, 33, 1), 'result': '0.1090080073204474', 'result_long': None, 'result_double': None}] Qualite : 0.1090080073204474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20882779 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882779_27-02-2025_15_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20882779 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882779_27-02-2025_15_33_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882818, 'pht': 3726}}" where mtr_portfolio_id = 20882779 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20882779 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122072, 0.1090080073204474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20882779_27-02-2025_15_33_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20882807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20882808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20882809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20882810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20882811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20882812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20882813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20882814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20882815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20882816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20882817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20882818, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20883420 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619879, 'mtr_portfolio_id': 20883420, 'created_at': datetime.datetime(2025, 2, 27, 15, 46, 58), 'result': '0.09184607583997194', 'result_long': None, 'result_double': None}] Qualite : 0.09184607583997194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20883420 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20883420_27-02-2025_15_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20883420 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20883420_27-02-2025_15_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20883423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20883424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20883425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20883426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20883427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20883428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20883429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20883430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20883431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20883432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20883433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20883434, 'pht': 3726}}" where mtr_portfolio_id = 20883420 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20883420 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122073, 0.09184607583997194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20883420_27-02-2025_15_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20883423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20883424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20883425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20883426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20883427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20883428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20883429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20883430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20883431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20883432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20883433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20883434, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20884042 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619919, 'mtr_portfolio_id': 20884042, 'created_at': datetime.datetime(2025, 2, 27, 16, 2, 30), 'result': '0.11034769359225328', 'result_long': None, 'result_double': None}] Qualite : 0.11034769359225328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20884042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884042_27-02-2025_16_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20884042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884042_27-02-2025_16_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20884050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884057, 'pht': 3726}}" where mtr_portfolio_id = 20884042 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20884042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122074, 0.11034769359225328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884042_27-02-2025_16_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20884050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20884527 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2619959, 'mtr_portfolio_id': 20884527, 'created_at': datetime.datetime(2025, 2, 27, 16, 19), 'result': '0.09804145178447818', 'result_long': None, 'result_double': None}] Qualite : 0.09804145178447818 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20884527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884527_27-02-2025_16_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20884527 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884527_27-02-2025_16_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20884535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884546, 'pht': 3726}}" where mtr_portfolio_id = 20884527 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20884527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122075, 0.09804145178447818, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20884527_27-02-2025_16_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20884535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20884536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20884537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20884538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20884539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20884540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20884541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20884542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20884543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20884544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20884545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20884546, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20885270 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620027, 'mtr_portfolio_id': 20885270, 'created_at': datetime.datetime(2025, 2, 28, 0, 2, 58), 'result': '0.10795659265186175', 'result_long': None, 'result_double': None}] Qualite : 0.10795659265186175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20885270 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20885270_28-02-2025_00_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20885270 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20885270_28-02-2025_00_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20885277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20885278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20885279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20885280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20885281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20885282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20885283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20885284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20885285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20885286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20885287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20885288, 'pht': 3726}}" where mtr_portfolio_id = 20885270 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20885270 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122076, 0.10795659265186175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20885270_28-02-2025_00_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20885277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20885278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20885279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20885280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20885281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20885282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20885283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20885284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20885285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20885286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20885287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20885288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20887333 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20887333 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20887333 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20887333 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20887333 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20887333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20887333_28-02-2025_00_02_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20887333 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20887333_28-02-2025_00_02_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20887341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20887342, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20887343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20887344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20887345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20887346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20887347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20887348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20887349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20887350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20887351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20887352, 'pht': 3726}}" where mtr_portfolio_id = 20887333 and dashboard_run_id = 1637512 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20886751 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20886751 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20886751 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20886751 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20886751 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20886751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886751_27-02-2025_17_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20886751 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886751_27-02-2025_17_35_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886795, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20886797, 'pht': 3726}}" where mtr_portfolio_id = 20886751 and dashboard_run_id = 1637512 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20886275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620125, 'mtr_portfolio_id': 20886275, 'created_at': datetime.datetime(2025, 2, 27, 17, 28, 59), 'result': '0.1309784332196013', 'result_long': None, 'result_double': None}] Qualite : 0.1309784332196013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20886275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886275_27-02-2025_17_28_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20886275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886275_27-02-2025_17_28_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20886306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886316, 'pht': 3726}}" where mtr_portfolio_id = 20886275 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20886275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122079, 0.1309784332196013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886275_27-02-2025_17_28_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20886306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886316, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20886276 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620126, 'mtr_portfolio_id': 20886276, 'created_at': datetime.datetime(2025, 2, 28, 0, 2, 28), 'result': '0.13040081746497625', 'result_long': None, 'result_double': None}] Qualite : 0.13040081746497625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20886276 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886276_28-02-2025_00_02_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20886276 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886276_28-02-2025_00_02_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20886281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886292, 'pht': 3726}}" where mtr_portfolio_id = 20886276 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20886276 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122080, 0.13040081746497625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20886276_28-02-2025_00_02_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20886281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20886282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20886283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20886284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20886285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20886286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20886287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20886288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20886289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20886290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20886291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20886292, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20888563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620432, 'mtr_portfolio_id': 20888563, 'created_at': datetime.datetime(2025, 2, 27, 19, 2, 30), 'result': '0.11445614732208792', 'result_long': None, 'result_double': None}] Qualite : 0.11445614732208792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20888563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888563_27-02-2025_19_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20888563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888563_27-02-2025_19_02_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888576, 'pht': 3726}}" where mtr_portfolio_id = 20888563 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20888563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122081, 0.11445614732208792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888563_27-02-2025_19_02_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888576, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20888803 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620478, 'mtr_portfolio_id': 20888803, 'created_at': datetime.datetime(2025, 2, 27, 19, 16, 30), 'result': '0.11441780183618139', 'result_long': None, 'result_double': None}] Qualite : 0.11441780183618139 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20888803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888803_27-02-2025_19_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20888803 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888803_27-02-2025_19_16_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888816, 'pht': 3726}}" where mtr_portfolio_id = 20888803 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20888803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122082, 0.11441780183618139, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20888803_27-02-2025_19_16_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20888805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20888806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20888807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20888808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20888809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20888810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20888811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20888812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20888813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20888814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20888815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20888816, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20889286 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620511, 'mtr_portfolio_id': 20889286, 'created_at': datetime.datetime(2025, 2, 27, 19, 33), 'result': '0.11280400264963816', 'result_long': None, 'result_double': None}] Qualite : 0.11280400264963816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20889286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20889286_27-02-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20889286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20889286_27-02-2025_19_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20889290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20889291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20889292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20889293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20889294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20889295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20889296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20889297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20889298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20889299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20889300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20889301, 'pht': 3726}}" where mtr_portfolio_id = 20889286 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20889286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122083, 0.11280400264963816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20889286_27-02-2025_19_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20889290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20889291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20889292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20889293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20889294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20889295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20889296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20889297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20889298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20889299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20889300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20889301, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20890003 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620568, 'mtr_portfolio_id': 20890003, 'created_at': datetime.datetime(2025, 2, 27, 19, 49, 31), 'result': '0.10022451860408225', 'result_long': None, 'result_double': None}] Qualite : 0.10022451860408225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20890003 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890003_27-02-2025_19_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20890003 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890003_27-02-2025_19_49_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20890015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890018, 'pht': 3726}}" where mtr_portfolio_id = 20890003 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20890003 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122084, 0.10022451860408225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890003_27-02-2025_19_49_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20890015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890018, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20890554 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620602, 'mtr_portfolio_id': 20890554, 'created_at': datetime.datetime(2025, 2, 27, 20, 2, 58), 'result': '0.10616702999369874', 'result_long': None, 'result_double': None}] Qualite : 0.10616702999369874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20890554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890554_27-02-2025_20_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20890554 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890554_27-02-2025_20_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20890595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890618, 'pht': 3726}}" where mtr_portfolio_id = 20890554 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20890554 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122085, 0.10616702999369874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20890554_27-02-2025_20_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20890595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20890602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20890608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20890610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20890611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20890612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20890613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20890614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20890615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20890616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20890617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20890618, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20891069 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620651, 'mtr_portfolio_id': 20891069, 'created_at': datetime.datetime(2025, 2, 27, 20, 18, 56), 'result': '0.09336526644196272', 'result_long': None, 'result_double': None}] Qualite : 0.09336526644196272 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20891069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891069_27-02-2025_20_18_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20891069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891069_27-02-2025_20_18_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20891076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891087, 'pht': 3726}}" where mtr_portfolio_id = 20891069 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20891069 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122086, 0.09336526644196272, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891069_27-02-2025_20_18_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20891076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891087, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20891687 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620708, 'mtr_portfolio_id': 20891687, 'created_at': datetime.datetime(2025, 2, 27, 20, 33), 'result': '0.10717665128492078', 'result_long': None, 'result_double': None}] Qualite : 0.10717665128492078 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20891687 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891687_27-02-2025_20_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20891687 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891687_27-02-2025_20_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20891704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891708, 'pht': 3726}}" where mtr_portfolio_id = 20891687 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20891687 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122087, 0.10717665128492078, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20891687_27-02-2025_20_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20891697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20891698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20891699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20891700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20891701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20891702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20891703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20891704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20891705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20891706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20891707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20891708, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20892388 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620787, 'mtr_portfolio_id': 20892388, 'created_at': datetime.datetime(2025, 2, 27, 21, 4, 59), 'result': '0.10311062081934114', 'result_long': None, 'result_double': None}] Qualite : 0.10311062081934114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20892388 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20892388_27-02-2025_21_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20892388 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20892388_27-02-2025_21_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20892411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20892412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20892413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20892414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20892415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20892416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20892417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20892418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20892419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20892420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20892421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20892422, 'pht': 3726}}" where mtr_portfolio_id = 20892388 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20892388 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122088, 0.10311062081934114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20892388_27-02-2025_21_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20892411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20892412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20892413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20892414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20892415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20892416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20892417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20892418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20892419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20892420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20892421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20892422, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20893370 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620871, 'mtr_portfolio_id': 20893370, 'created_at': datetime.datetime(2025, 2, 27, 21, 19), 'result': '0.10871501911800606', 'result_long': None, 'result_double': None}] Qualite : 0.10871501911800606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20893370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893370_27-02-2025_21_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20893370 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893370_27-02-2025_21_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20893382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893385, 'pht': 3726}}" where mtr_portfolio_id = 20893370 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20893370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122089, 0.10871501911800606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893370_27-02-2025_21_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20893382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893385, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20893610 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620894, 'mtr_portfolio_id': 20893610, 'created_at': datetime.datetime(2025, 2, 27, 21, 32, 59), 'result': '0.11500339892016034', 'result_long': None, 'result_double': None}] Qualite : 0.11500339892016034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20893610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893610_27-02-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20893610 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893610_27-02-2025_21_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20893645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893656, 'pht': 3726}}" where mtr_portfolio_id = 20893610 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20893610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122090, 0.11500339892016034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20893610_27-02-2025_21_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20893645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20893646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20893647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20893648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20893649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20893650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20893651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20893652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20893653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20893654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20893655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20893656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20894367 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620953, 'mtr_portfolio_id': 20894367, 'created_at': datetime.datetime(2025, 2, 27, 21, 48, 59), 'result': '0.10396153870773006', 'result_long': None, 'result_double': None}] Qualite : 0.10396153870773006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20894367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20894367_27-02-2025_21_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20894367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20894367_27-02-2025_21_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20894372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20894373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20894374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20894375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20894376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20894377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20894378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20894379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20894380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20894381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20894382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20894383, 'pht': 3726}}" where mtr_portfolio_id = 20894367 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20894367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122091, 0.10396153870773006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20894367_27-02-2025_21_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20894372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20894373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20894374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20894375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20894376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20894377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20894378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20894379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20894380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20894381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20894382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20894383, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20895071 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2620992, 'mtr_portfolio_id': 20895071, 'created_at': datetime.datetime(2025, 2, 27, 22, 2, 57), 'result': '0.11150699668191301', 'result_long': None, 'result_double': None}] Qualite : 0.11150699668191301 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20895071 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895071_27-02-2025_22_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20895071 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895071_27-02-2025_22_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20895103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895109, 'pht': 3726}}" where mtr_portfolio_id = 20895071 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20895071 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122092, 0.11150699668191301, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895071_27-02-2025_22_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20895103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895109, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20895563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621046, 'mtr_portfolio_id': 20895563, 'created_at': datetime.datetime(2025, 2, 27, 22, 18, 58), 'result': '0.12467542377611475', 'result_long': None, 'result_double': None}] Qualite : 0.12467542377611475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20895563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895563_27-02-2025_22_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20895563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895563_27-02-2025_22_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20895572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895583, 'pht': 3726}}" where mtr_portfolio_id = 20895563 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20895563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122093, 0.12467542377611475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20895563_27-02-2025_22_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20895572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20895573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20895574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20895575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20895576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20895577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20895578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20895579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20895580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20895581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20895582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20895583, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20896126 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621117, 'mtr_portfolio_id': 20896126, 'created_at': datetime.datetime(2025, 2, 27, 22, 32, 58), 'result': '0.09865698136596955', 'result_long': None, 'result_double': None}] Qualite : 0.09865698136596955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20896126 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896126_27-02-2025_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20896126 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896126_27-02-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20896140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896151, 'pht': 3726}}" where mtr_portfolio_id = 20896126 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20896126 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122094, 0.09865698136596955, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896126_27-02-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20896140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896151, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20896823 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621183, 'mtr_portfolio_id': 20896823, 'created_at': datetime.datetime(2025, 2, 27, 22, 48, 30), 'result': '0.09730255508821797', 'result_long': None, 'result_double': None}] Qualite : 0.09730255508821797 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20896823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896823_27-02-2025_22_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20896823 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896823_27-02-2025_22_48_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20896843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896844, 'pht': 3726}}" where mtr_portfolio_id = 20896823 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20896823 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122095, 0.09730255508821797, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20896823_27-02-2025_22_48_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20896833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20896834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20896835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20896836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20896837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20896838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20896839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20896840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20896841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20896842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20896843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20896844, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20897801 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621246, 'mtr_portfolio_id': 20897801, 'created_at': datetime.datetime(2025, 2, 27, 23, 2, 57), 'result': '0.11008026018811713', 'result_long': None, 'result_double': None}] Qualite : 0.11008026018811713 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20897801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20897801_27-02-2025_23_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20897801 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20897801_27-02-2025_23_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20897803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20897804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20897805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20897806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20897807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20897808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20897809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20897810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20897811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20897812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20897813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20897814, 'pht': 3726}}" where mtr_portfolio_id = 20897801 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20897801 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122096, 0.11008026018811713, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20897801_27-02-2025_23_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20897803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20897804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20897805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20897806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20897807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20897808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20897809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20897810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20897811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20897812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20897813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20897814, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20898262 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621276, 'mtr_portfolio_id': 20898262, 'created_at': datetime.datetime(2025, 2, 27, 23, 19, 58), 'result': '0.0993277605447961', 'result_long': None, 'result_double': None}] Qualite : 0.0993277605447961 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20898262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898262_27-02-2025_23_19_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20898262 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898262_27-02-2025_23_19_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898288, 'pht': 3726}}" where mtr_portfolio_id = 20898262 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20898262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122097, 0.0993277605447961, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898262_27-02-2025_23_19_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20898773 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621310, 'mtr_portfolio_id': 20898773, 'created_at': datetime.datetime(2025, 2, 27, 23, 42, 58), 'result': '0.09664323577625215', 'result_long': None, 'result_double': None}] Qualite : 0.09664323577625215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20898773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898773_27-02-2025_23_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20898773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898773_27-02-2025_23_42_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898788, 'pht': 3726}}" where mtr_portfolio_id = 20898773 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20898773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122098, 0.09664323577625215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20898773_27-02-2025_23_42_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20898777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20898778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20898779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20898780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20898781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20898782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20898783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20898784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20898785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20898786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20898787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20898788, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20899495 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621361, 'mtr_portfolio_id': 20899495, 'created_at': datetime.datetime(2025, 2, 28, 1, 9, 29), 'result': '0.12284329404489149', 'result_long': None, 'result_double': None}] Qualite : 0.12284329404489149 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20899495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20899495_28-02-2025_01_09_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20899495 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20899495_28-02-2025_01_09_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20899501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20899502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20899503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20899504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20899505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20899506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20899507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20899508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20899509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20899510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20899511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20899512, 'pht': 3726}}" where mtr_portfolio_id = 20899495 and dashboard_run_id = 1637512 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20899495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9122099, 0.12284329404489149, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20899495_28-02-2025_01_09_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20899501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20899502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20899503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20899504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20899505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20899506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20899507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20899508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20899509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20899510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20899511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20899512, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721,20861260,20861699,20862140,20863329,20864042,20864373,20865062,20865620,20866040,20866770,20866940,20867850,20868442,20868803,20870132,20870333,20870893,20871369,20872052,20872521,20872924,20873480,20874077,20874395,20875364,20876110,20876573,20877267,20877784,20878350,20882589,20882779,20883420,20884042,20884527,20885270,20887333,20886751,20886275,20886276,20888563,20888803,20889286,20890003,20890554,20891069,20891687,20892388,20893370,20893610,20894367,20895071,20895563,20896126,20896823,20897801,20898262,20898773,20899495) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,), (1339819112,), (1339819115,), (1339819119,), (1339819157,), (1339819161,), (1339819165,), (1339819168,), (1339819170,), (1339819171,), (1339819190,), (1339819193,), (1339819195,), (1339819197,), (1339819199,), (1339819228,), (1339819231,), (1339819234,), (1339819256,), (1339819258,), (1339819261,), (1339819270,), (1339819275,), (1339819276,), (1339819563,), (1339819574,), (1339819578,), (1339819808,), (1339819812,), (1339819826,), (1339819898,), (1339819903,), (1339819904,), (1339819936,), (1339819940,), (1339819942,), (1339819944,), (1339819945,), (1339820081,), (1339819975,), (1339820044,), (1339820076,), (1339820079,), (1339820207,), (1339820208,), (1339820209,), (1339820210,), (1339820212,), (1339820228,), (1339820231,), (1339821223,), (1339821583,), (1339821650,), (1339821653,), (1339821656,), (1339821658,), (1339821779,), (1339821782,), (1339821785,), (1339821787,), (1339821788,), (1339821803,), (1339821807,), (1339821811,), (1339821818,), (1339821830,), (1339821833,), (1339821836,), (1339821838,), (1339821840,), (1339821859,), (1339821862,), (1339821865,), (1339821872,), (1339821902,), (1339821904,), (1339821907,), (1339821910,), (1339821912,), (1339821913,), (1339821931,), (1339821934,), (1339821939,), (1339821943,), (1339821946,), (1339821985,), (1339821995,), (1339821999,), (1339822019,), (1339822021,), (1339822022,), (1339822041,), (1339822047,), (1339822052,), (1339822056,), (1339822122,), (1339822084,), (1339822090,), (1339822105,), (1339822116,), (1339822156,), (1339822159,), (1339822164,), (1339822166,), (1339822182,), (1339822192,), (1339822201,), (1339822205,), (1339822214,), (1339822219,), (1339822235,), (1339822238,), (1339822245,), (1339822248,), (1339822250,), (1339822277,), (1339822280,), (1339822283,), (1339822286,), (1339822288,), (1339822316,), (1339822318,), (1339822320,), (1339822322,), (1339822323,), (1339822623,), (1339822811,), (1339822943,), (1339823134,), (1339823186,), (1339823191,), (1339823193,), (1339823194,), (1339823197,), (1339823206,), (1339823610,), (1339823613,), (1339823616,), (1339823619,), (1339823621,), (1339823642,), (1339823649,), (1339823658,), (1339823851,), (1339823957,), (1339823971,), (1339823992,), (1339823995,), (1339823997,), (1339823999,), (1339824021,), (1339824024,), (1339824027,), (1339824029,), (1339824030,), (1339824033,), (1339824069,), (1339824072,), (1339824083,), (1339824087,), (1339824090,), (1339824134,), (1339824138,), (1339824142,), (1339824146,), (1339824149,), (1339824150,), (1339824179,), (1339824183,), (1339824187,), (1339824189,), (1339824191,), (1339824513,), (1339824395,), (1339824434,), (1339824482,), (1339824498,), (1339824508,), (1339824594,), (1339824596,), (1339824602,), (1339824605,), (1339824657,), (1339824659,), (1339824663,), (1339824666,), (1339824667,), (1339824669,), (1339824693,), (1339824701,), (1339824709,), (1339824713,), (1339824741,), (1339824744,), (1339824747,), (1339824750,), (1339824751,), (1339824752,), (1339824790,), (1339824793,), (1339824847,), (1339824863,), (1339824945,), (1339824948,), (1339824951,), (1339824954,), (1339824956,), (1339824961,), (1339824979,), (1339824983,), (1339824986,), (1339824988,), (1339824990,), (1339825007,), (1339825010,), (1339825013,), (1339825015,), (1339825016,), (1339825017,), (1339825078,), (1339825081,), (1339825084,), (1339825087,), (1339825089,), (1339825091,), (1339825112,), (1339825114,), (1339825117,), (1339825119,), (1339825384,), (1339825406,), (1339825411,), (1339825413,), (1339825414,), (1339825513,), (1339825518,), (1339825519,), (1339825520,), (1339825521,), (1339825523,), (1339825549,), (1339825552,), (1339825554,), (1339825557,), (1339825560,), (1339825565,), (1339825567,), (1339825569,), (1339825576,), (1339825669,), (1339828531,), (1339828535,), (1339828563,), (1339828586,), (1339828921,), (1339828935,), (1339828944,), (1339828948,), (1339829075,), (1339829078,), (1339829128,), (1339829131,), (1339829140,), (1339829150,), (1339829198,), (1339829205,), (1339829214,), (1339829218,), (1339829220,), (1339829221,), (1339829337,), (1339829345,), (1339829348,), (1339829385,), (1339829389,), (1339829399,), (1339829403,), (1339829407,), (1339829412,), (1339829415,), (1339829417,), (1339829427,), (1339829430,), (1339829432,), (1339829435,), (1339829443,), (1339829461,), (1339829464,), (1339829468,), (1339829472,), (1339829476,), (1339829490,), (1339829493,), (1339829495,), (1339829498,), (1339829509,), (1339829510,), (1339829533,), (1339829536,), (1339829539,), (1339829541,), (1339829554,), (1339829558,), (1339829568,), (1339829571,), (1339829573,), (1339829592,), (1339829595,), (1339829599,), (1339829602,), (1339829604,), (1339829606,), (1339829736,), (1339829830,), (1339829914,), (1339830225,), (1339830230,), (1339830233,), (1339830273,), (1339830341,), (1339830424,), (1339830543,), (1339830520,), (1339830523,), (1339830537,), (1339830588,), (1339831018,), (1339831022,), (1339831194,), (1339831196,), (1339831272,), (1339831275,), (1339831277,), (1339831292,), (1339831295,), (1339831298,), (1339831301,), (1339831894,), (1339831972,), (1339832051,), (1339832130,), (1339832205,), (1339832247,), (1339832264,), (1339832266,), (1339832267,), (1339832269,), (1339832270,), (1339832872,), (1339832887,), (1339832957,), (1339833305,), (1339833309,), (1339833313,), (1339833318,), (1339833325,), (1339833330,), (1339833489,), (1339833415,), (1339833435,), (1339833453,), (1339833457,), (1339833504,), (1339833512,), (1339833515,), (1339833518,), (1339833533,), (1339833537,), (1339833540,), (1339833542,), (1339833545,), (1339833548,), (1339834198,), (1339834212,), (1339834217,), (1339834264,), (1339834335,), (1339834393,), (1339834395,), (1339834397,), (1339834399,), (1339834401,), (1339834403,), (1339834418,), (1339834420,), (1339834478,), (1339834529,), (1339834651,), (1339834654,), (1339834658,), (1339834660,), (1339834662,), (1339834665,), (1339834677,), (1339834680,), (1339834683,), (1339834686,), (1339834689,), (1339834716,), (1339834720,), (1339834723,), (1339834726,), (1339834730,), (1339834731,), (1339834764,), (1339834771,), (1339834774,), (1339834776,), (1339834778,), (1339834779,), (1339834881,), (1339834897,), (1339834906,), (1339834928,), (1339834964,), (1339834968,), (1339834971,), (1339834973,), (1339834974,), (1339834976,), (1339835002,), (1339835011,), (1339835025,), (1339835029,), (1339835032,), (1339835035,), (1339835041,), (1339835046,), (1339835050,), (1339835054,), (1339835082,), (1339835085,), (1339835089,), (1339835092,), (1339835095,), (1339835224,), (1339835135,), (1339835192,), (1339835214,), (1339835283,), (1339835286,), (1339835290,), (1339835298,), (1339835305,), (1339835308,), (1339835328,), (1339835332,), (1339835336,), (1339835338,), (1339835341,), (1339835348,), (1339836072,), (1339836077,), (1339836079,), (1339836082,), (1339836234,), (1339836238,), (1339836249,), (1339836255,), (1339836256,), (1339836351,), (1339836355,), (1339836372,), (1339836386,), (1339836447,), (1339836449,), (1339836451,), (1339836489,), (1339836490,), (1339836492,), (1339836494,), (1339836501,), (1339836508,), (1339836512,), (1339836516,), (1339836520,), (1339836543,), (1339836547,), (1339836551,), (1339836580,), (1339836590,), (1339836600,), (1339836603,), (1339836606,), (1339836608,), (1339836620,), (1339836623,), (1339836626,), (1339836629,), (1339836631,), (1339836643,), (1339836646,), (1339836682,), (1339836766,), (1339836847,), (1339836923,), (1339837108,), (1339837144,), (1339837165,), (1339837168,), (1339837169,), (1339837322,), (1339837324,), (1339837326,), (1339837328,), (1339837329,), (1339837330,), (1339837685,), (1339837627,), (1339837644,), (1339837657,), (1339837659,), (1339837680,), (1339837706,), (1339837709,), (1339837712,), (1339837716,), (1339837748,), (1339837752,), (1339837755,), (1339837759,), (1339837762,), (1339837764,), (1339837773,), (1339837776,), (1339837780,), (1339837787,), (1339837789,), (1339837821,), (1339837824,), (1339837827,), (1339837829,), (1339837830,), (1339837849,), (1339837915,), (1339837961,), (1339837963,), (1339837985,), (1339838007,), (1339838079,), (1339838110,), (1339838113,), (1339838116,), (1339838155,), (1339838158,), (1339838160,), (1339838164,), (1339838167,), (1339838187,), (1339838192,), (1339838194,), (1339838196,), (1339838198,), (1339838215,), (1339838217,), (1339838220,), (1339838224,), (1339838227,), (1339838229,), (1339838240,), (1339838244,), (1339838248,), (1339838251,), (1339838254,), (1339838270,), (1339838279,), (1339838290,), (1339838293,), (1339838294,), (1339838301,), (1339838304,), (1339838307,), (1339838309,), (1339838311,), (1339838885,), (1339838888,), (1339838891,), (1339838893,), (1339839163,), (1339839111,), (1339839114,), (1339839117,), (1339839119,), (1339839125,), (1339839550,), (1339839552,), (1339839607,), (1339839614,), (1339839626,), (1339839634,), (1339839638,), (1339839644,), (1339839646,), (1339839647,), (1339839666,), (1339839669,), (1339839670,), (1339840478,), (1339840481,), (1339840484,), (1339840487,), (1339840493,), (1339840500,), (1339840756,), (1339840759,), (1339840762,), (1339840987,), (1339841003,), (1339841038,), (1339841039,), (1339841040,), (1339841041,), (1339841063,), (1339841066,), (1339841070,), (1339841072,), (1339841077,), (1339841133,), (1339842371,), (1339842522,), (1339842524,), (1339842525,), (1339842527,), (1339842539,), (1339842541,), (1339842551,), (1339842554,), (1339842557,), (1339842561,), (1339842567,), (1339842568,), (1339842994,), (1339843006,), (1339843008,), (1339843010,), (1339843018,), (1339843022,), (1339843024,), (1339843026,), (1339843416,), (1339843107,), (1339843179,), (1339843251,), (1339843331,), (1339844057,), (1339844069,), (1339844070,), (1339844072,), (1339844096,), (1339844363,), (1339844466,), (1339844548,), (1339844609,), (1339844704,), (1339844825,), (1339845062,), (1339845206,), (1339845292,), (1339845463,), (1339845476,), (1339845481,), (1339845484,), (1339845486,), (1339845487,), (1339845523,), (1339845526,), (1339845528,), (1339845530,), (1339845532,), (1339845541,), (1339845543,), (1339845545,), (1339845554,), (1339845567,), (1339845586,), (1339845588,), (1339845590,), (1339845592,), (1339845593,), (1339845594,), (1339845606,), (1339845609,), (1339845612,), (1339845633,), (1339846183,), (1339846190,), (1339846192,), (1339846194,), (1339846196,), (1339846233,), (1339846273,), (1339846276,), (1339846291,), (1339846380,), (1339846434,), (1339846468,), (1339846471,), (1339846473,), (1339846475,), (1339846476,), (1339846478,), (1339846483,), (1339846486,), (1339846489,), (1339846494,), (1339846515,), (1339846518,), (1339846521,), (1339846523,), (1339846525,), (1339846527,), (1339846535,), (1339846537,), (1339846539,), (1339846544,), (1339846547,), (1339846794,), (1339846553,), (1339846700,), (1339846783,), (1339846788,), (1339846926,), (1339846965,), (1339846969,), (1339846972,), (1339846974,), (1339846976,), (1339846977,), (1339846997,), (1339847001,), (1339847014,), (1339847029,), (1339847069,), (1339847072,), (1339847080,), (1339847087,), (1339847089,), (1339847091,), (1339847096,), (1339847128,), (1339847176,), (1339847184,), (1339847214,), (1339847240,), (1339847289,), (1339847298,), (1339847300,), (1339847303,), (1339847312,), (1339847314,), (1339847316,), (1339847318,), (1339847320,), (1339847360,), (1339847363,), (1339847365,), (1339847367,), (1339847373,), (1339847376,), (1339847380,), (1339847385,), (1339847395,), (1339847397,), (1339847484,), (1339847490,), (1339847511,), (1339847525,), (1339847526,), (1339847550,), (1339847573,), (1339847576,), (1339847579,), (1339847581,), (1339847583,), (1339847607,), (1339847609,), (1339847614,), (1339847617,), (1339847619,), (1339847621,), (1339847630,), (1339847643,), (1339847646,), (1339847653,), (1339847662,), (1339847665,), (1339847667,), (1339847678,), (1339847690,), (1339847692,), (1339847702,), (1339847697,), (1339847700,), (1339848905,), (1339848908,), (1339848956,), (1339849292,), (1339849296,), (1339849297,), (1339849306,), (1339849318,), (1339849322,), (1339849325,), (1339849328,), (1339849329,), (1339849341,), (1339849344,), (1339849346,), (1339849454,), (1339849465,), (1339849468,), (1339849500,), (1339849505,), (1339849511,), (1339849514,), (1339849517,), (1339849519,), (1339849520,), (1339849521,), (1339849532,), (1339849536,), (1339849539,), (1339849540,), (1339849556,), (1339849559,), (1339849562,), (1339849566,), (1339849570,), (1339849577,), (1339849579,), (1339849581,), (1339849588,), (1339849739,), (1339849670,), (1339849683,), (1339849707,), (1339849733,), (1339849785,), (1339849790,), (1339849798,), (1339849805,), (1339849809,), (1339849810,), (1339849838,), (1339849843,), (1339849847,), (1339849850,), (1339849854,), (1339850420,), (1339850425,), (1339850428,), (1339850431,), (1339850530,), (1339850537,), (1339850660,), (1339850664,), (1339850673,), (1339850676,), (1339850760,), (1339850763,), (1339850789,), (1339850808,), (1339850817,), (1339850850,), (1339850899,), (1339850903,), (1339850907,), (1339850913,), (1339850914,), (1339850921,), (1339850927,), (1339850930,), (1339850932,), (1339850934,), (1339850936,), (1339850953,), (1339850956,), (1339850959,), (1339850962,), (1339850963,), (1339850977,), (1339850992,), (1339850994,), (1339850996,), (1339856496,), (1339856481,), (1339856995,), (1339857052,), (1339857094,), (1339857097,), (1339857142,), (1339857144,), (1339857154,), (1339857170,), (1339857172,), (1339857175,), (1339857179,), (1339857181,), (1339857191,), (1339857194,), (1339857197,), (1339857200,), (1339857201,), (1339857203,), (1339857209,), (1339857212,), (1339857216,), (1339857220,), (1339857222,), (1339857241,), (1339857243,), (1339857244,), (1339857246,), (1339857248,), (1339857250,), (1339857267,), (1339857270,), (1339857273,), (1339857275,), (1339857277,), (1339857279,), (1339857309,), (1339857292,), (1339857300,), (1339857304,), (1339857307,), (1339857332,), (1339857347,), (1339857353,), (1339857356,), (1339857560,), (1339857686,), (1339857797,), (1339857959,), (1339858187,), (1339858190,), (1339858192,), (1339858194,), (1339858196,), (1339858197,), (1339858206,), (1339858209,), (1339858212,), (1339858218,), (1339858223,), (1339858233,), (1339858236,), (1339858240,), (1339858243,), (1339858245,), (1339858281,), (1339858284,), (1339858288,), (1339858291,), (1339858296,), (1339858695,), (1339858758,), (1339858776,), (1339858792,), (1339858794,), (1339858795,), (1339858807,), (1339858810,), (1339858814,), (1339858816,), (1339858836,), (1339858839,), (1339858842,), (1339858845,), (1339858847,), (1339858861,), (1339858878,), (1339858882,), (1339858887,), (1339858890,), (1339858891,), (1339858912,), (1339858913,), (1339858915,), (1339858917,), (1339858927,), (1339858930,), (1339858933,), (1339858935,), (1339858937,), (1339858939,), (1339858979,), (1339858981,), (1339858983,), (1339858985,), (1339858987,), (1339858999,), (1339859003,), (1339859016,), (1339859023,), (1339859025,), (1339859031,), (1339859051,), (1339859039,), (1339859042,), (1339859046,), (1339859048,), (1339859075,), (1339859242,), (1339859387,), (1339859460,), (1339859462,), (1339859466,), (1339859612,), (1339859615,), (1339859619,), (1339859620,), (1339859622,), (1339859630,), (1339859641,), (1339859648,), (1339859649,), (1339859654,), (1339859660,), (1339859757,), (1339859814,), (1339859850,), (1339859853,), (1339859857,), (1339859877,), (1339859881,), (1339859883,), (1339859887,), (1339859917,), (1339859920,), (1339859923,), (1339859945,), (1339859947,), (1339859948,), (1339859962,), (1339859965,), (1339859967,), (1339859969,), (1339859990,), (1339859992,), (1339859995,), (1339859999,), (1339860072,), (1339860146,), (1339860171,), (1339860187,), (1339860190,), (1339860192,), (1339860234,), (1339860237,), (1339860241,), (1339860242,), (1339860244,), (1339860261,), (1339860272,), (1339860274,), (1339860303,), (1339860375,), (1339860408,), (1339860673,), (1339860705,), (1339860709,), (1339860712,), (1339860751,), (1339860858,), (1339860861,), (1339860866,), (1339860867,), (1339860874,), (1339860898,), (1339860901,), (1339860904,), (1339860907,), (1339860910,), (1339861051,), (1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,), (1339862975,), (1339862977,), (1339862978,), (1339862983,), (1339862986,), (1339862995,), (1339862997,), (1339863002,), (1339863013,), (1339863052,), (1339863028,), (1339863035,), (1339863043,), (1339863048,), (1339863050,), (1339863419,), (1339863442,), (1339863463,), (1339863469,), (1339863474,), (1339863489,), (1339863496,), (1339863507,), (1339863514,), (1339863516,), (1339863543,), (1339863546,), (1339863550,), (1339863552,), (1339863555,), (1339863593,), (1339863595,), (1339863598,), (1339863600,), (1339863602,), (1339863615,), (1339863617,), (1339863620,), (1339863622,), (1339863624,), (1339863628,), (1339863650,), (1339863653,), (1339863656,), (1339863659,), (1339863661,), (1339863674,), (1339863677,), (1339863680,), (1339863683,), (1339863685,), (1339863711,), (1339863721,), (1339863723,), (1339863727,), (1339863728,), (1339863756,), (1339863765,), (1339863769,), (1339863773,), (1339863776,), (1339863807,), (1339863811,), (1339863815,), (1339863825,), (1339863828,), (1339863830,), (1339863831,), (1339863838,), (1339863849,), (1339863853,), (1339863856,), (1339863868,), (1339863872,), (1339863876,), (1339863878,), (1339863880,), (1339863882,), (1339863890,), (1339863898,), (1339863903,), (1339863908,), (1339863911,), (1339863929,), (1339863933,), (1339863937,), (1339863941,), (1339863989,), (1339863954,), (1339863959,), (1339863971,), (1339863978,), (1339863986,), (1339864357,), (1339864368,), (1339864377,), (1339864382,), (1339864525,), (1339864555,), (1339864558,), (1339864562,), (1339864564,), (1339864566,), (1339864578,), (1339864586,), (1339864595,), (1339864601,), (1339864603,), (1339864612,), (1339864616,), (1339864625,), (1339864629,), (1339864653,), (1339864656,), (1339864660,), (1339864664,), (1339864668,), (1339864670,), (1339864678,), (1339864691,), (1339864696,), (1339864700,), (1339864722,), (1339864726,), (1339864741,), (1339864751,), (1339864754,), (1339864755,), (1339864842,), (1339864846,), (1339864851,), (1339864853,), (1339864891,), (1339864967,), (1339865054,), (1339865143,), (1339865222,), (1339865308,), (1339865618,), (1339865635,), (1339865664,), (1339865667,), (1339865693,), (1339865714,), (1339865734,), (1339865739,), (1339865741,), (1339865743,), (1339865752,), (1339865754,), (1339865759,), (1339865767,), (1339865772,), (1339865774,), (1339865801,), (1339865804,), (1339865809,), (1339865812,), (1339865828,), (1339865831,), (1339865834,), (1339865837,), (1339865839,), (1339865841,), (1339865878,), (1339865861,), (1339865867,), (1339865873,), (1339865876,), (1339865906,), (1339865909,), (1339865912,), (1339865920,), (1339865927,), (1339865950,), (1339865953,), (1339865956,), (1339865959,), (1339865966,), (1339865968,), (1339865988,), (1339865991,), (1339865994,), (1339865996,), (1339866043,), (1339866047,), (1339866050,), (1339866579,), (1339866587,), (1339866588,), (1339866591,), (1339866592,), (1339866873,), (1339866875,), (1339866878,), (1339866880,), (1339866987,), (1339867023,), (1339867026,), (1339867042,), (1339867185,), (1339867250,), (1339867253,), (1339867339,), (1339867342,), (1339867345,), (1339867348,), (1339867365,), (1339867368,), (1339867371,), (1339867374,), (1339867375,), (1339867403,), (1339867407,), (1339867410,), (1339867413,), (1339867415,), (1339867416,), (1339867447,), (1339867452,), (1339867454,), (1339867456,), (1339867474,), (1339867476,), (1339867477,), (1339867480,), (1339867493,), (1339867496,), (1339867499,), (1339867501,), (1339867503,), (1339867505,), (1339867519,), (1339867524,), (1339867526,), (1339867528,), (1339867529,), (1339867699,), (1339867545,), (1339867553,), (1339867566,), (1339867568,), (1339867570,), (1339867955,), (1339867971,), (1339868041,), (1339868043,), (1339868156,), (1339868159,), (1339868165,), (1339868169,), (1339868171,), (1339868203,), (1339868222,), (1339868229,), (1339868240,), (1339868242,), (1339868257,), (1339868267,), (1339868339,), (1339868342,), (1339868345,), (1339868347,), (1339868377,), (1339868380,), (1339868383,), (1339868392,), (1339868394,), (1339868430,), (1339868433,), (1339868436,), (1339868439,), (1339868446,), (1339868455,), (1339868533,), (1339868536,), (1339868538,), (1339868541,), (1339868557,), (1339868560,), (1339868562,), (1339868568,), (1339868573,), (1339868598,), (1339868601,), (1339868604,), (1339868607,), (1339868609,), (1339868625,), (1339868627,), (1339868630,), (1339868635,), (1339868642,), (1339868660,), (1339868663,), (1339868666,), (1339868670,), (1339868672,), (1339868674,), (1339868700,), (1339868703,), (1339868707,), (1339868711,), (1339868743,), (1339868745,), (1339868746,), (1339868749,), (1339868752,), (1339868755,), (1339868765,), (1339868770,), (1339868773,), (1339868775,), (1339868819,), (1339868792,), (1339868800,), (1339868812,), (1339868816,), (1339868818,), (1339868840,), (1339868864,), (1339868868,), (1339868873,), (1339868875,), (1339869282,), (1339869285,), (1339869370,), (1339869375,), (1339869414,), (1339869425,), (1339869459,), (1339869541,), (1339869631,), (1339869697,), (1339869727,), (1339869732,), (1339869738,), (1339869749,), (1339869752,), (1339869761,), (1339869791,), (1339869795,), (1339869799,), (1339869806,), (1339869844,), (1339869854,), (1339869859,), (1339869864,), (1339869868,), (1339869872,), (1339869901,), (1339869906,), (1339869912,), (1339869916,), (1339869920,), (1339870101,), (1339870110,), (1339870124,), (1339870134,), (1339870168,), (1339870174,), (1339870224,), (1339870234,), (1339870236,), (1339870240,), (1339870244,), (1339870248,), (1339870282,), (1339870286,), (1339870297,), (1339870300,), (1339870304,), (1339870345,), (1339870427,), (1339870536,), (1339870841,), (1339870844,), (1339870851,), (1339870856,), (1339870861,), (1339870866,), (1339870871,), (1339870873,), (1339870907,), (1339870914,), (1339870919,), (1339870928,), (1339870933,), (1339870939,), (1339870949,), (1339871004,), (1339869976,), (1339869984,), (1339869990,), (1339869998,), (1339870005,), (1339870013,), (1339870034,), (1339870042,), (1339870054,), (1339870064,), (1339870071,), (1339870077,), (1339870091,), (1339870096,), (1339870149,), (1339870154,), (1339870159,), (1339870164,), (1339870185,), (1339870189,), (1339870194,), (1339870199,), (1339870203,), (1339870206,), (1339870259,), (1339870261,), (1339870262,), (1339870270,), (1339870656,), (1339870666,), (1339870685,), (1339870733,), (1339870777,), (1339870791,), (1339870809,), (1339870812,), (1339870815,), (1339870823,), (1339870886,), (1339870891,), (1339870895,), (1339870897,), (1339870902,), (1339870981,), (1339870983,), (1339870986,), (1339870989,), (1339870993,), (1339870996,), (1339871019,), (1339871031,), (1339871039,), (1339871114,), (1339871119,), (1339871190,), (1339871296,), (1339871356,), (1339871359,), (1339871363,), (1339871434,), (1339871409,), (1339871412,), (1339871416,), (1339871422,), (1339871431,), (1339871464,), (1339871468,), (1339871470,), (1339871958,), (1339871961,), (1339871964,), (1339871967,), (1339871970,), (1339871971,), (1339872009,), (1339872018,), (1339872024,), (1339872026,), (1339872029,), (1339872085,), (1339872092,), (1339872096,), (1339872138,), (1339872144,), (1339872161,), (1339872166,), (1339872170,), (1339872173,), (1339872255,), (1339872265,), (1339872275,), (1339872279,), (1339872283,), (1339872286,), (1339872302,), (1339872306,), (1339872311,), (1339872321,), (1339872350,), (1339872358,), (1339872368,), (1339872373,), (1339872387,), (1339872401,), (1339872407,), (1339872411,), (1339872412,), (1339872413,), (1339872450,), (1339872458,), (1339872469,), (1339872477,), (1339872481,), (1339872499,), (1339872504,), (1339872510,), (1339872515,), (1339872522,), (1339872526,), (1339872591,), (1339872597,), (1339872603,), (1339872612,), (1339872619,), (1339872646,), (1339872652,), (1339872658,), (1339872665,), (1339872669,), (1339872678,), (1339872713,), (1339872717,), (1339872722,), (1339872728,), (1339872731,), (1339872733,), (1339872802,), (1339872785,), (1339872790,), (1339872796,), (1339873112,), (1339873173,), (1339873179,), (1339873185,), (1339873190,), (1339873239,), (1339873387,), (1339873392,), (1339873398,), (1339873404,), (1339873439,), (1339873479,), (1339873484,), (1339873489,), (1339873492,), (1339873494,), (1339873650,), (1339873658,), (1339873661,), (1339873669,), (1339873708,), (1339873716,), (1339873723,), (1339873728,), (1339873732,), (1339873734,), (1339873757,), (1339873761,), (1339873769,), (1339873779,), (1339873784,), (1339873828,), (1339873837,), (1339873842,), (1339873851,), (1339873854,), (1339873878,), (1339873883,), (1339873889,), (1339873894,), (1339873976,), (1339873981,), (1339873987,), (1339873994,), (1339873998,), (1339874001,), (1339874035,), (1339874046,), (1339874051,), (1339874056,), (1339874302,), (1339874310,), (1339874318,), (1339874326,), (1339874330,), (1339874388,), (1339874398,), (1339874402,), (1339874404,), (1339874410,), (1339874422,), (1339875194,), (1339875198,), (1339875201,), (1339875204,), (1339875207,), (1339875210,), (1339875236,), (1339875253,), (1339875274,), (1339875264,), (1339875267,), (1339875269,), (1339875273,), (1339875301,), (1339875310,), (1339875445,), (1339875630,), (1339875632,), (1339875635,), (1339875788,), (1339875790,), (1339875794,), (1339875798,), (1339875822,), (1339875827,), (1339875839,), (1339875853,), (1339875856,), (1339875859,), (1339875901,), (1339875905,), (1339875909,), (1339875912,), (1339875964,), (1339875972,), (1339875975,), (1339875977,), (1339875979,), (1339875980,), (1339876015,), (1339876022,), (1339876031,), (1339876040,), (1339876076,), (1339876078,), (1339876081,), (1339876084,), (1339876086,), (1339876087,), (1339876155,), (1339876164,), (1339876169,), (1339876172,), (1339876214,), (1339876218,), (1339876220,), (1339876222,), (1339876224,), (1339876262,), (1339876271,), (1339876282,), (1339876286,), (1339876288,), (1339876315,), (1339876346,), (1339876349,), (1339876351,), (1339876353,), (1339876384,), (1339876389,), (1339876398,), (1339876411,), (1339876414,), (1339876416,), (1339876430,), (1339876433,), (1339876438,), (1339876448,), (1339876497,), (1339876503,), (1339876515,), (1339876527,), (1339876530,), (1339876532,), (1339876575,), (1339876560,), (1339876563,), (1339876567,), (1339876571,), (1339876775,), (1339876849,), (1339876859,), (1339876885,), (1339876889,), (1339876982,), (1339876989,), (1339876995,), (1339877000,), (1339877003,), (1339877012,), (1339877082,), (1339877091,), (1339877095,), (1339877127,), (1339877132,), (1339877183,), (1339877221,), (1339877285,), (1339877289,), (1339877387,), (1339877393,), (1339877398,), (1339877446,), (1339877459,), (1339877536,), (1339877540,), (1339877544,), (1339877547,), (1339877550,), (1339877552,), (1339877599,), (1339877601,), (1339877603,), (1339877605,), (1339877608,), (1339877756,), (1339877764,), (1339877766,), (1339877769,), (1339877778,), (1339877781,), (1339877797,), (1339877799,), (1339877800,), (1339877805,), (1339877812,), (1339877874,), (1339877924,), (1339877934,), (1339877942,), (1339877945,), (1339877946,), (1339877973,), (1339877978,), (1339877981,), (1339877984,), (1339878095,), (1339878081,), (1339878084,), (1339878087,), (1339878091,), (1339878378,), (1339878382,), (1339878390,), (1339878394,), (1339878397,), (1339878400,), (1339878437,), (1339878440,), (1339878444,), (1339878448,), (1339878452,), (1339878569,), (1339878575,), (1339878580,), (1339878581,), (1339878583,), (1339878585,), (1339878591,), (1339878595,), (1339878601,), (1339878607,), (1339878610,), (1339878661,), (1339878737,), (1339878823,), (1339878912,), (1339878935,), (1339878938,), (1339878945,), (1339878946,), (1339878948,), (1339878949,), (1339878952,), (1339878957,), (1339878965,), (1339878966,), (1339878975,), (1339878977,), (1339878981,), (1339878983,), (1339878986,), (1339879027,), (1339879028,), (1339879030,), (1339879031,), (1339879033,), (1339879034,), (1339879036,), (1339879039,), (1339879041,), (1339879045,), (1339879051,), (1339879052,), (1339879055,), (1339879058,), (1339879062,), (1339879064,), (1339879067,), (1339879072,), (1339879075,), (1339879091,), (1339879124,), (1339879127,), (1339879129,), (1339879131,), (1339879134,), (1339879144,), (1339879147,), (1339879170,), (1339879172,), (1339879203,), (1339879215,), (1339879218,), (1339879232,), (1339879539,), (1339879545,), (1339879547,), (1339879548,), (1339879551,), (1339879584,), (1339879588,), (1339879592,), (1339879596,), (1339879628,), (1339879633,), (1339879636,), (1339879638,), (1339879640,), (1339879682,), (1339879817,), (1339879821,), (1339879824,), (1339879839,), (1339879843,), (1339879857,), (1339879901,), (1339879913,), (1339879917,), (1339879920,), (1339879700,), (1339879702,), (1339879704,), (1339879757,), (1339879761,), (1339879773,), (1339879783,), (1339879796,), (1339879799,), (1339879806,), (1339879809,), (1339879813,), (1339879831,), (1339879832,), (1339879833,), (1339879835,), (1339879907,), (1339879910,), (1339879914,), (1339879918,), (1339879924,), (1339879926,), (1339879957,), (1339880657,), (1339880718,), (1339880722,), (1339880726,), (1339880730,), (1339880734,), (1339880737,), (1339880830,), (1339880833,), (1339880836,), (1339880914,), (1339880926,), (1339880934,), (1339880936,), (1339880939,), (1339880946,), (1339880947,), (1339880949,), (1339880954,), (1339880957,), (1339881002,), (1339881008,), (1339881011,), (1339881013,), (1339881015,), (1339881031,), (1339881035,), (1339881038,), (1339881041,), (1339881043,), (1339881044,), (1339881068,), (1339881077,), (1339881081,), (1339881085,), (1339881100,), (1339881105,), (1339881114,), (1339881127,), (1339881131,), (1339881195,), (1339881428,), (1339881430,), (1339881432,), (1339881434,), (1339881449,), (1339881498,), (1339881509,), (1339881519,), (1339881522,), (1339881540,), (1339881556,), (1339881804,), (1339881806,), (1339881851,), (1339881853,), (1339881854,), (1339881953,), (1339928310,), (1339928315,), (1339928358,), (1339928360,), (1339928368,), (1339928394,), (1339928398,), (1339928401,), (1339928482,), (1339928547,), (1339928606,), (1339928644,), (1339929116,), (1339929118,), (1339929120,), (1339929123,), (1339929133,), (1339929142,), (1339929274,), (1339929277,), (1339929283,), (1339929309,), (1339929319,), (1339929381,), (1339929382,), (1339929384,), (1339929385,), (1339929390,), (1339929391,), (1339929454,), (1339929471,), (1339929554,), (1339929563,), (1339929720,), (1339929722,), (1339929740,), (1339929743,), (1339929756,), (1339929770,), (1339929903,), (1339929895,), (1339929900,), (1339929902,), (1339929952,), (1339930020,), (1339930087,), (1339930149,), (1339930217,), (1339930246,), (1339930318,), (1339930320,), (1339930433,), (1339930649,), (1339930673,), (1339930819,), (1339930849,), (1339930854,), (1339930855,), (1339930859,), (1339930901,), (1339930904,), (1339930906,), (1339930911,), (1339930916,), (1339930923,), (1339931193,), (1339931199,), (1339931206,), (1339931312,), (1339931315,), (1339931317,), (1339931327,), (1339931331,), (1339931334,), (1339931431,), (1339931458,), (1339931462,), (1339931465,), (1339931473,), (1339931485,), (1339931607,), (1339931610,), (1339931615,), (1339931619,), (1339931798,), (1339931904,), (1339931908,), (1339931912,), (1339931920,), (1339931922,), (1339932095,), (1339932106,), (1339932114,), (1339932117,), (1339932157,), (1339932171,), (1339932183,), (1339932185,), (1339932188,), (1339932192,), (1339932231,), (1339932243,), (1339932251,), (1339932256,), (1339932263,), (1339932328,), (1339932332,), (1339932336,), (1339932338,), (1339932379,), (1339932382,), (1339932383,), (1339932388,), (1339932394,), (1339932433,), (1339932419,), (1339932422,), (1339932425,), (1339932429,), (1339932503,), (1339932508,), (1339932511,), (1339932584,), (1339932586,), (1339932674,), (1339932711,), (1339933246,), (1339933253,), (1339933400,), (1339933444,), (1339933450,), (1339933600,), (1339933603,), (1339933606,), (1339933824,), (1339933834,), (1339933837,), (1339933847,), (1339933851,), (1339933860,), (1339933921,), (1339933924,), (1339933927,), (1339933929,), (1339933955,), (1339933959,), (1339933965,), (1339933970,), (1339933974,), (1339933982,), (1339934093,), (1339934098,), (1339934105,), (1339934107,), (1339934175,), (1339934179,), (1339934207,), (1339934311,), (1339934316,), (1339934391,), (1339934388,), (1339934741,), (1339934745,), (1339934807,), (1339934810,), (1339934813,), (1339934883,), (1339934887,), (1339934890,), (1339934893,), (1339934931,), (1339935020,), (1339935450,), (1339935452,), (1339935639,), (1339935642,), (1339935645,), (1339935658,), (1339935696,), (1339935708,), (1339935912,), (1339935923,), (1339935961,), (1339935972,), (1339936073,), (1339936075,), (1339936076,), (1339936079,), (1339936083,), (1339936087,), (1339936110,), (1339936114,), (1339936116,), (1339936119,), (1339936124,), (1339936168,), (1339936177,), (1339936183,), (1339936231,), (1339936261,), (1339936264,), (1339936282,), (1339936285,), (1339936287,), (1339936306,), (1339936309,), (1339936312,), (1339936377,), (1339936388,), (1339936390,), (1339936397,), (1339936473,), (1339936475,), (1339936477,), (1339936481,), (1339936484,), (1339936494,), (1339936585,), (1339936591,), (1339936602,), (1339936612,), (1339936621,), (1339936908,), (1339936658,), (1339936783,), (1339936897,), (1339937002,), (1339937005,), (1339937056,), (1339937057,), (1339937071,), (1339937078,), (1339937100,), (1339937104,), (1339937108,), (1339937152,), (1339937156,), (1339937165,), (1339937172,), (1339937179,), (1339937183,), (1339937214,), (1339937220,), (1339937226,), (1339937229,), (1339938012,), (1339938025,), (1339938035,), (1339938042,), (1339938049,), (1339938057,), (1339938236,), (1339938270,), (1339938300,), (1339938333,), (1339938342,), (1339938345,), (1339938405,), (1339938415,), (1339938422,), (1339938430,), (1339938466,), (1339938470,), (1339938474,), (1339938477,), (1339938484,), (1339938487,), (1339938503,), (1339938505,), (1339938508,), (1339938510,), (1339938514,), (1339938680,), (1339938683,), (1339938686,), (1339938696,), (1339938737,), (1339938741,), (1339938764,), (1339938849,), (1339938916,), (1339938921,), (1339939052,), (1339939056,), (1339939063,), (1339939072,), (1339939132,), (1339939193,), (1339939247,), (1339939293,), (1339939339,), (1339939365,), (1339939890,), (1339939931,), (1339939987,), (1339940002,), (1339940577,), (1339940567,), (1339940569,), (1339940570,), (1339940571,), (1339940574,), (1339940784,), (1339940788,), (1339940791,), (1339940794,), (1339940796,), (1339941064,), (1339941084,), (1339941089,), (1339941093,), (1339941117,), (1339941133,), (1339941195,), (1339941214,), (1339941217,), (1339941221,), (1339941251,), (1339941254,), (1339941257,), (1339941261,), (1339941268,), (1339941971,), (1339941972,), (1339941977,), (1339941981,), (1339941985,), (1339942415,), (1339942423,), (1339942444,), (1339942485,), (1339942494,), (1339942694,), (1339942718,), (1339942723,), (1339942728,), (1339942732,), (1339942736,), (1339942751,), (1339942753,), (1339942756,), (1339942760,), (1339942763,), (1339942782,), (1339942785,), (1339942787,), (1339942790,), (1339942793,), (1339942797,), (1339942810,), (1339942813,), (1339942816,), (1339942858,), (1339942862,), (1339942866,), (1339942870,), (1339942874,), (1339943160,), (1339943168,), (1339943175,), (1339943190,), (1339943193,), (1339952469,), (1339952471,), (1339952478,), (1339952487,), (1339952489,), (1339952500,), (1339952510,), (1339952523,), (1339952528,), (1339948563,), (1339948568,), (1339948572,), (1339948581,), (1339948584,), (1339948586,), (1339948587,), (1339948588,), (1339948590,), (1339948625,), (1339948626,), (1339948627,), (1339948636,), (1339948643,), (1339948645,), (1339948716,), (1339948758,), (1339948810,), (1339948821,), (1339948824,), (1339948827,), (1339948828,), (1339948863,), (1339948932,), (1339948936,), (1339948937,), (1339948974,), (1339949087,), (1339949286,), (1339950076,), (1339950081,), (1339950411,), (1339950426,), (1339950430,), (1339950432,), (1339950438,), (1339950505,), (1339950593,), (1339950601,), (1339950626,), (1339950641,), (1339950644,), (1339950647,), (1339950650,), (1339950651,), (1339950658,), (1339950668,), (1339950680,), (1339950690,), (1339950696,), (1339950702,), (1339950709,), (1339950715,), (1339950725,), (1339950727,), (1339950734,), (1339950737,), (1339950753,), (1339950760,), (1339950768,), (1339950776,), (1339950780,), (1339950782,), (1339950786,), (1339950788,), (1339950792,), (1339950796,), (1339950802,), (1339950808,), (1339950833,), (1339950839,), (1339950841,), (1339950844,), (1339950847,), (1339950848,), (1339950854,), (1339948555,), (1339948557,), (1339948560,), (1339948597,), (1339948600,), (1339948604,), (1339948609,), (1339948612,), (1339948618,), (1339948671,), (1339948687,), (1339948691,), (1339948703,), (1339948706,), (1339948723,), (1339948724,), (1339948726,), (1339948749,), (1339948754,), (1339948890,), (1339948901,), (1339948903,), (1339948907,), (1339948913,), (1339948919,), (1339949667,), (1339949914,), (1339950058,), (1339950069,), (1339950111,), (1339950120,), (1339950121,), (1339950124,), (1339950129,), (1339950133,), (1339950507,), (1339950569,), (1339950582,), (1339950586,), (1339960221,), (1339950857,), (1339950862,), (1339950867,), (1339950872,), (1339950878,), (1339950909,), (1339950918,), (1339950919,), (1339950925,), (1339950929,), (1339950941,), (1339950959,), (1339950966,), (1339950982,), (1339950990,), (1339950994,), (1339950997,), (1339951012,), (1339951020,), (1339951022,), (1339951024,), (1339951032,), (1339951060,), (1339951101,), (1339951109,), (1339951135,), (1339951138,), (1339951139,), (1339951152,), (1339951173,), (1339951182,), (1339951200,), (1339951205,), (1339951213,), (1339951219,), (1339951232,), (1339951235,), (1339951237,), (1339951259,), (1339951261,), (1339951263,), (1339951268,), (1339951273,), (1339951278,), (1339951284,), (1339951338,), (1339951447,), (1339951554,), (1339951588,), (1339951616,), (1339951736,), (1339951742,), (1339951746,), (1339951763,), (1339951766,), (1339951771,), (1339951774,), (1339951778,), (1339951780,), (1339951801,), (1339951807,), (1339951854,), (1339951866,), (1339951873,), (1339951880,), (1339951916,), (1339951927,), (1339951939,), (1339951956,), (1339951964,), (1339951972,), (1339952001,), (1339952007,), (1339952038,), (1339952045,), (1339952050,), (1339952064,), (1339952070,), (1339952115,), (1339952123,), (1339952130,), (1339952142,), (1339952147,), (1339952172,), (1339952181,), (1339952194,), (1339952202,), (1339952204,), (1339952207,), (1339952224,), (1339952228,), (1339952233,), (1339952237,), (1339952243,), (1339952247,), (1339952264,), (1339952267,), (1339952330,), (1339952335,), (1339952341,), (1339952350,), (1339952373,), (1339952374,), (1339952380,), (1339952382,), (1339952391,), (1339952393,), (1339952399,), (1339952401,), (1339952404,), (1339952405,), (1339952408,), (1339952409,), (1339952422,), (1339952426,), (1339952433,), (1339952439,), (1339952452,), (1339952455,), (1339959944,), (1339960260,), (1339960264,), (1339960267,), (1339960269,), (1339960271,), (1339960272,), (1339960312,), (1339960316,), (1339960319,), (1339960322,), (1339960531,), (1339960598,), (1339960609,), (1339960611,), (1339960618,), (1339960621,), (1339960624,), (1339960752,), (1339960758,), (1339960765,), (1339960769,), (1339960843,), (1339960853,), (1339960861,), (1339960868,), (1339960877,), (1339960893,), (1339960898,), (1339960902,), (1339960906,), (1339960910,), (1339960942,), (1339960924,), (1339960931,), (1339960935,), (1339961047,), (1339961051,), (1339961053,), (1339961056,), (1339961063,), (1339961066,), (1339961090,), (1339961094,), (1339961296,), (1339962144,), (1339962153,), (1339962155,), (1339962217,), (1339962337,), (1339962365,), (1339962476,), (1339962481,), (1339962484,), (1339962488,), (1339962491,), (1339962531,), (1339962591,), (1339962611,), (1339962613,), (1339962614,), (1339962649,), (1339962653,), (1339962656,), (1339962658,), (1339962660,), (1339962662,), (1339962704,), (1339962707,), (1339962735,), (1339962737,), (1339962740,), (1339962789,), (1339962799,), (1339962801,), (1339962804,), (1339962860,), (1339962862,), (1339962865,), (1339962869,), (1339962872,), (1339962875,), (1339962900,), (1339962903,), (1339962907,), (1339962911,), (1339962992,), (1339962980,), (1339962984,), (1339962988,), (1339963162,), (1339963186,), (1339963189,), (1339963205,), (1339963212,), (1339963243,), (1339963246,), (1339963259,), (1339963261,), (1339963346,), (1339963348,), (1339963350,), (1339963351,), (1339963353,), (1339963355,), (1339963428,), (1339963431,), (1339963434,), (1339963439,), (1339963441,), (1339963482,), (1339963545,), (1339963548,), (1339963551,), (1339963557,), (1339963568,), (1339963789,), (1339963794,), (1339963798,), (1339963804,), (1339963809,), (1339963826,), (1339964068,), (1339964070,), (1339964073,), (1339964178,), (1339964180,), (1339964182,), (1339964186,), (1339964188,), (1339964194,), (1339964258,), (1339964260,), (1339964267,), (1339964302,), (1339964360,), (1339964362,), (1339964364,), (1339964366,), (1339964369,), (1339964371,), (1339964411,), (1339964470,), (1339964557,), (1339964558,), (1339964590,), (1339964592,), (1339964597,), (1339964610,), (1339964758,), (1339964760,), (1339964762,), (1339964765,), (1339964822,), (1339964828,), (1339964834,), (1339964837,), (1339964957,), (1339964939,), (1339964950,), (1339964954,), (1339965136,), (1339965258,), (1339965260,), (1339965266,), (1339965315,), (1339965330,), (1339965445,), (1339965450,), (1339965501,), (1339965505,), (1339965510,), (1339965516,), (1339965558,), (1339965566,), (1339965570,), (1339965591,), (1339965627,), (1339965629,), (1339965632,), (1339965635,), (1339965644,), (1339965650,), (1339965687,), (1339965690,), (1339965693,), (1339965695,), (1339965699,), (1339965726,), (1339965729,), (1339965737,), (1339965747,), (1339965752,), (1339965755,), (1339965915,), (1339965917,), (1339965920,), (1339965969,), (1339965971,), (1339965973,), (1339965976,), (1339965979,), (1339965985,), (1339966009,), (1339966011,), (1339966013,), (1339966018,), (1339966023,), (1339966028,), (1339966071,), (1339966074,), (1339966076,), (1339966079,), (1339966197,), (1339966205,), (1339966208,), (1339966212,), (1339966216,), (1339966251,), (1339966253,), (1339966254,), (1339966256,), (1339966302,), (1339966304,), (1339966308,), (1339966315,), (1339966320,), (1339966379,), (1339966380,), (1339966381,), (1339966400,), (1339966481,), (1339966436,), (1339966439,), (1339966452,), (1339966456,), (1339966474,), (1339966530,), (1339966553,), (1339966555,), (1339966558,), (1339966573,), (1339966615,), (1339966621,), (1339966636,), (1339966641,), (1339966647,), (1339966652,), (1339966683,), (1339966686,), (1339966695,), (1339966696,), (1339966895,), (1339966899,), (1339966903,), (1339966907,), (1339966975,), (1339967151,), (1339967203,), (1339967204,), (1339967212,), (1339967250,), (1339967253,), (1339967267,), (1339967314,), (1339967317,), (1339967319,), (1339967322,), (1339968071,), (1339968075,), (1339968085,), (1339968428,), (1339968431,), (1339968434,), (1339968479,), (1339968482,), (1339968525,), (1339968526,), (1339968875,), (1339968878,), (1339968881,), (1339968884,), (1339968887,), (1339968892,), (1339968914,), (1339968915,), (1339968917,), (1339968919,), (1339968922,), (1339968925,), (1339968957,), (1339968986,), (1339968992,), (1339969090,), (1339969094,), (1339969102,), (1339969269,), (1339969276,), (1339969281,), (1339969286,), (1339969289,), (1339969330,), (1339969303,), (1339969315,), (1339969372,), (1339969375,), (1339969378,), (1339969381,), (1339969383,), (1339969387,), (1339969406,), (1339969418,), (1339969426,), (1339969436,), (1339969440,), (1339969444,), (1339969483,), (1339969486,), (1339969489,), (1339969491,), (1339969517,), (1339969521,), (1339969611,), (1339969925,), (1339969994,), (1339970001,), (1339970173,), (1339970176,), (1339970178,), (1339970213,), (1339970219,), (1339970225,), (1339970243,), (1339970256,), (1339970269,), (1339970889,), (1339970891,), (1339970937,), (1339970944,), (1339970949,), (1339970954,), (1339970960,), (1339970990,), (1339970993,), (1339970996,), (1339971000,), (1339971036,), (1339971064,), (1339971068,), (1339971070,), (1339971116,), (1339971118,), (1339971120,), (1339971124,), (1339971172,), (1339971149,), (1339971153,), (1339971159,), (1339971164,), (1339971168,), (1339971346,), (1339971350,), (1339971353,), (1339971420,), (1339971429,), (1339971434,), (1339971522,), (1339971528,), (1339971532,), (1339971534,), (1339971618,), (1339971621,), (1339971624,), (1339971626,), (1339971628,), (1339971661,), (1339971665,), (1339971669,), (1339971673,), (1339971676,), (1339971677,), (1339971718,), (1339971723,), (1339971728,), (1339971751,), (1339971755,), (1339971758,), (1339971762,), (1339971764,), (1339971765,), (1339972095,), (1339972105,), (1339972113,), (1339972115,), (1339972160,), (1339972163,), (1339972165,), (1339972167,), (1339972218,), (1339972225,), (1339972228,), (1339972287,), (1339972290,), (1339972292,), (1339972294,), (1339972298,), (1339972301,), (1339972727,), (1339972820,), (1339972907,), (1339973360,), (1339973362,), (1339973370,), (1339973376,), (1339973378,), (1339973383,), (1339973416,), (1339973417,), (1339973421,), (1339973426,), (1339973429,), (1339973467,), (1339973470,), (1339973472,), (1339973478,), (1339973484,), (1339973557,), (1339973528,), (1339973529,), (1339973530,), (1339973532,), (1339973534,), (1339973602,), (1339973620,), (1339973623,), (1339973626,), (1339973627,), (1339973653,), (1339973677,), (1339973678,), (1339973679,), (1339973989,), (1339973991,), (1339973993,), (1339973999,), (1339974003,), (1339974006,), (1339974048,), (1339974050,), (1339974052,), (1339974054,), (1339974057,), (1339974356,), (1339974372,), (1339974374,), (1339974378,), (1339974452,), (1339974454,), (1339974460,), (1339974482,), (1339974484,), (1339974527,), (1339974532,), (1339974536,), (1339974540,), (1339974545,), (1339974548,), (1339974565,), (1339974567,), (1339974570,), (1339974611,), (1339974617,), (1339974620,), (1339974626,), (1339974631,), (1339974657,), (1339974660,), (1339974663,), (1339974669,), (1339981314,), (1339981309,), (1339981311,), (1339981352,), (1339981391,), (1339981426,), (1339981638,), (1339981646,), (1339981675,), (1339981678,), (1339981681,), (1339981685,), (1339981688,), (1339981711,), (1339981713,), (1339981715,), (1339981718,), (1339981720,), (1339981722,), (1339981794,), (1339982097,), (1339982224,), (1339982227,), (1339982231,), (1339982233,), (1339982236,), (1339982425,), (1339982430,), (1339982433,), (1339982438,), (1339982442,), (1339982466,), (1339982469,), (1339982474,), (1339982480,), (1339982513,), (1339982516,), (1339982520,), (1339982527,), (1339982534,), (1339982797,), (1339982566,), (1339982579,), (1339982587,), (1339982610,), (1339982708,), (1339983498,), (1339983502,), (1339983525,), (1339983535,), (1339983753,), (1339983815,), (1339983823,), (1339983827,), (1339983831,), (1339983835,), (1339983936,), (1339983956,), (1339984209,), (1339984214,), (1339984222,), (1339984718,), (1339984722,), (1339984725,), (1339984761,), (1339985250,), (1339985275,), (1339985282,), (1339985309,), (1339985314,), (1339985318,), (1339985471,), (1339985476,), (1339985489,), (1339985541,), (1339985543,), (1339985545,), (1339985549,), (1339985556,), (1339985565,), (1339985686,), (1339985727,), (1339985752,), (1339985757,), (1339985760,), (1339985767,), (1339985804,), (1339985809,), (1339985812,), (1339985817,), (1339985857,), (1339985864,), (1339985865,), (1339985867,), (1339985869,), (1339985875,), (1339985940,), (1339985946,), (1339985952,), (1339985957,), (1339986021,), (1339986029,), (1339986075,), (1339986076,), (1339986078,), (1339986080,), (1339986150,), (1339986152,), (1339986154,), (1339986181,), (1339986184,), (1339986187,), (1339986234,), (1339986241,), (1339986246,), (1339986250,), (1339986294,), (1339986281,), (1339986283,), (1339986286,), (1339986289,), (1339986337,), (1339986338,), (1339986339,), (1339986341,), (1339986342,), (1339986372,), (1339986374,), (1339986376,), (1339986379,), (1339986382,), (1339986421,), (1339986422,), (1339986543,), (1339986741,), (1339986789,), (1339986796,), (1339986993,), (1339987013,), (1339987016,), (1339987030,), (1339987086,), (1339987087,), (1339987088,), (1339987090,), (1339987092,), (1339987095,), (1339987124,), (1339987129,), (1339987136,), (1339987138,), (1339987140,), (1339987494,), (1339987495,), (1339987496,), (1339987512,), (1339987514,), (1339987523,), (1339987608,), (1339987611,), (1339987614,), (1339987650,), (1339987935,), (1339987944,), (1339987951,), (1339987967,), (1339987970,), (1339987976,), (1339988014,), (1339988058,), (1339988060,), (1339988074,), (1339988077,), (1339988091,), (1339988123,), (1339988130,), (1339988138,), (1339988190,), (1339988194,), (1339988197,), (1339988200,), (1339988203,), (1339988205,), (1339988328,), (1339988330,), (1339988333,), (1339988337,), (1339988341,), (1339988346,), (1339988393,), (1339988400,), (1339988411,), (1339988418,), (1339988581,), (1339988521,), (1339988525,), (1339988534,), (1339988574,), (1339988578,), (1339988790,), (1339988795,), (1339988864,), (1339988875,), (1339988880,), (1339988970,), (1339988975,), (1339988996,), (1339989058,), (1339989119,), (1339989124,), (1339989127,), (1339989131,), (1339989136,), (1339989165,), (1339989168,), (1339989170,), (1339989172,), (1339989307,), (1339989310,), (1339989314,), (1339989319,), (1339989324,), (1339989354,), (1339989360,), (1339989362,), (1339989366,), (1339989368,), (1339989606,), (1339989620,), (1339989623,), (1339989627,), (1339989630,), (1339989790,), (1339989809,), (1339989812,), (1339989816,), (1339989824,), (1339989833,), (1339989856,), (1339989859,), (1339989863,), (1339989866,), (1339989896,), (1339989915,), (1339989917,), (1339989919,), (1339989922,), (1339989927,), (1339989999,), (1339990002,), (1339990020,), (1339990078,), (1339990080,), (1339990082,), (1339990091,), (1339990102,), (1339990104,), (1339990140,), (1339990153,), (1339990161,), (1339990167,), (1339990183,), (1339990200,), (1339990209,), (1339990218,), (1339990262,), (1339990237,), (1339990252,), (1339990257,), (1339990291,), (1339990296,), (1339990303,), (1339990308,), (1339990312,), (1339990340,), (1339990343,), (1339990347,), (1339990350,), (1339990355,), (1339990396,), (1339990401,), (1339990405,), (1339990502,), (1339990744,), (1339990795,), (1339990979,), (1339990989,), (1339990994,), (1339990998,), (1339991032,), (1339991037,), (1339991040,), (1339991047,), (1339991051,), (1339991082,), (1339991086,), (1339991093,), (1339991101,), (1339991105,), (1339991109,), (1339991139,), (1339991143,), (1339991147,), (1339991152,), (1339991157,), (1339991183,), (1339991186,), (1339991190,), (1339991195,), (1339991199,), (1339991221,), (1339991250,), (1339991253,), (1339991256,), (1339991261,), (1339991350,), (1339991358,), (1339991362,), (1339991366,), (1339991371,), (1339991383,), (1339991417,), (1339991419,), (1339991421,), (1339991452,), (1339991453,), (1339991454,), (1339991456,), (1339991458,), (1339991462,), (1339991597,), (1339991605,), (1339991607,), (1339991610,), (1339991647,), (1339991651,), (1339991724,), (1339991725,), (1339991726,), (1339991733,), (1339992177,), (1339992165,), (1339992167,), (1339992169,), (1339992171,), (1339992237,), (1339992246,), (1339992247,), (1339992248,), (1339992251,), (1339992304,), (1339992306,), (1339992308,), (1339992335,), (1339992338,), (1339992344,), (1339992351,), (1339992356,), (1339992378,), (1339992451,), (1339992456,), (1339992458,), (1339992462,), (1339992496,), (1339993237,), (1339993238,), (1339993239,), (1339993537,), (1339993539,), (1339993540,), (1339993547,), (1339993549,), (1339993551,), (1339993857,), (1339993859,), (1339993872,), (1339993874,), (1339993875,), (1339993978,), (1339993988,), (1339993990,), (1339993993,), (1339993995,), (1339994520,), (1339994545,), (1339994550,), (1339994562,), (1339994574,), (1339994915,), (1339994993,), (1339995072,), (1339995129,), (1339995137,), (1339995144,), (1339995174,), (1339995178,), (1339995182,), (1339995187,), (1339995192,), (1339995197,), (1339995229,), (1339995232,), (1339995236,), (1339995246,), (1339995289,), (1339995300,), (1339995308,), (1339995313,), (1339995319,), (1339995327,), (1339995361,), (1339995363,), (1339995366,), (1339995370,), (1339995375,), (1339995463,), (1339995434,), (1339995437,), (1339995443,), (1339995447,), (1339995455,), (1339995484,), (1339995488,), (1339995493,), (1339995556,), (1339995559,), (1339995562,), (1339995590,), (1339995820,), (1339996303,), (1339996396,), (1339996560,), (1339996655,), (1339996997,), (1339997006,), (1339997047,), (1339997142,), (1339997367,), (1339997369,), (1339997372,), (1339997376,), (1339997380,), (1339997386,), (1339997714,), (1339997718,), (1339997721,), (1339997726,), (1339997733,), (1339997749,), (1339997878,), (1339997883,), (1339997885,), (1339997936,), (1339997940,), (1339997943,), (1339997948,), (1339997952,), (1339997957,), (1339998004,), (1339998006,), (1339998008,), (1339998080,), (1339998116,), (1339998118,), (1339998121,), (1339998149,), (1339998150,), (1339998152,), (1339998153,), (1339998155,), (1339998184,), (1339998187,), (1339998189,), (1339998191,), (1339998193,), (1339998242,), (1339998246,), (1339998248,), (1339998297,), (1339998303,), (1339998305,), (1339998308,), (1339998310,), (1339998313,), (1339998839,), (1339998690,), (1339998737,), (1339998808,), (1340000914,), (1340000919,), (1340000926,), (1340001096,), (1340001101,), (1340001107,), (1340001113,), (1340001118,), (1340001124,), (1340001149,), (1340001150,), (1340001202,), (1340001206,), (1340001211,), (1340001215,), (1340001239,), (1340001242,), (1340001247,), (1340001292,), (1340001297,), (1340001301,), (1340001311,), (1340001318,), (1340001359,), (1340001361,), (1340001363,), (1340001366,), (1340001370,), (1340001375,), (1340001398,), (1340001404,), (1340001416,), (1340001421,), (1340001425,), (1340001780,), (1340001872,), (1340001956,), (1340002049,), (1340002154,), (1340002582,), (1340002585,), (1340002593,), (1340002606,), (1340002611,), (1340003098,), (1340003102,), (1340003111,), (1340003120,), (1340003127,), (1340003462,), (1340003455,), (1340003458,), (1340003496,), (1340003500,), (1340003514,), (1340003531,), (1340003536,), (1340003541,), (1340003586,), (1340003594,), (1340003598,), (1340003603,), (1340003608,), (1340003617,), (1340003679,), (1340003682,), (1340004359,), (1340004364,), (1340004370,), (1340004375,), (1340004597,), (1340004679,), (1340004684,), (1340004725,), (1340004746,), (1340004781,), (1340004784,), (1340004788,), (1340004850,), (1340004853,), (1340004856,), (1340004861,), (1340004866,), (1340004892,), (1340004894,), (1340004897,), (1340004946,), (1340004951,), (1340004957,), (1340004991,), (1340004994,), (1340004998,), (1340005003,), (1340005008,), (1340005029,), (1340005033,), (1340005038,), (1340005044,), (1340005052,), (1340005059,), (1340005086,), (1340005092,), (1340005100,), (1340005105,), (1340005131,), (1340005133,), (1340005135,), (1340005140,), (1340005145,), (1340005151,), (1340005183,), (1340005188,), (1340005192,), (1340005245,), (1340005249,), (1340005252,), (1340005259,), (1340005264,), (1340005271,), (1340005327,), (1340005293,), (1340005296,), (1340005299,), (1340005304,), (1340005309,), (1340005383,), (1340005385,), (1340005389,), (1340005413,), (1340005471,), (1340005475,), (1340005479,), (1340005505,), (1340005512,), (1340005519,), (1340005542,), (1340005545,), (1340005758,), (1340006045,), (1340006502,), (1340006505,), (1340006543,), (1340006549,), (1340006554,), (1340006560,), (1340006605,), (1340006609,), (1340006625,), (1340006630,), (1340006646,), (1340006802,), (1340006872,), (1340006953,), (1340007045,), (1340007049,), (1340007053,), (1340007058,), (1340007062,), (1340007068,), (1340007103,), (1340007107,), (1340007111,), (1340007116,), (1340007118,), (1340007122,), (1340007154,), (1340007158,), (1340007160,), (1340007226,), (1340007229,), (1340007246,), (1340007251,), (1340007263,), (1340007286,), (1340007289,), (1340007291,), (1340007295,), (1340008658,), (1340009034,), (1340009037,), (1340009041,), (1340009116,), (1340009127,), (1340009131,), (1340009141,), (1340009146,), (1340009154,), (1340009210,), (1340009306,), (1340009311,), (1340010349,), (1340010351,), (1340010353,), (1340010356,), (1340010358,), (1340010382,), (1340010384,), (1340010386,), (1340010389,), (1340010829,), (1340011154,), (1340011156,), (1340011158,), (1340011160,), (1340011163,), (1340011200,), (1340011209,), (1340011215,), (1340011218,), (1340011221,), (1340011507,), (1340011574,), (1340011677,), (1340012353,), (1340012357,), (1340012360,), (1340012365,), (1340013305,), (1340013310,), (1340013313,), (1340013316,), (1340013319,), (1340013471,), (1340013503,), (1340013520,), (1340013565,), (1340013662,), (1340013846,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27022025': {'nb_upload': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20866040]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111] map_info['map_portfolio_photo'] : {20866040: [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111]} final : True mtd_id 4302 list_pids : [1339842371, 1339841133, 1339841077, 1339841072, 1339841070, 1339841066, 1339841063, 1339841041, 1339841040, 1339841039, 1339841038, 1339841003, 1339840987, 1339840762, 1339840759, 1339840756, 1339840500, 1339840493, 1339840487, 1339840484, 1339840481, 1339840478, 1339839670, 1339839669, 1339839666, 1339839647, 1339839646, 1339839644, 1339839638, 1339839634, 1339839626, 1339839614, 1339839607, 1339839552, 1339839550, 1339839125, 1339839119, 1339839117, 1339839114, 1339839111] Looping around the photos to save general results len do output : 1 /20866040Didn'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, '2622180') ('4302', '20866040', '1339842371', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841133', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841077', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841072', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841070', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841066', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841063', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841041', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841040', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841039', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841038', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339841003', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840987', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840762', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840759', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840756', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840500', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840493', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840487', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840484', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840481', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339840478', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839670', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839669', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839666', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839647', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839646', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839644', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839638', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839634', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839626', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839614', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839607', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839552', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839550', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839125', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839119', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839117', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839114', None, None, None, None, None, '2622180') ('4302', None, None, None, None, None, None, None, '2622180') ('4302', '20866040', '1339839111', None, None, None, None, None, '2622180') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20866040', 'None', None, None, None, None, '2622180'), ('4302', '20866040', '1339842371', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841133', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841077', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841072', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841070', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841066', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841063', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841041', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841040', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841039', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841038', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339841003', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840987', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840762', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840759', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840756', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840500', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840493', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840487', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840484', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840481', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339840478', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839670', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839669', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839666', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839647', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839646', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839644', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839638', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839634', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839626', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839614', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839607', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839552', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839550', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839125', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839119', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839117', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839114', None, None, None, None, None, '2622180'), ('4302', '20866040', '1339839111', None, None, None, None, None, '2622180')] time used for this insertion : 0.08310627937316895 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5939416885375977 time spend to save output : 0.08351588249206543 total time spend for step 5 : 3.677457571029663 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 (2622180) 3.74user 2.30system 0:24.34elapsed 24%CPU (0avgtext+0avgdata 168336maxresident)k 936inputs+38480outputs (0major+84920minor)pagefaults 0swaps